nodebb-theme-harmony 2.2.53 → 2.2.55

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-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "nodebb-theme-harmony",
3
- "version": "2.2.53",
3
+ "version": "2.2.55",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "nodebb-theme-harmony",
9
- "version": "2.2.53",
9
+ "version": "2.2.55",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@fontsource/inter": "5.2.8",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-harmony",
3
- "version": "2.2.53",
3
+ "version": "2.2.55",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.0.0"
6
6
  },
@@ -70,7 +70,13 @@
70
70
  </div>
71
71
 
72
72
  <div class="tab-pane fade" id="groups-admin" role="tabpanel">
73
- <h3 class="fw-semibold fs-5 mb-3">[[groups:details.owner-options]]</h3>
73
+ <div class="d-flex align-items-center gap-1 justify-content-between mb-3 flex-wrap">
74
+ <h3 class="fw-semibold fs-5">[[groups:details.owner-options]]</h3>
75
+ <div class="d-flex justify-content-end gap-2">
76
+ <button class="btn btn-link btn-sm text-danger border-danger" type="button" data-action="delete">[[groups:details.delete-group]]</button>
77
+ <button class="btn btn-primary btn-sm" type="button" data-action="update">[[global:save-changes]]</button>
78
+ </div>
79
+ </div>
74
80
  <!-- IMPORT partials/groups/admin.tpl -->
75
81
  </div>
76
82
  {{{ end }}}
@@ -1,4 +1,4 @@
1
- <div class="options">
1
+ <div class="options mb-5">
2
2
  <form component="groups/settings" role="form">
3
3
  <div class="row">
4
4
  <div class="col-12 col-lg-6">
@@ -8,10 +8,10 @@
8
8
  </div>
9
9
  <div class="mb-3">
10
10
  <label class="form-label" for="description">[[groups:details.description]]</label>
11
- <textarea class="form-control" name="description" id="description" type="text" maxlength="255">{group.description}</textarea>
11
+ <textarea class="form-control" name="description" id="description" type="text" maxlength="255" rows="5">{group.description}</textarea>
12
12
  </div>
13
13
 
14
- <div class="form-check">
14
+ <div class="form-check mb-3">
15
15
  <label class="form-check-label" for="private">[[groups:details.private]]</label>
16
16
  <input class="form-check-input" name="private" id="private" type="checkbox"{{{ if group.private }}} checked{{{ end }}}>
17
17
  {{{ if !allowPrivateGroups }}}
@@ -23,7 +23,7 @@
23
23
  [[groups:details.private-help]]
24
24
  </p>
25
25
  </div>
26
- <div class="form-check">
26
+ <div class="form-check mb-3">
27
27
  <label class="form-check-label" for="hidden">[[groups:details.hidden]]</label>
28
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">
@@ -31,17 +31,27 @@
31
31
  </p>
32
32
  </div>
33
33
 
34
- <div class="form-check">
34
+ <div class="form-check mb-3">
35
35
  <label class="form-check-label" for="disableJoinRequests">[[groups:details.disableJoinRequests]]</label>
36
36
  <input class="form-check-input" name="disableJoinRequests" id="disableJoinRequests" type="checkbox"{{{ if group.disableJoinRequests }}} checked{{{ end }}}>
37
37
  </div>
38
- <div class="form-check">
38
+ <div class="form-check mb-3">
39
39
  <label class="form-check-label" for="disableLeave">[[groups:details.disableLeave]]</label>
40
40
  <input class="form-check-input" name="disableLeave" id="disableLeave" type="checkbox"{{{if group.disableLeave}}} checked{{{end}}}>
41
41
  </div>
42
+
43
+ <div class="mb-3">
44
+ <label class="form-label" for="memberPostCids">[[groups:details.member-post-cids]]</label>
45
+ <div class="d-flex gap-1">
46
+ <div class="member-post-cids-selector">
47
+ <!-- IMPORT partials/category/selector-dropdown-left.tpl -->
48
+ </div>
49
+ <input id="memberPostCids" type="text" class="form-control form-control-sm" value="{group.memberPostCids}">
50
+ </div>
51
+ </div>
42
52
  </div>
43
53
  <div class="col-12 col-lg-6">
44
- <div class="d-flex gap-2 align-items-center">
54
+ <div class="d-flex gap-2 align-items-center mb-3">
45
55
  <div class="form-check">
46
56
  <label class="form-check-label" for="userTitleEnabled">[[groups:details.userTitleEnabled]]</label>
47
57
  <input class="form-check-input" name="userTitleEnabled" id="userTitleEnabled" type="checkbox"{{{ if group.userTitleEnabled }}} checked{{{ end }}}>
@@ -50,8 +60,8 @@
50
60
  </div>
51
61
 
52
62
 
53
- <div class="mb-2">
54
- <label class="form-label text-xs text-muted" for="userTitle">[[groups:details.badge-text]]</label>
63
+ <div class="mb-3">
64
+ <label class="form-label" for="userTitle">[[groups:details.badge-text]]</label>
55
65
  <div class="d-flex gap-1">
