nodebb-theme-harmony 1.2.77 → 1.2.79
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/README.md
CHANGED
|
@@ -10,6 +10,9 @@ Issues are tracked in [the main project issue tracker](https://github.com/NodeBB
|
|
|
10
10
|
## Screenshots
|
|
11
11
|
|
|
12
12
|
### Categories
|
|
13
|
+
|
|
14
|
+
_The cards in the header are added by the recent cards plugin. https://github.com/NodeBB-Community/nodebb-plugin-recent-cards_
|
|
15
|
+
|
|
13
16
|
<img height="450" src="screenshots/categories.png">
|
|
14
17
|
|
|
15
18
|
### Recent
|
package/package.json
CHANGED
|
@@ -29,6 +29,26 @@
|
|
|
29
29
|
<input class="form-control" type="date" id="birthday" name="birthday" value="{birthday}" placeholder="mm/dd/yyyy">
|
|
30
30
|
</div>
|
|
31
31
|
|
|
32
|
+
{{{ each customUserFields }}}
|
|
33
|
+
<div class="mb-3">
|
|
34
|
+
<label class="form-label fw-bold" for="{./key}">{./name}</label>
|
|
35
|
+
{{{ if ((./type == "input-text") || (./type == "input-link")) }}}
|
|
36
|
+
<input class="form-control" type="text" id="{./key}" name="{./key}" value="{./value}">
|
|
37
|
+
{{{ end }}}
|
|
38
|
+
|
|
39
|
+
{{{ if (./type == "input-number") }}}
|
|
40
|
+
<input class="form-control" type="number" id="{./key}" name="{./key}" value="{./value}">
|
|
41
|
+
{{{ end }}}
|
|
42
|
+
{{{ if (./type == "select") }}}
|
|
43
|
+
<select class="form-select" id="{./key}" name="{./key}">
|
|
44
|
+
{{{ each ./select-options}}}
|
|
45
|
+
<option value="{./value}" {{{ if ./selected }}}selected{{{ end }}}>{./value}</option>
|
|
46
|
+
{{{ end }}}
|
|
47
|
+
</select>
|
|
48
|
+
{{{ end }}}
|
|
49
|
+
</div>
|
|
50
|
+
{{{ end }}}
|
|
51
|
+
|
|
32
52
|
<div class="mb-3">
|
|
33
53
|
<label class="form-label fw-bold" for="groupTitle">[[user:grouptitle]]</label>
|
|
34
54
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
{{{ end }}}
|
|
24
24
|
|
|
25
25
|
<div class="account-stats container">
|
|
26
|
-
<div class="row row-cols-2 row-cols-xl-3 row-cols-xxl-4 g-2">
|
|
26
|
+
<div class="row row-cols-2 row-cols-xl-3 row-cols-xxl-4 g-2 mb-5">
|
|
27
27
|
{{{ if !reputation:disabled }}}
|
|
28
28
|
<div class="stat">
|
|
29
29
|
<div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100">
|
|
@@ -89,6 +89,21 @@
|
|
|
89
89
|
</div>
|
|
90
90
|
</div>
|
|
91
91
|
{{{ end }}}
|
|
92
|
+
|
|
93
|
+
{{{ each customUserFields }}}
|
|
94
|
+
{{{ if ./value }}}
|
|
95
|
+
<div class="stat">
|
|
96
|
+
<div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100 gap-2">
|
|
97
|
+
<span class="stat-label text-xs fw-semibold"><span>{./name}</span></span>
|
|
98
|
+
{{{ if (./type == "input-link") }}}
|
|
99
|
+
<a class="text-sm text-center text-break w-100 px-2 ff-secondary text-underline text-reset" href="{./value}" rel="nofollow noreferrer me">{./value}</a>
|
|
100
|
+
{{{ else }}}
|
|
101
|
+
<span class="text-center fs-6 ff-secondary">{./value}</span>
|
|
102
|
+
{{{ end }}}
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
{{{ end }}}
|
|
106
|
+
{{{ end }}}
|
|
92
107
|
</div>
|
|
93
108
|
</div>
|
|
94
109
|
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
<span class="menu-icon"><i class="fa fa-fw text-secondary fa-pencil"></i></span> [[topic:edit]]
|
|
5
5
|
</a>
|
|
6
6
|
</li>
|
|
7
|
+
{{{ if posts.display_delete_tools }}}
|
|
7
8
|
<li {{{ if posts.deleted }}}hidden{{{ end }}}>
|
|
8
9
|
<a class="dropdown-item rounded-1 d-flex align-items-center gap-2" component="post/delete" role="menuitem" href="#" class="{{{ if posts.deleted }}}hidden{{{ end }}}">
|
|
9
10
|
<span class="menu-icon"><i class="fa fa-fw text-secondary fa-trash-o"></i></span> [[topic:delete]]
|
|
@@ -14,6 +15,7 @@
|
|
|
14
15
|
<span class="menu-icon"><i class="fa fa-fw text-secondary fa-history"></i></span> [[topic:restore]]
|
|
15
16
|
</a>
|
|
16
17
|
</li>
|
|
18
|
+
{{{ end }}}
|
|
17
19
|
{{{ if posts.display_purge_tools }}}
|
|
18
20
|
<li {{{ if !posts.deleted }}}hidden{{{ end }}}>
|
|
19
21
|
<a class="dropdown-item rounded-1 d-flex align-items-center gap-2" component="post/purge" role="menuitem" href="#" class="{{{ if !posts.deleted }}}hidden{{{ end }}}">
|
|
@@ -38,6 +40,14 @@
|
|
|
38
40
|
</li>
|
|
39
41
|
{{{ end }}}
|
|
40
42
|
|
|
43
|
+
{{{ if posts.display_manage_editors_tools }}}
|
|
44
|
+
<li>
|
|
45
|
+
<a class="dropdown-item rounded-1 d-flex align-items-center gap-2" component="post/manage-editors" role="menuitem" href="#">
|
|
46
|
+
<span class="menu-icon"><i class="fa fa-fw text-secondary fa-user-pen"></i></span> [[topic:manage-editors]]
|
|
47
|
+
</a>
|
|
48
|
+
</li>
|
|
49
|
+
{{{ end }}}
|
|
50
|
+
|
|
41
51
|
{{{ if posts.ip }}}
|
|
42
52
|
<li>
|
|
43
53
|
<a class="dropdown-item rounded-1 d-flex align-items-center gap-2" component="post/copy-ip" role="menuitem" href="#" data-clipboard-text="{posts.ip}">
|