nodebb-theme-persona 14.1.22 → 14.1.24
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 +2802 -0
- package/package.json +1 -1
- package/scss/topic.scss +0 -6
- package/templates/partials/account/session-list.tpl +18 -0
- package/templates/partials/categories/link.tpl +10 -10
- package/templates/partials/post_bar.tpl +1 -1
- package/templates/partials/topic/thumbs.tpl +1 -2
package/package.json
CHANGED
package/scss/topic.scss
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{{{ each sessions }}}
|
|
2
|
+
<li class="list-group-item text-break" data-uuid="{./uuid}">
|
|
3
|
+
<div class="float-end">
|
|
4
|
+
{{{ if isSelfOrAdminOrGlobalModerator }}}
|
|
5
|
+
{{{ if !./current }}}
|
|
6
|
+
<button class="btn btn-sm btn-outline-secondary" type="button" data-action="revokeSession">[[user:revoke-session]]</button>
|
|
7
|
+
{{{ end }}}
|
|
8
|
+
{{{ end }}}
|
|
9
|
+
{function.userAgentIcons}
|
|
10
|
+
<i class="fa fa-circle text-{{{ if ./current }}}success{{{ else }}}muted{{{ end }}}"></i>
|
|
11
|
+
</div>
|
|
12
|
+
[[user:browser-version-on-platform, {./browser}, {./version}, {./platform}]]<br />
|
|
13
|
+
<small class="timeago text-muted" title="{../datetimeISO}"></small>
|
|
14
|
+
<ul>
|
|
15
|
+
<li><strong>[[global:ip-address]]</strong>: {../ip}</li>
|
|
16
|
+
</ul>
|
|
17
|
+
</li>
|
|
18
|
+
{{{ end }}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<!-- IF ../isSection -->
|
|
2
|
-
{../name}
|
|
3
|
-
<!-- ELSE -->
|
|
4
|
-
<!-- IF ../link -->
|
|
5
|
-
<a href="{../link}" itemprop="url">
|
|
6
|
-
<!-- ELSE -->
|
|
7
|
-
<a href="{config.relative_path}/category/{../slug}" itemprop="url">
|
|
8
|
-
<!-- ENDIF ../link -->
|
|
9
|
-
{../name}
|
|
10
|
-
</a>
|
|
1
|
+
<!-- IF ../isSection -->
|
|
2
|
+
{../name}
|
|
3
|
+
<!-- ELSE -->
|
|
4
|
+
<!-- IF ../link -->
|
|
5
|
+
<a href="{../link}" itemprop="url">
|
|
6
|
+
<!-- ELSE -->
|
|
7
|
+
<a href="{config.relative_path}/category/{../slug}" itemprop="url">
|
|
8
|
+
<!-- ENDIF ../link -->
|
|
9
|
+
{../name}
|
|
10
|
+
</a>
|
|
11
11
|
<!-- ENDIF ../isSection -->
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<!-- IMPORT partials/topic/watch.tpl -->
|
|
13
13
|
<!-- IMPORT partials/topic/sort.tpl -->
|
|
14
14
|
<button component="topic/crosspost" title="[[topic:crosspost-topic]]" class="btn btn-sm btn-ghost">
|
|
15
|
-
<i class="fa fa-fw fa-
|
|
15
|
+
<i class="fa fa-fw fa-square-arrow-up-right text-secondary"></i>
|
|
16
16
|
</button>
|
|
17
17
|
|
|
18
18
|
<div class="d-inline-block">
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
<a class="d-inline-block" href="{./url}">
|
|
3
3
|
<img class="rounded-1 bg-light" style="width:auto; max-width: 4rem; height: 3.33rem;object-fit: contain;" src="{./url}" />
|
|
4
4
|
</a>
|
|
5
|
-
{{{ end }}}
|
|
6
|
-
{{{ if greaterthan(thumbs.length, "4") }}}
|
|
5
|
+
{{{ end }}}{{{ if greaterthan(thumbs.length, "4") }}}
|
|
7
6
|
<button component="topic/thumb/list/expand" class="btn btn-light fw-semibold" style="width:auto; max-width: 5.33rem; height: 3.33rem; object-fit: contain;">+{increment(thumbs.length, "-3")}</button>
|
|
8
7
|
{{{ end }}}
|