nodebb-theme-harmony 1.2.26 → 1.2.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
<input {{{ if group.system }}}readonly{{{ end }}} class="form-control" name="name" id="name" type="text" value="{group.displayName}" />
|
|
8
8
|
</div>
|
|
9
9
|
<div class="mb-3">
|
|
10
|
-
<label class="form-label" for="
|
|
10
|
+
<label class="form-label" for="description">[[groups:details.description]]</label>
|
|
11
11
|
<textarea class="form-control" name="description" id="description" type="text" maxlength="255">{group.description}</textarea>
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
14
|
<div class="form-check">
|
|
15
|
-
<label class="form-check-label">[[groups:details.private]]</label>
|
|
16
|
-
<input class="form-check-input" name="private" type="checkbox"{{{ if group.private }}} checked{{{ end }}}>
|
|
15
|
+
<label class="form-check-label" for="private">[[groups:details.private]]</label>
|
|
16
|
+
<input class="form-check-input" name="private" id="private" type="checkbox"{{{ if group.private }}} checked{{{ end }}}>
|
|
17
17
|
{{{ if !allowPrivateGroups }}}
|
|
18
18
|
<p class="form-text">
|
|
19
19
|
[[groups:details.private-system-help]]
|
|
@@ -24,27 +24,27 @@
|
|
|
24
24
|
</p>
|
|
25
25
|
</div>
|
|
26
26
|
<div class="form-check">
|
|
27
|
-
<label class="form-check-label">[[groups:details.hidden]]</label>
|
|
28
|
-
<input class="form-check-input" name="hidden" type="checkbox"{{{ if group.hidden }}} checked{{{ end }}}>
|
|
27
|
+
<label class="form-check-label" for="hidden">[[groups:details.hidden]]</label>
|
|
28
|
+
<input class="form-check-input" name="hidden" id="hidden" type="checkbox"{{{ if group.hidden }}} checked{{{ end }}}>
|
|
29
29
|
<p class="form-text text-xs m-0">
|
|
30
30
|
[[groups:details.hidden-help]]
|
|
31
31
|
</p>
|
|
32
32
|
</div>
|
|
33
33
|
|
|
34
34
|
<div class="form-check">
|
|
35
|
-
<label class="form-check-label">[[groups:details.disableJoinRequests]]</label>
|
|
36
|
-
<input class="form-check-input" name="disableJoinRequests" type="checkbox"{{{ if group.disableJoinRequests }}} checked{{{ end }}}>
|
|
35
|
+
<label class="form-check-label" for="disableJoinRequests">[[groups:details.disableJoinRequests]]</label>
|
|
36
|
+
<input class="form-check-input" name="disableJoinRequests" id="disableJoinRequests" type="checkbox"{{{ if group.disableJoinRequests }}} checked{{{ end }}}>
|
|
37
37
|
</div>
|
|
38
38
|
<div class="form-check">
|
|
39
|
-
<label class="form-check-label">[[groups:details.disableLeave]]</label>
|
|
40
|
-
<input class="form-check-input" name="disableLeave" type="checkbox"{{{if group.disableLeave}}} checked{{{end}}}>
|
|
39
|
+
<label class="form-check-label" for="disableLeave">[[groups:details.disableLeave]]</label>
|
|
40
|
+
<input class="form-check-input" name="disableLeave" id="disableLeave" type="checkbox"{{{if group.disableLeave}}} checked{{{end}}}>
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
43
|
<div class="col-12 col-lg-6">
|
|
44
44
|
<div class="d-flex gap-2 align-items-center">
|
|
45
45
|
<div class="form-check">
|
|
46
|
-
<label class="form-check-label">[[groups:details.userTitleEnabled]]</label>
|
|
47
|
-
<input class="form-check-input" name="userTitleEnabled" type="checkbox"{{{ if group.userTitleEnabled }}} checked{{{ end }}}>
|
|
46
|
+
<label class="form-check-label" for="userTitleEnabled">[[groups:details.userTitleEnabled]]</label>
|
|
47
|
+
<input class="form-check-input" name="userTitleEnabled" id="userTitleEnabled" type="checkbox"{{{ if group.userTitleEnabled }}} checked{{{ end }}}>
|
|
48
48
|
</div>
|
|
49
49
|
<span class="badge rounded-1 text-uppercase text-truncate rounded-1 {{{ if !group.userTitleEnabled }}} hide{{{ end }}}" style="max-width:150px; color: {group.textColor}; background-color: {group.labelColor}"><i class="fa {{{ if group.icon }}} {group.icon}{{{ if group.userTitle}}} me-1{{{ end }}}{{{ end }}}"></i><span class="badge-text">{{{ if group.userTitle }}}{group.userTitle}{{{ end }}}</span></span>
|
|
50
50
|
</div>
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
</div>
|
|
68
68
|
<div class="mb-2">
|
|
69
69
|
<label class="form-label text-xs text-muted" for="labelColor" class="badge-color-label">[[groups:details.change-label-colour]]</label>
|
|
70
|
-
<input class="form-control" component="groups/userTitleOption" type="color" name="labelColor" value="{{{ if group.labelColor }}}{group.labelColor}{{{ end }}}" />
|
|
70
|
+
<input class="form-control" component="groups/userTitleOption" type="color" name="labelColor" id="labelColor" value="{{{ if group.labelColor }}}{group.labelColor}{{{ end }}}" />
|
|
71
71
|
</div>
|
|
72
72
|
<div class="mb-2">
|
|
73
|
-
<label class="form-label text-xs text-muted" for="
|
|
74
|
-
<input class="form-control" component="groups/userTitleOption" type="color" name="textColor" value="{{{ if group.textColor }}}{group.textColor}{{{ end }}}" />
|
|
73
|
+
<label class="form-label text-xs text-muted" for="textColor" class="badge-color-label">[[groups:details.change-text-colour]]</label>
|
|
74
|
+
<input class="form-control" component="groups/userTitleOption" type="color" name="textColor" id="textColor" value="{{{ if group.textColor }}}{group.textColor}{{{ end }}}" />
|
|
75
75
|
</div>
|
|
76
76
|
</div>
|
|
77
77
|
</div>
|