56
66
  <input component="groups/userTitleOption" class="form-control" name="userTitle" id="userTitle" type="text" maxlength="40" value="{group.userTitleEscaped}"{{{ if !group.userTitleEnabled }}} disabled{{{ end }}} />
57
67
  <button component="groups/userTitleOption" type="button" class="btn btn-outline-secondary text-nowrap" data-action="icon-select"{{{ if !group.userTitleEnabled }}} disabled{{{ end }}}>[[groups:details.change-icon]]</button>
@@ -65,31 +75,16 @@
65
75
  </div>
66
76
  </div>
67
77
  </div>
68
- <div class="mb-2">
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" id="labelColor" value="{{{ if group.labelColor }}}{group.labelColor}{{{ end }}}" />
78
+ <div class="mb-3 d-flex align-items-center justify-content-between gap-5">
79
+ <label class="form-label mb-0 text-nowrap" for="labelColor" class="badge-color-label">[[groups:details.change-label-colour]]</label>
80
+ <input class="form-control p-1" component="groups/userTitleOption" type="color" name="labelColor" id="labelColor" value="{{{ if group.labelColor }}}{group.labelColor}{{{ end }}}" style="width: 128px;" />
71
81
  </div>
72
- <div class="mb-2">
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 }}}" />
82
+ <div class="d-flex align-items-center justify-content-between gap-5">
83
+ <label class="form-label mb-0 text-nowrap" for="textColor" class="badge-color-label">[[groups:details.change-text-colour]]</label>
84
+ <input class="form-control p-1" component="groups/userTitleOption" type="color" name="textColor" id="textColor" value="{{{ if group.textColor }}}{group.textColor}{{{ end }}}" style="width: 128px;"/>
75
85
  </div>
76
86
  </div>
77
87
  </div>
78
88
 
79
- <hr />
80
-
81
- <div class="mb-3">
82
- <label class="form-label" for="memberPostCids">[[groups:details.member-post-cids]]</label>
83
- <div class="d-flex gap-1">
84
- <div class="member-post-cids-selector">
85
- <!-- IMPORT partials/category/selector-dropdown-left.tpl -->
86
- </div>
87
- <input id="memberPostCids" type="text" class="form-control form-control-sm" value="{group.memberPostCids}">
88
- </div>
89
- </div>
90
- <div class="d-flex justify-content-end gap-2">
91
- <button class="btn btn-link text-danger" type="button" data-action="delete">[[groups:details.delete-group]]</button>
92
- <button class="btn btn-primary" type="button" data-action="update">[[global:save-changes]]</button>
93
- </div>
94
89
  </form>
95
90
  </div>
@@ -44,8 +44,8 @@
44
44
  {{{ end }}}
45
45
  </div>
46
46
  </div>
47
+ {{{ if !@last }}}
48
+ <hr class="my-1" />
49
+ {{{ end }}}
47
50
  </div>
48
- {{{ if !@last }}}
49
- <hr class="my-1" />
50
- {{{ end }}}
51
51
  {{{ end }}}
@@ -1,4 +1,4 @@
1
- <a data-bs-toggle="dropdown" href="#" role="button" class="nav-link d-flex gap-2 justify-content-between align-items-center position-relative" aria-haspopup="true" aria-expanded="false" aria-label="[[global:header.notifications]]">
1
+ <a data-bs-toggle="dropdown" data-bs-auto-close="outside" href="#" role="button" class="nav-link d-flex gap-2 justify-content-between align-items-center position-relative" aria-haspopup="true" aria-expanded="false" aria-label="[[global:header.notifications]]">
2
2
  <span class="d-flex gap-2 align-items-center text-nowrap truncate-open">
3
3
  <span class="position-relative">
4
4
  <i component="notifications/icon" class="fa fa-fw {{{ if unreadCount.notification}}}fa-bell{{{ else }}}fa-bell-o{{{ end }}} unread-count" data-content="{unreadCount.notification}"></i>
@@ -9,6 +9,11 @@
9
9
  <span component="notifications/count" class="visible-open badge rounded-1 bg-primary {{{ if !unreadCount.notification }}}hidden{{{ end }}}">{unreadCount.notification}</span>
10
10
  </a>
11
11
  <ul class="notifications-dropdown dropdown-menu p-1 shadow" role="menu">
12
+ <li>
13
+ <button type="button" class="btn btn-ghost btn-sm fw-bold" data-filter="all">All</button>
14
+ <button type="button" class="btn btn-ghost btn-sm" data-filter="unread">Unread</button>
15
+ </li>
16
+ <li class="dropdown-divider"></li>
12
17
  <li>
13
18
  <div component="notifications/list" class="list-container notification-list overscroll-behavior-contain pe-1 ff-base ghost-scrollbar">
14
19
  <div class="mb-2 p-1">