nodebb-theme-persona 13.3.54 → 13.3.56
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/style.scss +0 -21
- package/templates/groups/list.tpl +15 -19
- package/templates/partials/header/chats.tpl +19 -3
- package/templates/partials/users_list_menu.tpl +11 -17
- package/templates/users.tpl +11 -13
package/package.json
CHANGED
package/scss/style.scss
CHANGED
|
@@ -174,24 +174,3 @@ a.permalink {
|
|
|
174
174
|
.disabled a {
|
|
175
175
|
pointer-events: none;
|
|
176
176
|
}
|
|
177
|
-
|
|
178
|
-
@include media-breakpoint-down(sm) {
|
|
179
|
-
.form-control {
|
|
180
|
-
font-size: 16px;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.background-link-container {
|
|
185
|
-
position: relative;
|
|
186
|
-
a {
|
|
187
|
-
position: relative;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
a.background-link {
|
|
191
|
-
position: absolute;
|
|
192
|
-
width: 100%;
|
|
193
|
-
height: 100%;
|
|
194
|
-
top: 0;
|
|
195
|
-
left: 0;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
@@ -5,29 +5,25 @@
|
|
|
5
5
|
{{{end}}}
|
|
6
6
|
</div>
|
|
7
7
|
<div class="groups list">
|
|
8
|
-
<div class="
|
|
9
|
-
<div
|
|
8
|
+
<div class="d-flex justify-content-between align-items-center gap-3 flex-wrap">
|
|
9
|
+
<div>
|
|
10
10
|
{{{ if allowGroupCreation }}}
|
|
11
11
|
<button class="btn btn-primary" data-action="new"><i class="fa fa-plus"></i> [[groups:new-group]]</button>
|
|
12
12
|
{{{ end }}}
|
|
13
13
|
</div>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<i class="fa fa-search"></i>
|
|
28
|
-
</button>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
14
|
+
|
|
15
|
+
<div class="d-flex gap-3 align-items-center">
|
|
16
|
+
<select class="form-select" id="search-sort">
|
|
17
|
+
<option value="alpha">[[groups:details.group-name]]</option>
|
|
18
|
+
<option value="count">[[groups:details.member-count]]</option>
|
|
19
|
+
<option value="date">[[groups:details.creation-date]]</option>
|
|
20
|
+
</select>
|
|
21
|
+
|
|
22
|
+
<div class="input-group">
|
|
23
|
+
<input type="text" class="form-control" placeholder="[[global:search]]" name="query" value="" id="search-text">
|
|
24
|
+
<button id="search-button" class="btn btn-primary">
|
|
25
|
+
<i class="fa fa-search"></i>
|
|
26
|
+
</button>
|
|
31
27
|
</div>
|
|
32
28
|
</div>
|
|
33
29
|
</div>
|
|
@@ -4,9 +4,25 @@
|
|
|
4
4
|
<ul class="dropdown-menu dropdown-menu-end p-1" aria-labelledby="chat_dropdown" role="menu">
|
|
5
5
|
<li>
|
|
6
6
|
<ul component="chat/list" class="list-unstyled chat-list chats-list ghost-scrollbar pe-1">
|
|
7
|
-
<
|
|
8
|
-
<
|
|
9
|
-
|
|
7
|
+
<div class="rounded-1">
|
|
8
|
+
<div class="d-flex gap-1 justify-content-between">
|
|
9
|
+
<div class="dropdown-item p-2 d-flex gap-2 placeholder-wave">
|
|
10
|
+
<div class="main-avatar">
|
|
11
|
+
<div class="placeholder" style="width: 32px; height: 32px;"></div>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="d-flex flex-grow-1 flex-column w-100">
|
|
14
|
+
<div class="text-xs"><div class="placeholder col-3"></div></div>
|
|
15
|
+
<div class="text-sm"><div class="placeholder col-11"></div></div>
|
|
16
|
+
<div class="text-xs"><div class="placeholder col-4"></div></div>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
<div>
|
|
20
|
+
<button class="mark-read btn btn-ghost btn-sm d-flex align-items-center justify-content-center flex-grow-0 flex-shrink-0 p-1" style="width: 1.5rem; height: 1.5rem;">
|
|
21
|
+
<i class="unread fa fa-2xs fa-circle text-primary"></i>
|
|
22
|
+
</button>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
10
26
|
</ul>
|
|
11
27
|
</li>
|
|
12
28
|
<li class="dropdown-divider"></li>
|
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
<
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
</
|
|
5
|
-
|
|
6
|
-
<a class="nav-link" href="{config.relative_path}/users?section=sort-posts">[[users:top-posters]]</a>
|
|
7
|
-
</li>
|
|
1
|
+
<div component="user/list/menu" class="text-sm d-flex flex-wrap align-items-center gap-2">
|
|
2
|
+
<a class="btn btn-ghost btn-sm ff-secondary" href="{config.relative_path}/users?section=online">[[global:online]]</a>
|
|
3
|
+
|
|
4
|
+
<a class="btn btn-ghost btn-sm ff-secondary" href="{config.relative_path}/users?section=sort-posts">[[users:top-posters]]</a>
|
|
5
|
+
|
|
8
6
|
{{{ if !reputation:disabled }}}
|
|
9
|
-
<
|
|
10
|
-
<a class="nav-link" href="{config.relative_path}/users?section=sort-reputation">[[users:most-reputation]]</a>
|
|
11
|
-
</li>
|
|
7
|
+
<a class="btn btn-ghost btn-sm ff-secondary" href="{config.relative_path}/users?section=sort-reputation">[[users:most-reputation]]</a>
|
|
12
8
|
{{{ end }}}
|
|
9
|
+
|
|
13
10
|
{{{ if isAdminOrGlobalMod }}}
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
</
|
|
17
|
-
<li class="nav-item">
|
|
18
|
-
<a class="nav-link" href="{config.relative_path}/users?section=banned">[[user:banned]]</a>
|
|
19
|
-
</li>
|
|
11
|
+
<a class="btn btn-ghost btn-sm ff-secondary" href="{config.relative_path}/users?section=flagged">[[users:most-flags]]</a>
|
|
12
|
+
|
|
13
|
+
<a class="btn btn-ghost btn-sm ff-secondary" href="{config.relative_path}/users?section=banned">[[user:banned]]</a>
|
|
20
14
|
{{{ end }}}
|
|
21
|
-
</
|
|
15
|
+
</div>
|
package/templates/users.tpl
CHANGED
|
@@ -5,27 +5,25 @@
|
|
|
5
5
|
{{{end}}}
|
|
6
6
|
</div>
|
|
7
7
|
<div class="users">
|
|
8
|
-
<div class="
|
|
9
|
-
<div class="col-lg-6">
|
|
8
|
+
<div class="d-flex justify-content-between align-items-center mb-3 flex-wrap gap-3">
|
|
10
9
|
<!-- IMPORT partials/users_list_menu.tpl -->
|
|
11
|
-
|
|
12
|
-
<div class="
|
|
13
|
-
|
|
14
|
-
<button component="user/invite" class="btn btn-success"><i class="fa fa-users"></i> [[users:invite]]</button>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<div class="col-lg-3 col-9">
|
|
10
|
+
|
|
11
|
+
<div class="d-flex gap-2 align-items-center">
|
|
12
|
+
{{{ if showInviteButton }}}
|
|
13
|
+
<button component="user/invite" class="btn btn-sm btn-success text-nowrap"><i class="fa fa-users"></i> [[users:invite]]</button>
|
|
14
|
+
{{{ end }}}
|
|
15
|
+
|
|
16
|
+
{{{ if displayUserSearch }}}
|
|
19
17
|
<div class="search">
|
|
20
18
|
<div class="input-group">
|
|
21
|
-
<input class="form-control" id="search-user" type="text" placeholder="[[global:search]]"/>
|
|
22
|
-
<button class="btn btn-primary" type="button">
|
|
19
|
+
<input class="form-control form-control-sm" id="search-user" type="text" placeholder="[[global:search]]"/>
|
|
20
|
+
<button class="btn btn-sm btn-primary" type="button">
|
|
23
21
|
<i component="user/search/icon" class="fa fa-search"></i>
|
|
24
22
|
</button>
|
|
25
23
|
</div>
|
|
26
24
|
</div>
|
|
25
|
+
{{{ end }}}
|
|
27
26
|
</div>
|
|
28
|
-
<!-- ENDIF displayUserSearch -->
|
|
29
27
|
</div>
|
|
30
28
|
|
|
31
29
|
<!-- IMPORT partials/users_list.tpl -->
|