nodebb-theme-harmony 1.0.0-beta.26 → 1.0.0-beta.28
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/templates/groups/members.tpl +0 -2
- package/templates/partials/categories/item.tpl +11 -14
- package/templates/partials/categories/lastpost.tpl +1 -1
- package/templates/partials/category/tags.tpl +0 -2
- package/templates/partials/cookie-consent.tpl +5 -5
- package/templates/partials/topic/browsing-users.tpl +0 -2
- package/templates/partials/topic/post-editor.tpl +0 -2
- package/templates/partials/topic/post-menu-list.tpl +0 -2
- package/templates/partials/topic/topic-menu-list.tpl +0 -2
- package/templates/partials/topics_list.tpl +43 -42
- package/templates/modules/usercard.tpl +0 -39
- package/templates/partials/acceptTos.tpl +0 -11
- package/templates/partials/slideout-menu.tpl +0 -6
package/package.json
CHANGED
|
@@ -33,27 +33,24 @@
|
|
|
33
33
|
{{{ end }}}
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
<div class="card card-header align-items-center px-0 py-2 border-0 rounded-1">
|
|
36
|
+
<div class="row col-md-5 col-sm-3 d-none d-md-flex align-self-start">
|
|
37
|
+
{{{ if !./link }}}
|
|
38
|
+
<div class="col-md-5 d-none d-lg-flex stats text-muted gap-2 px-0">
|
|
39
|
+
<div class="w-50 card card-header align-items-center px-0 py-2 border-0 rounded-1">
|
|
41
40
|
<span class="{./unread-class} human-readable-number fs-5 fw-semibold ff-secondary" title="{./totalTopicCount}">{./totalTopicCount}</span>
|
|
42
41
|
<span class="text-lowercase text-xs">[[global:topics]]</span>
|
|
43
42
|
</div>
|
|
44
|
-
|
|
45
|
-
<div class="w-50">
|
|
46
|
-
<div class="card card-header align-items-center px-0 py-2 border-0 rounded-1">
|
|
43
|
+
<div class="w-50 card card-header align-items-center px-0 py-2 border-0 rounded-1">
|
|
47
44
|
<span class="{./unread-class} human-readable-number fs-5 fw-semibold ff-secondary" title="{./totalPostCount}">{./totalPostCount}</span>
|
|
48
45
|
<span class="text-lowercase text-xs">[[global:posts]]</span>
|
|
49
46
|
</div>
|
|
50
47
|
</div>
|
|
51
|
-
</div>
|
|
52
48
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
{{{ if !config.hideCategoryLastPost }}}
|
|
50
|
+
<div class="col-md-7 col-sm-3 teaser d-none d-sm-block" component="topic/teaser">
|
|
51
|
+
<!-- IMPORT partials/categories/lastpost.tpl -->
|
|
52
|
+
</div>
|
|
53
|
+
{{{ end }}}
|
|
54
|
+
{{{ end }}}
|
|
56
55
|
</div>
|
|
57
|
-
{{{ end }}}
|
|
58
|
-
{{{ end }}}
|
|
59
56
|
</li>
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
<!-- THIS FILE IS STILL PERSONA -->
|
|
2
|
-
|
|
3
1
|
{{{ each tags }}}
|
|
4
2
|
<a href="{config.relative_path}/tags/{topics.tags.value}"><span class="tag-item" data-tag="{topics.tags.value}">{topics.tags.value}</span><span class="tag-topic-count human-readable-number" title="{topics.tags.score}">{topics.tags.score}</span></a>
|
|
5
3
|
{{{ end }}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
<div class="d-flex justify-content-center position-fixed start-0 bottom-0 w-100 mb-5 mb-md-0">
|
|
2
|
+
<div class="cookie-consent text-bg-info w-50 p-3 rounded d-flex gap-2 mb-5 mb-md-3 justify-content-between align-items-center">
|
|
3
|
+
<span>{message} <a class="fw-bold" target="_blank" rel="noopener" href="{link_url}">{link}</a></span>
|
|
4
|
+
<button class="btn btn-primary text-nowrap">{dismiss}</button>
|
|
5
|
+
</div>
|
|
6
6
|
</div>
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
<!-- THIS FILE IS STILL PERSONA -->
|
|
2
|
-
|
|
3
1
|
{{{ if privileges.editable }}}
|
|
4
2
|
<li <!-- IF locked -->hidden<!-- ENDIF locked -->><a component="topic/lock" href="#" class="dropdown-item <!-- IF locked -->hidden<!-- ENDIF locked -->"><i class="fa fa-fw fa-lock"></i> [[topic:thread_tools.lock]]</a></li>
|
|
5
3
|
<li <!-- IF !locked -->hidden<!-- ENDIF !locked -->><a component="topic/unlock" href="#" class="dropdown-item <!-- IF !locked -->hidden<!-- ENDIF !locked -->"><i class="fa fa-fw fa-unlock"></i> [[topic:thread_tools.unlock]]</a></li>
|
|
@@ -69,57 +69,58 @@
|
|
|
69
69
|
</div>
|
|
70
70
|
</div>
|
|
71
71
|
</div>
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
72
|
+
<div class="row col-md-5 col-sm-3 d-none d-md-flex align-self-stretch align-self-lg-start">
|
|
73
|
+
<div class="col-md-5 d-none d-lg-flex stats text-muted gap-2 px-0">
|
|
74
|
+
{{{ if !reputation:disabled }}}
|
|
75
|
+
<div class="stats-votes flex-1">
|
|
76
|
+
<div class="align-items-center card card-header px-0 py-2 border-0 rounded-1">
|
|
77
|
+
<span class="human-readable-number fs-5 fw-semibold ff-secondary lh-1" title="{./votes}" data-toFixed="0">{./votes}</span>
|
|
78
|
+
<span class="text-lowercase text-xs">[[global:votes]]</span>
|
|
79
|
+
</div>
|
|
79
80
|
</div>
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
{{{ end }}}
|
|
82
|
+
<div class="stats-postcount flex-1">
|
|
83
|
+
<div class="align-items-center card card-header px-0 py-2 border-0 rounded-1">
|
|
84
|
+
<span class="human-readable-number fs-5 fw-semibold ff-secondary lh-1" title="{./postcount}" data-toFixed="0">{./postcount}</span>
|
|
85
|
+
<span class="text-lowercase text-xs">[[global:posts]]</span>
|
|
86
|
+
</div>
|
|
86
87
|
</div>
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
<div class="stats-viewcount flex-1">
|
|
89
|
+
<div class="align-items-center card card-header px-0 py-2 border-0 rounded-1">
|
|
90
|
+
<span class="human-readable-number fs-5 fw-semibold ff-secondary lh-1" title="{./viewcount}" data-toFixed="0">{./viewcount}</span>
|
|
91
|
+
<span class="text-lowercase text-xs">[[global:views]]</span>
|
|
92
|
+
</div>
|
|
92
93
|
</div>
|
|
93
94
|
</div>
|
|
94
|
-
</div>
|
|
95
95
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
96
|
+
<div class="col-md-7 col-sm-3 teaser d-none d-md-block overflow-hidden" component="topic/teaser">
|
|
97
|
+
<div class="lastpost background-link-container border-start border-2 h-100" style="border-color: {./category.bgColor}!important;">
|
|
98
|
+
<a class="background-link" href="{config.relative_path}/topic/{./slug}/{./teaser.index}"></a>
|
|
99
|
+
{{{ if ./unreplied }}}
|
|
100
|
+
<p class="ps-3 text-xs lh-1">
|
|
101
|
+
[[category:no_replies]]
|
|
102
|
+
</p>
|
|
103
|
+
{{{ else }}}
|
|
104
|
+
{{{ if ./teaser.pid }}}
|
|
105
|
+
<p class="ps-3 mb-0 lh-1">
|
|
106
|
+
<a href="{config.relative_path}/user/{./teaser.user.userslug}" class="text-decoration-none">{buildAvatar(./teaser.user, "18px", true, "avatar-tooltip not-responsive")}</a>
|
|
107
|
+
<a class="permalink text-muted timeago text-xs" href="{config.relative_path}/topic/{./slug}/{./teaser.index}" title="{./teaser.timestampISO}">
|
|
108
|
+
</a>
|
|
109
|
+
</p>
|
|
110
|
+
<div class="post-content overflow-hidden text-xs line-clamp-2 ps-3">
|
|
111
|
+
{./teaser.content}
|
|
112
|
+
</div>
|
|
113
|
+
{{{ end }}}
|
|
114
|
+
{{{ end }}}
|
|
112
115
|
</div>
|
|
113
|
-
{{{ end }}}
|
|
114
|
-
{{{ end }}}
|
|
115
116
|
</div>
|
|
116
|
-
</div>
|
|
117
117
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
{{{ if showSelect }}}
|
|
119
|
+
<div class="position-absolute top-0 end-0 w-auto p-0">
|
|
120
|
+
<i component="topic/select" class="fa fa-square-o fs-5 text-muted pointer"></i>
|
|
121
|
+
</div>
|
|
122
|
+
{{{ end }}}
|
|
121
123
|
</div>
|
|
122
|
-
{{{ end }}}
|
|
123
124
|
</div>
|
|
124
125
|
<hr class="text-muted opacity-25"/>
|
|
125
126
|
</li>
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
<!-- THIS FILE IS STILL PERSONA -->
|
|
2
|
-
|
|
3
|
-
<div class="persona-usercard">
|
|
4
|
-
<a href="{config.relative_path}/user/{userslug}">
|
|
5
|
-
<!-- IF picture -->
|
|
6
|
-
<div class="usercard-picture" style="background-image:url({picture})"></div>
|
|
7
|
-
<!-- ELSE -->
|
|
8
|
-
<div class="usercard-picture" style="background-color: {icon:bgColor};">{icon:text}</div>
|
|
9
|
-
<!-- ENDIF picture -->
|
|
10
|
-
</a>
|
|
11
|
-
<div class="usercard-body">
|
|
12
|
-
<a href="{config.relative_path}/user/{userslug}">
|
|
13
|
-
<span class="usercard-name"><!-- IF fullname -->{fullname}<!-- ELSE -->{username}<!-- ENDIF fullname --></span><br />
|
|
14
|
-
<span class="usercard-username"><!-- IF !banned -->@{username}<!-- ELSE -->[[user:banned]]<!-- ENDIF !banned --></span>
|
|
15
|
-
<!-- IF !banned -->
|
|
16
|
-
<i component="user/status" class="fa fa-circle status {status}" title="[[global:{status}]]"></i>
|
|
17
|
-
<!-- ENDIF !banned -->
|
|
18
|
-
</a>
|
|
19
|
-
|
|
20
|
-
<div class="row usercard-info">
|
|
21
|
-
<div class="col-4">
|
|
22
|
-
<small>[[global:posts]]</small>
|
|
23
|
-
<span class="human-readable-number">{postcount}</span>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="col-4">
|
|
26
|
-
<small>[[global:reputation]]</small>
|
|
27
|
-
<span class="human-readable-number">{reputation}</span>
|
|
28
|
-
</div>
|
|
29
|
-
|
|
30
|
-
<button class="btn-morph persona-fab <!-- IF banned --> hide<!-- ENDIF banned -->">
|
|
31
|
-
<span>
|
|
32
|
-
<span class="s1"></span>
|
|
33
|
-
<span class="s2"></span>
|
|
34
|
-
<span class="s3"></span>
|
|
35
|
-
</span>
|
|
36
|
-
</button>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- THIS FILE IS STILL PERSONA -->
|
|
2
|
-
|
|
3
|
-
<div class="form-group">
|
|
4
|
-
<label for="agree-terms">[[register:terms_of_use]]</label>
|
|
5
|
-
<div class="tos">{termsOfUse}</div>
|
|
6
|
-
<div class="checkbox">
|
|
7
|
-
<label>
|
|
8
|
-
<input type="checkbox" name="agree-terms" id="agree-terms"> [[register:agree_to_terms_of_use]]
|
|
9
|
-
</label>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|