nodebb-theme-harmony 1.0.0-beta.81 → 1.0.0-beta.83
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 +1 -1
- package/scss/common.scss +8 -0
- package/scss/modules/topics-list.scss +9 -3
- package/scss/modules/user-menu.scss +6 -0
- package/scss/sidebar.scss +6 -0
- package/templates/account/blocks.tpl +1 -1
- package/templates/account/categories.tpl +25 -4
- package/templates/account/topics.tpl +5 -2
- package/templates/categories.tpl +1 -1
- package/templates/category.tpl +1 -1
- package/templates/chats.tpl +1 -1
- package/templates/flags/detail.tpl +10 -10
- package/templates/header.tpl +1 -1
- package/templates/partials/account/admin-menu.tpl +9 -9
- package/templates/partials/account/category-item.tpl +15 -18
- package/templates/partials/account/header.tpl +2 -2
- package/templates/partials/buttons/newTopic.tpl +1 -1
- package/templates/partials/categories/item.tpl +6 -6
- package/templates/partials/category/filter-dropdown-content.tpl +10 -5
- package/templates/partials/category/selector-dropdown-content.tpl +4 -4
- package/templates/partials/category/sort.tpl +7 -7
- package/templates/partials/category/tools.tpl +25 -25
- package/templates/partials/category/watch.tpl +17 -17
- package/templates/partials/chats/dropdown.tpl +4 -1
- package/templates/partials/chats/options.tpl +14 -6
- package/templates/partials/flags/filters.tpl +24 -24
- package/templates/partials/header/brand.tpl +1 -1
- package/templates/partials/notifications_list.tpl +7 -4
- package/templates/partials/search-filters.tpl +7 -7
- package/templates/partials/sidebar/drafts.tpl +4 -1
- package/templates/partials/sidebar/user-menu.tpl +27 -23
- package/templates/partials/sidebar-left.tpl +2 -2
- package/templates/partials/sidebar-right.tpl +1 -1
- package/templates/partials/skin-switcher.tpl +1 -1
- package/templates/partials/tags/filter-dropdown-content.tpl +6 -6
- package/templates/partials/topic/post-menu-list.tpl +31 -31
- package/templates/partials/topic/post-menu.tpl +1 -1
- package/templates/partials/topic/post.tpl +6 -6
- package/templates/partials/topic/reply-button.tpl +2 -2
- package/templates/partials/topic/sort.tpl +17 -5
- package/templates/partials/topic/tools.tpl +2 -2
- package/templates/partials/topic/topic-menu-list.tpl +14 -14
- package/templates/partials/topic/watch.tpl +17 -17
- package/templates/partials/topic-filters.tpl +6 -3
- package/templates/partials/topic-list-bar.tpl +3 -2
- package/templates/partials/topic-terms.tpl +6 -3
- package/templates/partials/topics_list.tpl +22 -15
- package/templates/partials/users/filter-dropdown-content.tpl +7 -4
- package/templates/post-queue.tpl +27 -27
- package/templates/topic.tpl +1 -1
package/templates/post-queue.tpl
CHANGED
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
<button type="button" class="btn-ghost-sm dropdown-toggle" data-bs-toggle="dropdown" autocomplete="off" aria-haspopup="true" aria-expanded="false">
|
|
10
10
|
<i class="fa fa-clone"></i><span class="fw-semibold"> [[post-queue:bulk-actions]]</span>
|
|
11
11
|
</button>
|
|
12
|
-
<ul class="dropdown-menu dropdown-menu-end">
|
|
12
|
+
<ul class="dropdown-menu p-1 text-sm dropdown-menu-end">
|
|
13
13
|
{{{ if canAccept }}}
|
|
14
|
-
<li><a class="dropdown-item" href="#" data-action="accept-all">[[post-queue:accept-all]]</a></li>
|
|
15
|
-
<li><a class="dropdown-item" href="#" data-action="accept-selected">[[post-queue:accept-selected]]</a></li>
|
|
14
|
+
<li><a class="dropdown-item rounded-1" href="#" data-action="accept-all">[[post-queue:accept-all]]</a></li>
|
|
15
|
+
<li><a class="dropdown-item rounded-1" href="#" data-action="accept-selected">[[post-queue:accept-selected]]</a></li>
|
|
16
16
|
<li class="dropdown-divider"></li>
|
|
17
|
-
<li><a class="dropdown-item" href="#" data-action="reject-all">[[post-queue:reject-all]]</a></li>
|
|
18
|
-
<li><a class="dropdown-item" href="#" data-action="reject-selected">[[post-queue:reject-selected]]</a></li>
|
|
17
|
+
<li><a class="dropdown-item rounded-1" href="#" data-action="reject-all">[[post-queue:reject-all]]</a></li>
|
|
18
|
+
<li><a class="dropdown-item rounded-1" href="#" data-action="reject-selected">[[post-queue:reject-selected]]</a></li>
|
|
19
19
|
{{{ else }}}
|
|
20
|
-
<li><a class="dropdown-item" href="#" data-action="reject-all">[[post-queue:remove-all]]</a></li>
|
|
21
|
-
<li><a class="dropdown-item" href="#" data-action="reject-selected">[[post-queue:remove-selected]]</a></li>
|
|
20
|
+
<li><a class="dropdown-item rounded-1" href="#" data-action="reject-all">[[post-queue:remove-all]]</a></li>
|
|
21
|
+
<li><a class="dropdown-item rounded-1" href="#" data-action="reject-selected">[[post-queue:remove-selected]]</a></li>
|
|
22
22
|
{{{ end }}}
|
|
23
23
|
</ul>
|
|
24
24
|
</div>
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
{{{ each posts }}}
|
|
44
44
|
<div class="card mb-4" data-id="{./id}" data-uid="{./user.uid}">
|
|
45
45
|
<div class="row g-0">
|
|
46
|
-
<div class="col-sm-4 col-md-3 bg-
|
|
46
|
+
<div class="col-sm-4 col-md-3 bg-card-cap rounded-start">
|
|
47
47
|
<ul class="list-unstyled ps-0 mb-0 border-end h-100">
|
|
48
48
|
<li class="card-body border-bottom position-relative">
|
|
49
49
|
{{{ if !singlePost }}}
|
|
@@ -59,19 +59,19 @@
|
|
|
59
59
|
{{{ if ((privileges.ban || privileges.mute) || privileges.admin:users) }}}
|
|
60
60
|
<div class="ms-auto btn-group bottom-sheet">
|
|
61
61
|
<button href="#" class="btn btn-outline-sm text-xs dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Actions</button>
|
|
62
|
-
<ul class="dropdown-menu">
|
|
62
|
+
<ul class="dropdown-menu p-1 text-sm">
|
|
63
63
|
{{{ if privileges.ban }}}
|
|
64
|
-
<li class="{{{ if target.user.banned }}}hidden{{{ end }}}"><a class="dropdown-item" href="#" data-action="ban">[[user:ban_account]]</a></li>
|
|
65
|
-
<li class="{{{ if !target.user.banned }}}hidden{{{ end }}}"><a class="dropdown-item" href="#" data-action="unban">[[user:unban_account]]</a></li>
|
|
64
|
+
<li class="{{{ if target.user.banned }}}hidden{{{ end }}}"><a class="dropdown-item rounded-1" href="#" data-action="ban">[[user:ban_account]]</a></li>
|
|
65
|
+
<li class="{{{ if !target.user.banned }}}hidden{{{ end }}}"><a class="dropdown-item rounded-1" href="#" data-action="unban">[[user:unban_account]]</a></li>
|
|
66
66
|
{{{ end }}}
|
|
67
67
|
{{{ if privileges.mute}}}
|
|
68
|
-
<li class="{{{ if target.user.muted }}}hidden{{{ end }}}"><a class="dropdown-item" href="#" data-action="mute">[[user:mute_account]]</a></li>
|
|
69
|
-
<li class="{{{ if !target.user.muted }}}hidden{{{ end }}}"><a class="dropdown-item" href="#" data-action="unmute">[[user:unmute_account]]</a></li>
|
|
68
|
+
<li class="{{{ if target.user.muted }}}hidden{{{ end }}}"><a class="dropdown-item rounded-1" href="#" data-action="mute">[[user:mute_account]]</a></li>
|
|
69
|
+
<li class="{{{ if !target.user.muted }}}hidden{{{ end }}}"><a class="dropdown-item rounded-1" href="#" data-action="unmute">[[user:unmute_account]]</a></li>
|
|
70
70
|
{{{ end }}}
|
|
71
71
|
{{{ if privileges.admin:users }}}
|
|
72
|
-
<li><a class="dropdown-item" href="#" data-action="delete-account">[[user:delete_account_as_admin]]</a></li>
|
|
73
|
-
<li><a class="dropdown-item" href="#" data-action="delete-content">[[user:delete_content]]</a></li>
|
|
74
|
-
<li><a class="dropdown-item" href="#" data-action="delete-all">[[user:delete_all]]</a></li>
|
|
72
|
+
<li><a class="dropdown-item rounded-1" href="#" data-action="delete-account">[[user:delete_account_as_admin]]</a></li>
|
|
73
|
+
<li><a class="dropdown-item rounded-1" href="#" data-action="delete-content">[[user:delete_content]]</a></li>
|
|
74
|
+
<li><a class="dropdown-item rounded-1" href="#" data-action="delete-all">[[user:delete_all]]</a></li>
|
|
75
75
|
{{{ end }}}
|
|
76
76
|
</ul>
|
|
77
77
|
</div>
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
</div>
|
|
106
106
|
{{{end}}}
|
|
107
107
|
</li>
|
|
108
|
-
<li class="card-body">
|
|
108
|
+
<li class="card-body border-bottom">
|
|
109
109
|
<div class="text-xs fw-semibold mb-1">
|
|
110
110
|
[[post-queue:category]]{{{ if posts.data.cid}}} <i class="fa fa-fw fa-edit" data-bs-toggle="tooltip" title="[[post-queue:category-editable]]"></i>{{{ end }}}
|
|
111
111
|
</div>
|
|
@@ -118,6 +118,15 @@
|
|
|
118
118
|
</a>
|
|
119
119
|
</div>
|
|
120
120
|
</li>
|
|
121
|
+
<li class="card-body d-grid d-lg-flex gap-2">
|
|
122
|
+
{{{ if canAccept }}}
|
|
123
|
+
<button class="btn btn-success btn-sm" data-action="accept"><i class="fa fa-fw fa-check"></i> [[post-queue:accept]] </button>
|
|
124
|
+
<button class="btn btn-info btn-sm" data-action="notify"><i class="fa fa-fw fa-bell-o"></i> [[post-queue:notify]]</button>
|
|
125
|
+
<button class="btn btn-danger btn-sm" data-action="reject"><i class="fa fa-fw fa-times"></i> [[post-queue:reject]]</button>
|
|
126
|
+
{{{ else }}}
|
|
127
|
+
<button class="btn btn-danger btn-sm" data-action="reject"><i class="fa fa-fw fa-times"></i> [[post-queue:remove]]</button>
|
|
128
|
+
{{{ end }}}
|
|
129
|
+
</li>
|
|
121
130
|
</ul>
|
|
122
131
|
</div>
|
|
123
132
|
<div class="col-sm-8 col-md-9 d-flex flex-column">
|
|
@@ -125,16 +134,7 @@
|
|
|
125
134
|
<div class="post-content-editable flex-grow-1 hidden">
|
|
126
135
|
<textarea class="form-control w-100 h-100 p-3">{posts.data.rawContent}</textarea>
|
|
127
136
|
</div>
|
|
128
|
-
<div class="border-top p-
|
|
129
|
-
{{{ if canAccept }}}
|
|
130
|
-
<button class="btn btn-success btn-sm" data-action="accept"><i class="fa fa-fw fa-check"></i> [[post-queue:accept]] </button>
|
|
131
|
-
<button class="btn btn-info btn-sm" data-action="notify"><i class="fa fa-fw fa-bell-o"></i> [[post-queue:notify]]</button>
|
|
132
|
-
<button class="btn btn-danger btn-sm" data-action="reject"><i class="fa fa-fw fa-times"></i> [[post-queue:reject]]</button>
|
|
133
|
-
{{{ else }}}
|
|
134
|
-
<button class="btn btn-danger btn-sm" data-action="reject"><i class="fa fa-fw fa-times"></i> [[post-queue:remove]]</button>
|
|
135
|
-
{{{ end }}}
|
|
136
|
-
<span class="d-none d-md-inline ms-auto align-self-center text-xs fw-semibold">[[post-queue:content-editable]]</span>
|
|
137
|
-
</div>
|
|
137
|
+
<div class="border-top p-2 d-none d-md-block text-xs fw-semibold text-end">[[post-queue:content-editable]]</div>
|
|
138
138
|
</div>
|
|
139
139
|
</div>
|
|
140
140
|
</div>
|
package/templates/topic.tpl
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{{{ end }}}
|
|
8
8
|
|
|
9
9
|
<div class="d-flex flex-column gap-3" itemid="{url}" itemscope itemtype="https://schema.org/DiscussionForumPosting">
|
|
10
|
-
<h2 component="post/header" class="fs-2 mb-0 text-break {{{ if config.theme.centerHeaderElements }}}text-center{{{ end }}}" itemprop="headline">
|
|
10
|
+
<h2 component="post/header" class="tracking-tight fw-semibold fs-2 mb-0 text-break {{{ if config.theme.centerHeaderElements }}}text-center{{{ end }}}" itemprop="headline">
|
|
11
11
|
<span class="topic-title" component="topic/title">{title}</span>
|
|
12
12
|
</h2>
|
|
13
13
|
|