nodebb-theme-harmony 1.0.56 → 1.0.58
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
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
<ul component="category" class="topics-list list-unstyled" itemscope itemtype="http://www.schema.org/ItemList" data-nextstart="{nextStart}" data-set="{set}">
|
|
2
2
|
|
|
3
3
|
{{{ each topics }}}
|
|
4
|
-
<li component="category/topic" class="category-item
|
|
4
|
+
<li component="category/topic" class="category-item border-bottom py-3 py-lg-4 d-flex flex-column flex-lg-row align-items-start {function.generateTopicClass}" <!-- IMPORT partials/data/category.tpl -->>
|
|
5
5
|
<link itemprop="url" content="{config.relative_path}/topic/{./slug}" />
|
|
6
6
|
<meta itemprop="name" content="{function.stripTags, ./title}" />
|
|
7
7
|
<meta itemprop="itemListOrder" content="descending" />
|
|
8
8
|
<meta itemprop="position" content="{./index}" />
|
|
9
|
-
<a id="{./index}" data-index="{./index}" component="topic/anchor"
|
|
9
|
+
<a id="{./index}" data-index="{./index}" component="topic/anchor"></a>
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
<div class="d-flex p-0 col-lg-7 gap-2 gap-lg-3 pe-1 align-items-start">
|
|
11
|
+
<div class="d-flex p-0 col-12 col-lg-7 gap-2 gap-lg-3 pe-1 align-items-start">
|
|
13
12
|
<div class="flex-shrink-0 position-relative">
|
|
14
13
|
<a class="text-decoration-none" href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}">
|
|
15
14
|
{buildAvatar(./user, "40px", true, "avatar avatar-tooltip")}
|
|
@@ -20,7 +19,7 @@
|
|
|
20
19
|
</div>
|
|
21
20
|
{{{ end }}}
|
|
22
21
|
</div>
|
|
23
|
-
<div class="flex-grow-1 d-flex flex-wrap gap-1">
|
|
22
|
+
<div class="flex-grow-1 d-flex flex-wrap gap-1 position-relative">
|
|
24
23
|
<h3 component="topic/header" class="title text-break fs-5 fw-semibold m-0 tracking-tight w-100 {{{ if showSelect }}}me-4 me-lg-0{{{ end }}}">
|
|
25
24
|
{{{ if topics.noAnchor }}}
|
|
26
25
|
<span>{./title}</span>
|
|
@@ -61,6 +60,11 @@
|
|
|
61
60
|
<span class="visible-xs-inline badge bg-transparent text-muted fw-normal timeago" title="{{{ if ./teaser.timestampISO }}}{./teaser.timestampISO}{{{ else }}}{./timestampISO}{{{ end }}}"></span>
|
|
62
61
|
{{{ end }}}
|
|
63
62
|
</span>
|
|
63
|
+
{{{ if showSelect }}}
|
|
64
|
+
<div class="checkbox position-absolute top-0 end-0 m-0 d-flex d-lg-none" style="max-width:max-content">
|
|
65
|
+
<i component="topic/select" class="fa fa-square-o text-muted pointer p-1"></i>
|
|
66
|
+
</div>
|
|
67
|
+
{{{ end }}}
|
|
64
68
|
</div>
|
|
65
69
|
{{{ if ./thumbs.length }}}
|
|
66
70
|
<a class="position-relative text-decoration-none flex-shrink-0 d-none d-xl-block" href="{config.relative_path}/topic/{./slug}{{{ if ./bookmark }}}/{./bookmark}{{{ end }}}">
|
|
@@ -112,11 +116,6 @@
|
|
|
112
116
|
</div>
|
|
113
117
|
</div>
|
|
114
118
|
</div>
|
|
115
|
-
{{{ if showSelect }}}
|
|
116
|
-
<div class="checkbox position-absolute top-0 end-0 mt-3 m-0 d-flex d-lg-none" style="max-width:max-content">
|
|
117
|
-
<i component="topic/select" class="fa fa-square-o text-muted pointer p-1"></i>
|
|
118
|
-
</div>
|
|
119
|
-
{{{ end }}}
|
|
120
119
|
</li>
|
|
121
120
|
{{{end}}}
|
|
122
121
|
</ul>
|
package/templates/post-queue.tpl
CHANGED
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
{{{ each posts }}}
|
|
46
46
|
<div class="card mb-4" data-id="{./id}" data-uid="{./user.uid}">
|
|
47
47
|
<div class="row g-0">
|
|
48
|
-
<div class="col-
|
|
48
|
+
<div class="col-lg-3 bg-card-cap rounded-start">
|
|
49
49
|
<ul class="list-unstyled ps-0 mb-0 border-end h-100">
|
|
50
50
|
<li class="card-body border-bottom position-relative">
|
|
51
51
|
{{{ if !singlePost }}}
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
</li>
|
|
176
176
|
</ul>
|
|
177
177
|
</div>
|
|
178
|
-
<div class="col-
|
|
178
|
+
<div class="col-lg-9 d-flex flex-column">
|
|
179
179
|
<div class="post-content mb-auto text-break p-3 pb-0 h-100">{posts.data.content}</div>
|
|
180
180
|
<div class="post-content-editable flex-grow-1 hidden">
|
|
181
181
|
<textarea class="form-control w-100 h-100 p-3">{posts.data.rawContent}</textarea>
|