+
,
50
);
@@ -281,8 +296,12 @@ export default class EditBadgeModal extends Modal {
.save({
name: this.name(),
icon: this.icon(),
+ image: this.image(),
description: this.description(),
isVisible: this.isVisible(),
+ iconColor: this.iconColor(),
+ backgroundColor: this.backgroundColor(),
+ labelColor: this.labelColor(),
})
.then(
() => this.hide(),
diff --git a/less/Admin.less b/less/Admin.less
index 37a9311..e3938c0 100644
--- a/less/Admin.less
+++ b/less/Admin.less
@@ -42,3 +42,27 @@
}
}
}
+
+.BadgeForm-ColorField {
+ position: relative;
+
+ .BadgeForm-Chosen-Color {
+ position: absolute;
+ width: 14px;
+ height: 14px;
+ bottom: 10px;
+ right: 15px;
+ border-radius: 100%;
+ }
+}
+
+.BadgeForm-IconField {
+ position: relative;
+
+ > span {
+ position: absolute;
+ bottom: 8px;
+ right: 15px;
+ font-size: 20px;
+ }
+}