nodebb-theme-harmony 1.0.0-beta.30 → 1.0.0-beta.32
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 +10 -0
- package/templates/account/blocks.tpl +35 -41
- package/templates/account/categories.tpl +23 -29
- package/templates/account/consent.tpl +61 -67
- package/templates/account/edit/password.tpl +25 -30
- package/templates/account/edit/username.tpl +21 -26
- package/templates/account/edit.tpl +109 -116
- package/templates/account/followers.tpl +12 -19
- package/templates/account/following.tpl +12 -18
- package/templates/account/groups.tpl +12 -17
- package/templates/account/info.tpl +182 -188
- package/templates/account/posts.tpl +31 -36
- package/templates/account/profile.tpl +66 -73
- package/templates/account/sessions.tpl +8 -13
- package/templates/account/settings.tpl +193 -198
- package/templates/account/theme.tpl +20 -27
- package/templates/account/topics.tpl +33 -38
- package/templates/account/uploads.tpl +35 -40
- package/templates/partials/account/footer.tpl +3 -0
- package/templates/partials/account/header.tpl +78 -74
- package/templates/partials/tags_list.tpl +1 -1
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
<!-- IMPORT partials/account/header.tpl -->
|
|
1
|
+
<!-- IMPORT partials/account/header.tpl -->
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
</ul>
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
3
|
+
<p class="lead">[[user:sessions.description]]</p>
|
|
4
|
+
<hr />
|
|
5
|
+
<ul class="list-group" component="user/sessions">
|
|
6
|
+
<!-- IMPORT partials/account/session-list.tpl -->
|
|
7
|
+
</ul>
|
|
8
|
+
|
|
9
|
+
<!-- IMPORT partials/account/footer.tpl -->
|
|
@@ -1,218 +1,213 @@
|
|
|
1
|
-
|
|
2
|
-
<!-- IMPORT partials/account/header.tpl -->
|
|
1
|
+
<!-- IMPORT partials/account/header.tpl -->
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
<div class="mb-3 d-flex justify-content-between">
|
|
4
|
+
<h3 class="fw-semibold fs-5">{{{ if isSelf }}}[[pages:account/settings]]{{{ else }}}[[pages:account/settings-of, {username}]]{{{ end }}}</h3>
|
|
5
|
+
<button id="submitBtn" class="btn btn-primary">[[global:save_changes]]</button>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="col-12 col-md-6">
|
|
9
|
+
{{{ if !disableCustomUserSkins }}}
|
|
10
|
+
<h6 class="fw-bold">[[user:select-skin]]</h6>
|
|
11
|
+
<div class="">
|
|
12
|
+
<select class="form-select form-select-sm" id="bootswatchSkin" data-property="bootswatchSkin">
|
|
13
|
+
{{{each bootswatchSkinOptions}}}
|
|
14
|
+
<option value="{bootswatchSkinOptions.value}" {{{ if bootswatchSkinOptions.selected }}}selected{{{ end }}}>{bootswatchSkinOptions.name}</option>
|
|
15
|
+
{{{end}}}
|
|
16
|
+
</select>
|
|
17
|
+
</div>
|
|
18
|
+
<hr/>
|
|
19
|
+
{{{ end }}}
|
|
20
|
+
|
|
21
|
+
{{{ if allowUserHomePage }}}
|
|
22
|
+
<h6 class="fw-bold">[[user:select-homepage]]</h6>
|
|
23
|
+
<div class="">
|
|
24
|
+
<div class="mb-2">
|
|
25
|
+
<select class="form-select form-select-sm" id="homePageRoute" data-property="homePageRoute">
|
|
26
|
+
<option value="none">None</option>
|
|
27
|
+
{{{each homePageRoutes}}}
|
|
28
|
+
<option value="{homePageRoutes.route}" <!-- IF homePageRoutes.selected -->selected="1"<!-- ENDIF homePageRoutes.selected -->>{homePageRoutes.name}</option>
|
|
29
|
+
{{{end}}}
|
|
30
|
+
</select>
|
|
31
|
+
<p class="form-text text-xs">[[user:homepage_description]]</p>
|
|
10
32
|
</div>
|
|
11
|
-
<div class="
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
{{{end}}}
|
|
20
|
-
</select>
|
|
21
|
-
</div>
|
|
22
|
-
<hr/>
|
|
23
|
-
{{{ end }}}
|
|
33
|
+
<div id="homePageCustom" class="mb-2" style="display: none;">
|
|
34
|
+
<label class="form-label" for="homePageCustom">[[user:custom_route]]</label>
|
|
35
|
+
<input type="text" class="form-control form-control-sm" data-property="homePageCustom" id="homePageCustom" value="{settings.homePageRoute}"/>
|
|
36
|
+
<p class="form-text text-xs">[[user:custom_route_help]]</p>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<hr/>
|
|
40
|
+
{{{ end }}}
|
|
24
41
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
{{{end}}}
|
|
34
|
-
</select>
|
|
35
|
-
<p class="form-text text-xs">[[user:homepage_description]]</p>
|
|
36
|
-
</div>
|
|
37
|
-
<div id="homePageCustom" class="mb-2" style="display: none;">
|
|
38
|
-
<label class="form-label" for="homePageCustom">[[user:custom_route]]</label>
|
|
39
|
-
<input type="text" class="form-control form-control-sm" data-property="homePageCustom" id="homePageCustom" value="{settings.homePageRoute}"/>
|
|
40
|
-
<p class="form-text text-xs">[[user:custom_route_help]]</p>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
<hr/>
|
|
44
|
-
{{{ end }}}
|
|
42
|
+
<h6 class="fw-bold">[[global:privacy]]</h6>
|
|
43
|
+
<div class="">
|
|
44
|
+
{{{ if !hideEmail }}}
|
|
45
|
+
<div class="form-check">
|
|
46
|
+
<input class="form-check-input" type="checkbox" data-property="showemail" {{{ if settings.showemail }}}checked {{{ end }}}/>
|
|
47
|
+
<label class="form-check-label text-sm">[[user:show_email]]</label>
|
|
48
|
+
</div>
|
|
49
|
+
{{{ end }}}
|
|
45
50
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
{{{ if !hideFullname }}}
|
|
52
|
+
<div class="form-check">
|
|
53
|
+
<input class="form-check-input" type="checkbox" data-property="showfullname" {{{ if settings.showfullname }}}checked{{{ end }}}/>
|
|
54
|
+
<label class="form-check-label text-sm">[[user:show_fullname]]</label>
|
|
55
|
+
</div>
|
|
56
|
+
{{{ end }}}
|
|
57
|
+
{{{ if !config.disableChat }}}
|
|
58
|
+
<div class="form-check">
|
|
59
|
+
<input class="form-check-input" type="checkbox" data-property="restrictChat" {{{ if settings.restrictChat }}}checked{{{ end }}}/>
|
|
60
|
+
<label class="form-check-label text-sm">[[user:restrict_chats]]</label>
|
|
61
|
+
</div>
|
|
62
|
+
{{{ end }}}
|
|
63
|
+
</div>
|
|
64
|
+
<hr/>
|
|
54
65
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
<hr/>
|
|
66
|
+
<h6 class="fw-bold">[[user:browsing]]</h6>
|
|
67
|
+
<div class="">
|
|
68
|
+
<div class="form-check">
|
|
69
|
+
<input class="form-check-input" type="checkbox" data-property="openOutgoingLinksInNewTab" {{{ if settings.openOutgoingLinksInNewTab }}}checked{{{ end }}}/>
|
|
70
|
+
<label class="form-check-label">[[user:open_links_in_new_tab]]</label>
|
|
71
|
+
</div>
|
|
72
|
+
{{{ if inTopicSearchAvailable }}}
|
|
73
|
+
<div class="form-check">
|
|
74
|
+
<input class="form-check-input" type="checkbox" data-property="topicSearchEnabled" {{{ if settings.topicSearchEnabled }}}checked{{{ end }}}/>
|
|
75
|
+
<label class="form-check-label">[[user:enable_topic_searching]]</label>
|
|
76
|
+
</div>
|
|
77
|
+
<p class="form-text text-xs">[[user:topic_search_help]]</p>
|
|
78
|
+
{{{ end }}}
|
|
69
79
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
</div>
|
|
81
|
-
<p class="form-text text-xs">[[user:topic_search_help]]</p>
|
|
82
|
-
{{{ end }}}
|
|
80
|
+
<div class="form-check">
|
|
81
|
+
<input class="form-check-input" type="checkbox" data-property="updateUrlWithPostIndex" {{{ if settings.updateUrlWithPostIndex }}}checked{{{ end }}}/>
|
|
82
|
+
<label class="form-check-label">[[user:update_url_with_post_index]]</label>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="form-check">
|
|
85
|
+
<input class="form-check-input" type="checkbox" data-property="scrollToMyPost" {{{ if settings.scrollToMyPost }}}checked{{{ end }}}/>
|
|
86
|
+
<label class="form-check-label">[[user:scroll_to_my_post]]</label>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
<hr/>
|
|
83
90
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
<h6 class="fw-bold">[[global:pagination]]</h6>
|
|
92
|
+
<div class="">
|
|
93
|
+
<div class="mb-2 form-check">
|
|
94
|
+
<input type="checkbox" class="form-check-input" data-property="usePagination" {{{ if settings.usePagination }}}checked{{{ end }}}>
|
|
95
|
+
<label class="form-check-label">[[user:paginate_description]]</label>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="mb-2">
|
|
98
|
+
<label class="form-label">[[user:topics_per_page]] ([[user:max_items_per_page, {maxTopicsPerPage}]])</label>
|
|
99
|
+
<input type="text" class="form-control form-control-sm" data-property="topicsPerPage" value="{settings.topicsPerPage}">
|
|
100
|
+
</div>
|
|
101
|
+
<div class="">
|
|
102
|
+
<label class="form-label">[[user:posts_per_page]] ([[user:max_items_per_page, {maxPostsPerPage}]])</label>
|
|
103
|
+
<input type="text" class="form-control form-control-sm" data-property="postsPerPage" value="{settings.postsPerPage}">
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
94
106
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
{{{ if !disableEmailSubscriptions }}}
|
|
108
|
+
<hr/>
|
|
109
|
+
<h6 class="fw-bold">[[global:email]]</h6>
|
|
110
|
+
<div class="">
|
|
111
|
+
<div class="mb-2">
|
|
112
|
+
<label class="form-label" for="dailyDigestFreq">[[user:digest_label]]</label>
|
|
113
|
+
<select class="form-select form-select-sm" id="dailyDigestFreq" data-property="dailyDigestFreq" autocomplete="off">
|
|
114
|
+
{{{each dailyDigestFreqOptions}}}
|
|
115
|
+
<option value="{./value}" {{{ if ./selected }}}selected="1"{{{ end }}}>{./name}</option>
|
|
116
|
+
{{{end}}}
|
|
117
|
+
</select>
|
|
118
|
+
<p class="form-text text-xs">[[user:digest_description]]</p>
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
{{{ end }}}
|
|
110
122
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
<select class="form-select form-select-sm" id="dailyDigestFreq" data-property="dailyDigestFreq" autocomplete="off">
|
|
118
|
-
{{{each dailyDigestFreqOptions}}}
|
|
119
|
-
<option value="{./value}" {{{ if ./selected }}}selected="1"{{{ end }}}>{./name}</option>
|
|
120
|
-
{{{end}}}
|
|
121
|
-
</select>
|
|
122
|
-
<p class="form-text text-xs">[[user:digest_description]]</p>
|
|
123
|
-
</div>
|
|
124
|
-
</div>
|
|
125
|
-
{{{ end }}}
|
|
123
|
+
{{{ each customSettings}}}
|
|
124
|
+
<hr/>
|
|
125
|
+
<h6 class="fw-bold">{./title}</h6>
|
|
126
|
+
<div class="">
|
|
127
|
+
{./content}
|
|
128
|
+
</div>
|
|
126
129
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
<div class="">
|
|
131
|
-
{./content}
|
|
132
|
-
</div>
|
|
130
|
+
{{{end}}}
|
|
131
|
+
<hr class="d-block d-md-none"/>
|
|
132
|
+
</div>
|
|
133
133
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
<div class="col-12 col-md-6">
|
|
135
|
+
<h6 class="fw-bold">[[global:language]]</h6>
|
|
136
|
+
<div class="">
|
|
137
|
+
<select data-property="userLang" class="form-select form-select-sm mb-2">
|
|
138
|
+
{{{each languages}}}
|
|
139
|
+
<option value="{./code}" {{{ if ./selected }}}selected{{{ end }}}>{./name} ({./code})</option>
|
|
140
|
+
{{{end}}}
|
|
141
|
+
</select>
|
|
142
|
+
</div>
|
|
143
|
+
<hr/>
|
|
144
|
+
{{{ if (isAdmin && isSelf) }}}
|
|
145
|
+
<h6 class="fw-bold">[[user:acp_language]]</h6>
|
|
146
|
+
<div class="">
|
|
147
|
+
<select data-property="acpLang" class="form-select form-select-sm">
|
|
148
|
+
{{{each acpLanguages}}}
|
|
149
|
+
<option value="{./code}" {{{ if ./selected }}}selected{{{ end }}}>{./name} ({./code})</option>
|
|
150
|
+
{{{end}}}
|
|
151
|
+
</select>
|
|
152
|
+
</div>
|
|
153
|
+
<hr/>
|
|
154
|
+
{{{ end }}}
|
|
137
155
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
</
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
{{{ end }}}
|
|
156
|
+
<h6 class="fw-bold">[[topic:watch]]</h6>
|
|
157
|
+
<div class="">
|
|
158
|
+
<div class="form-check">
|
|
159
|
+
<input class="form-check-input" type="checkbox" data-property="followTopicsOnCreate" {{{ if settings.followTopicsOnCreate }}}checked{{{ end }}}/>
|
|
160
|
+
<label class="form-check-label">[[user:follow_topics_you_create]]</label>
|
|
161
|
+
</div>
|
|
162
|
+
<div class="form-check">
|
|
163
|
+
<input class="form-check-input" type="checkbox" data-property="followTopicsOnReply" {{{ if settings.followTopicsOnReply }}}checked{{{ end }}}/>
|
|
164
|
+
<label class="form-check-label">[[user:follow_topics_you_reply_to]]</label>
|
|
165
|
+
</div>
|
|
166
|
+
<div class="mb-2">
|
|
167
|
+
<label class="form-label">[[user:default-category-watch-state]]</label>
|
|
168
|
+
<select class="form-select form-select-sm" data-property="categoryWatchState">
|
|
169
|
+
<option value="watching" {{{ if categoryWatchState.watching }}}selected{{{ end }}}>[[category:watching]]</option>
|
|
170
|
+
<option value="notwatching" {{{ if categoryWatchState.notwatching }}}selected{{{ end }}}>[[category:not-watching]]</option>
|
|
171
|
+
<option value="ignoring" {{{ if categoryWatchState.ignoring }}}selected{{{ end }}}>[[category:ignoring]]</option>
|
|
172
|
+
</select>
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
<hr/>
|
|
159
176
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
</
|
|
170
|
-
<
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
</div>
|
|
178
|
-
</div>
|
|
179
|
-
<hr/>
|
|
177
|
+
<h6 class="fw-bold">[[user:notifications]]</h6>
|
|
178
|
+
<div class="">
|
|
179
|
+
{{{each notificationSettings}}}
|
|
180
|
+
<div class="row mb-3">
|
|
181
|
+
<div class="col-7">
|
|
182
|
+
<label class="text-sm">{./label}</label>
|
|
183
|
+
</div>
|
|
184
|
+
<div class="mb-2 col-5">
|
|
185
|
+
<select class="form-select form-select-sm" data-property="{./name}">
|
|
186
|
+
<option value="none" {{{ if ./none }}}selected{{{ end }}}>[[notifications:none]]</option>
|
|
187
|
+
<option value="notification" {{{ if ./notification }}}selected{{{ end }}}>[[notifications:notification_only]]</option>
|
|
188
|
+
<option value="email" {{{ if ./email }}}selected{{{ end }}}>[[notifications:email_only]]</option>
|
|
189
|
+
<option value="notificationemail" {{{ if ./notificationemail }}}selected{{{ end }}}>[[notifications:notification_and_email]]</option>
|
|
190
|
+
</select>
|
|
191
|
+
</div>
|
|
192
|
+
</div>
|
|
193
|
+
{{{end}}}
|
|
180
194
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
<option value="notification" {{{ if ./notification }}}selected{{{ end }}}>[[notifications:notification_only]]</option>
|
|
192
|
-
<option value="email" {{{ if ./email }}}selected{{{ end }}}>[[notifications:email_only]]</option>
|
|
193
|
-
<option value="notificationemail" {{{ if ./notificationemail }}}selected{{{ end }}}>[[notifications:notification_and_email]]</option>
|
|
194
|
-
</select>
|
|
195
|
-
</div>
|
|
196
|
-
</div>
|
|
195
|
+
<div class="row">
|
|
196
|
+
<div class="col-7">
|
|
197
|
+
<label class="text-sm" for="upvote-notif-freq">[[user:upvote-notif-freq]]</label>
|
|
198
|
+
</div>
|
|
199
|
+
<div class="mb-2 col-5">
|
|
200
|
+
<select class="form-select form-select-sm" id="upvote-notif-freq" name="upvote-notif-freq" data-property="upvoteNotifFreq">
|
|
201
|
+
{{{ each upvoteNotifFreq }}}
|
|
202
|
+
<option value="{./name}" {{{ if ./selected }}}selected{{{ end }}}>
|
|
203
|
+
[[user:upvote-notif-freq.{./name}]]
|
|
204
|
+
</option>
|
|
197
205
|
{{{end}}}
|
|
198
|
-
|
|
199
|
-
<div class="row">
|
|
200
|
-
<div class="col-7">
|
|
201
|
-
<label class="text-sm" for="upvote-notif-freq">[[user:upvote-notif-freq]]</label>
|
|
202
|
-
</div>
|
|
203
|
-
<div class="mb-2 col-5">
|
|
204
|
-
<select class="form-select form-select-sm" id="upvote-notif-freq" name="upvote-notif-freq" data-property="upvoteNotifFreq">
|
|
205
|
-
{{{ each upvoteNotifFreq }}}
|
|
206
|
-
<option value="{./name}" {{{ if ./selected }}}selected{{{ end }}}>
|
|
207
|
-
[[user:upvote-notif-freq.{./name}]]
|
|
208
|
-
</option>
|
|
209
|
-
{{{end}}}
|
|
210
|
-
</select>
|
|
211
|
-
</div>
|
|
212
|
-
</div>
|
|
213
|
-
</div>
|
|
206
|
+
</select>
|
|
214
207
|
</div>
|
|
215
208
|
</div>
|
|
216
209
|
</div>
|
|
217
210
|
</div>
|
|
218
211
|
</div>
|
|
212
|
+
|
|
213
|
+
<!-- IMPORT partials/account/footer.tpl -->
|
|
@@ -1,33 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
<!-- IMPORT partials/account/header.tpl -->
|
|
1
|
+
<!-- IMPORT partials/account/header.tpl -->
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
<div class="account-content flex-1 ps-md-2 ps-lg-5" style="min-width: 0;">
|
|
7
|
-
<div class="mb-3 d-flex justify-content-between">
|
|
8
|
-
<h3 class="fw-semibold fs-5">[[harmony:settings.title]]</h3>
|
|
3
|
+
<div class="mb-3 d-flex justify-content-between">
|
|
4
|
+
<h3 class="fw-semibold fs-5">[[harmony:settings.title]]</h3>
|
|
9
5
|
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
<button id="save" type="button" class="btn btn-primary">[[global:save_changes]]</button>
|
|
7
|
+
</div>
|
|
12
8
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
<div class="form-check mb-2">
|
|
20
|
-
<input class="form-check-input" type="checkbox" id="centerHeaderElements" name="centerHeaderElements" {{{ if config.centerHeaderElements }}}checked{{{ end }}}>
|
|
21
|
-
<label class="form-check-label">[[harmony:settings.centerHeaderElements]]</label>
|
|
22
|
-
</div>
|
|
23
|
-
|
|
24
|
-
<div class="form-check mb-2">
|
|
25
|
-
<input class="form-check-input" type="checkbox" id="stickyToolbar" name="stickyToolbar" {{{ if config.stickyToolbar }}}checked{{{ end }}}>
|
|
26
|
-
<label class="form-check-label">[[harmony:settings.stickyToolbar]]</label>
|
|
27
|
-
</div>
|
|
9
|
+
<form id="theme-settings" role="form">
|
|
10
|
+
<div class="form-check mb-2">
|
|
11
|
+
<input class="form-check-input" type="checkbox" id="enableQuickReply" name="enableQuickReply" {{{ if config.enableQuickReply }}}checked{{{ end }}}>
|
|
12
|
+
<label class="form-check-label">[[harmony:settings.enableQuickReply]]</label>
|
|
13
|
+
</div>
|
|
28
14
|
|
|
15
|
+
<div class="form-check mb-2">
|
|
16
|
+
<input class="form-check-input" type="checkbox" id="centerHeaderElements" name="centerHeaderElements" {{{ if config.centerHeaderElements }}}checked{{{ end }}}>
|
|
17
|
+
<label class="form-check-label">[[harmony:settings.centerHeaderElements]]</label>
|
|
18
|
+
</div>
|
|
29
19
|
|
|
30
|
-
|
|
31
|
-
|
|
20
|
+
<div class="form-check mb-2">
|
|
21
|
+
<input class="form-check-input" type="checkbox" id="stickyToolbar" name="stickyToolbar" {{{ if config.stickyToolbar }}}checked{{{ end }}}>
|
|
22
|
+
<label class="form-check-label">[[harmony:settings.stickyToolbar]]</label>
|
|
32
23
|
</div>
|
|
33
|
-
</
|
|
24
|
+
</form>
|
|
25
|
+
|
|
26
|
+
<!-- IMPORT partials/account/footer.tpl -->
|
|
@@ -1,44 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
<!-- IMPORT partials/account/header.tpl -->
|
|
1
|
+
<!-- IMPORT partials/account/header.tpl -->
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
</div>
|
|
19
|
-
{{{ end }}}
|
|
20
|
-
</div>
|
|
3
|
+
<div class="d-flex justify-content-between align-items-center mb-3">
|
|
4
|
+
<div class="d-flex gap-1">
|
|
5
|
+
<h3 class="fw-semibold fs-5 mb-0">[[global:topics]]</h3>
|
|
6
|
+
{{{ if showSort }}}
|
|
7
|
+
<div class="btn-group bottom-sheet" component="thread/sort">
|
|
8
|
+
<button title="[[global:sort]]" class="btn-ghost-sm dropdown-toggle" data-bs-toggle="dropdown" type="button"><i class="fa-solid fa-arrow-up-wide-short"></i></button>
|
|
9
|
+
<ul class="dropdown-menu">
|
|
10
|
+
{{{each sortOptions }}}
|
|
11
|
+
<li><a class="dropdown-item" href="{config.relative_path}{./url}"><i class="fa fa-fw {{{if ./selected}}}fa-check{{{end}}}"></i>{./name}</a></li>
|
|
12
|
+
{{{end}}}
|
|
13
|
+
</ul>
|
|
14
|
+
</div>
|
|
15
|
+
{{{ end }}}
|
|
16
|
+
</div>
|
|
21
17
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
18
|
+
<div class="d-flex gap-1">
|
|
19
|
+
{{{ if canEdit }}}
|
|
20
|
+
<a href="{config.relative_path}/user/{userslug}/topics" class="btn-ghost-sm fw-semibold {{{ if template.account/topics }}}active{{{ end }}}">[[global:header.recent]]</a>
|
|
21
|
+
<a href="{config.relative_path}/user/{userslug}/watched"class="btn-ghost-sm fw-semibold {{{ if template.account/watched }}}active{{{ end }}}">[[user:watched]]</a>
|
|
22
|
+
<a href="{config.relative_path}/user/{userslug}/ignored" class="btn-ghost-sm fw-semibold {{{ if template.account/ignored }}}active{{{ end }}}">[[user:ignored]]</a>
|
|
23
|
+
{{{ end }}}
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
30
26
|
|
|
31
27
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
{{{ if !topics.length }}}
|
|
29
|
+
<div class="alert alert-warning text-center">{noItemsFoundKey}</div>
|
|
30
|
+
{{{ end }}}
|
|
35
31
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
32
|
+
<div class="category">
|
|
33
|
+
<!-- IMPORT partials/topics_list.tpl -->
|
|
34
|
+
{{{ if config.usePagination }}}
|
|
35
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
36
|
+
{{{ end }}}
|
|
44
37
|
</div>
|
|
38
|
+
|
|
39
|
+
<!-- IMPORT partials/account/footer.tpl -->
|