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.
@@ -1,14 +1,9 @@
1
- <div class="account">
2
- <!-- IMPORT partials/account/header.tpl -->
1
+ <!-- IMPORT partials/account/header.tpl -->
3
2
 
4
- <div class="d-flex flex-column flex-md-row">
5
- <!-- IMPORT partials/account/sidebar-left.tpl -->
6
- <div class="account-content flex-1 ps-md-2 ps-lg-5" style="min-width: 0;">
7
- <p class="lead">[[user:sessions.description]]</p>
8
- <hr />
9
- <ul class="list-group" component="user/sessions">
10
- <!-- IMPORT partials/account/session-list.tpl -->
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
- <div class="account">
2
- <!-- IMPORT partials/account/header.tpl -->
1
+ <!-- IMPORT partials/account/header.tpl -->
3
2
 
4
- <div class="d-flex flex-column flex-md-row">
5
- <!-- IMPORT partials/account/sidebar-left.tpl -->
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">{{{ if isSelf }}}[[pages:account/settings]]{{{ else }}}[[pages:account/settings-of, {username}]]{{{ end }}}</h3>
9
- <button id="submitBtn" class="btn btn-primary">[[global:save_changes]]</button>
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="row">
12
- <div class="col-12 col-md-6">
13
- {{{ if !disableCustomUserSkins }}}
14
- <h6 class="fw-bold">[[user:select-skin]]</h6>
15
- <div class="">
16
- <select class="form-select form-select-sm" id="bootswatchSkin" data-property="bootswatchSkin">
17
- {{{each bootswatchSkinOptions}}}
18
- <option value="{bootswatchSkinOptions.value}" {{{ if bootswatchSkinOptions.selected }}}selected{{{ end }}}>{bootswatchSkinOptions.name}</option>
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
- {{{ if allowUserHomePage }}}
26
- <h6 class="fw-bold">[[user:select-homepage]]</h6>
27
- <div class="">
28
- <div class="mb-2">
29
- <select class="form-select form-select-sm" id="homePageRoute" data-property="homePageRoute">
30
- <option value="none">None</option>
31
- {{{each homePageRoutes}}}
32
- <option value="{homePageRoutes.route}" <!-- IF homePageRoutes.selected -->selected="1"<!-- ENDIF homePageRoutes.selected -->>{homePageRoutes.name}</option>
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
- <h6 class="fw-bold">[[global:privacy]]</h6>
47
- <div class="">
48
- {{{ if !hideEmail }}}
49
- <div class="form-check">
50
- <input class="form-check-input" type="checkbox" data-property="showemail" {{{ if settings.showemail }}}checked {{{ end }}}/>
51
- <label class="form-check-label text-sm">[[user:show_email]]</label>
52
- </div>
53
- {{{ end }}}
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
- {{{ if !hideFullname }}}
56
- <div class="form-check">
57
- <input class="form-check-input" type="checkbox" data-property="showfullname" {{{ if settings.showfullname }}}checked{{{ end }}}/>
58
- <label class="form-check-label text-sm">[[user:show_fullname]]</label>
59
- </div>
60
- {{{ end }}}
61
- {{{ if !config.disableChat }}}
62
- <div class="form-check">
63
- <input class="form-check-input" type="checkbox" data-property="restrictChat" {{{ if settings.restrictChat }}}checked{{{ end }}}/>
64
- <label class="form-check-label text-sm">[[user:restrict_chats]]</label>
65
- </div>
66
- {{{ end }}}
67
- </div>
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
- <h6 class="fw-bold">[[user:browsing]]</h6>
71
- <div class="">
72
- <div class="form-check">
73
- <input class="form-check-input" type="checkbox" data-property="openOutgoingLinksInNewTab" {{{ if settings.openOutgoingLinksInNewTab }}}checked{{{ end }}}/>
74
- <label class="form-check-label">[[user:open_links_in_new_tab]]</label>
75
- </div>
76
- {{{ if inTopicSearchAvailable }}}
77
- <div class="form-check">
78
- <input class="form-check-input" type="checkbox" data-property="topicSearchEnabled" {{{ if settings.topicSearchEnabled }}}checked{{{ end }}}/>
79
- <label class="form-check-label">[[user:enable_topic_searching]]</label>
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
- <div class="form-check">
85
- <input class="form-check-input" type="checkbox" data-property="updateUrlWithPostIndex" {{{ if settings.updateUrlWithPostIndex }}}checked{{{ end }}}/>
86
- <label class="form-check-label">[[user:update_url_with_post_index]]</label>
87
- </div>
88
- <div class="form-check">
89
- <input class="form-check-input" type="checkbox" data-property="scrollToMyPost" {{{ if settings.scrollToMyPost }}}checked{{{ end }}}/>
90
- <label class="form-check-label">[[user:scroll_to_my_post]]</label>
91
- </div>
92
- </div>
93
- <hr/>
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
- <h6 class="fw-bold">[[global:pagination]]</h6>
96
- <div class="">
97
- <div class="mb-2 form-check">
98
- <input type="checkbox" class="form-check-input" data-property="usePagination" {{{ if settings.usePagination }}}checked{{{ end }}}>
99
- <label class="form-check-label">[[user:paginate_description]]</label>
100
- </div>
101
- <div class="mb-2">
102
- <label class="form-label">[[user:topics_per_page]] ([[user:max_items_per_page, {maxTopicsPerPage}]])</label>
103
- <input type="text" class="form-control form-control-sm" data-property="topicsPerPage" value="{settings.topicsPerPage}">
104
- </div>
105
- <div class="">
106
- <label class="form-label">[[user:posts_per_page]] ([[user:max_items_per_page, {maxPostsPerPage}]])</label>
107
- <input type="text" class="form-control form-control-sm" data-property="postsPerPage" value="{settings.postsPerPage}">
108
- </div>
109
- </div>
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
- {{{ if !disableEmailSubscriptions }}}
112
- <hr/>
113
- <h6 class="fw-bold">[[global:email]]</h6>
114
- <div class="">
115
- <div class="mb-2">
116
- <label class="form-label" for="dailyDigestFreq">[[user:digest_label]]</label>
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
- {{{ each customSettings}}}
128
- <hr/>
129
- <h6 class="fw-bold">{./title}</h6>
130
- <div class="">
131
- {./content}
132
- </div>
130
+ {{{end}}}
131
+ <hr class="d-block d-md-none"/>
132
+ </div>
133
133
 
134
- {{{end}}}
135
- <hr class="d-block d-md-none"/>
136
- </div>
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
- <div class="col-12 col-md-6">
139
- <h6 class="fw-bold">[[global:language]]</h6>
140
- <div class="">
141
- <select data-property="userLang" class="form-select form-select-sm mb-2">
142
- {{{each languages}}}
143
- <option value="{./code}" {{{ if ./selected }}}selected{{{ end }}}>{./name} ({./code})</option>
144
- {{{end}}}
145
- </select>
146
- </div>
147
- <hr/>
148
- {{{ if (isAdmin && isSelf) }}}
149
- <h6 class="fw-bold">[[user:acp_language]]</h6>
150
- <div class="">
151
- <select data-property="acpLang" class="form-select form-select-sm">
152
- {{{each acpLanguages}}}
153
- <option value="{./code}" {{{ if ./selected }}}selected{{{ end }}}>{./name} ({./code})</option>
154
- {{{end}}}
155
- </select>
156
- </div>
157
- <hr/>
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
- <h6 class="fw-bold">[[topic:watch]]</h6>
161
- <div class="">
162
- <div class="form-check">
163
- <input class="form-check-input" type="checkbox" data-property="followTopicsOnCreate" {{{ if settings.followTopicsOnCreate }}}checked{{{ end }}}/>
164
- <label class="form-check-label">[[user:follow_topics_you_create]]</label>
165
- </div>
166
- <div class="form-check">
167
- <input class="form-check-input" type="checkbox" data-property="followTopicsOnReply" {{{ if settings.followTopicsOnReply }}}checked{{{ end }}}/>
168
- <label class="form-check-label">[[user:follow_topics_you_reply_to]]</label>
169
- </div>
170
- <div class="mb-2">
171
- <label class="form-label">[[user:default-category-watch-state]]</label>
172
- <select class="form-select form-select-sm" data-property="categoryWatchState">
173
- <option value="watching" {{{ if categoryWatchState.watching }}}selected{{{ end }}}>[[category:watching]]</option>
174
- <option value="notwatching" {{{ if categoryWatchState.notwatching }}}selected{{{ end }}}>[[category:not-watching]]</option>
175
- <option value="ignoring" {{{ if categoryWatchState.ignoring }}}selected{{{ end }}}>[[category:ignoring]]</option>
176
- </select>
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
- <h6 class="fw-bold">[[user:notifications]]</h6>
182
- <div class="">
183
- {{{each notificationSettings}}}
184
- <div class="row mb-3">
185
- <div class="col-7">
186
- <label class="text-sm">{./label}</label>
187
- </div>
188
- <div class="mb-2 col-5">
189
- <select class="form-select form-select-sm" data-property="{./name}">
190
- <option value="none" {{{ if ./none }}}selected{{{ end }}}>[[notifications:none]]</option>
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
- <div class="account">
2
- <!-- IMPORT partials/account/header.tpl -->
1
+ <!-- IMPORT partials/account/header.tpl -->
3
2
 
4
- <div class="d-flex flex-column flex-md-row">
5
- <!-- IMPORT partials/account/sidebar-left.tpl -->
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
- <button id="save" type="button" class="btn btn-primary">[[global:save_changes]]</button>
11
- </div>
6
+ <button id="save" type="button" class="btn btn-primary">[[global:save_changes]]</button>
7
+ </div>
12
8
 
13
- <form id="theme-settings" role="form">
14
- <div class="form-check mb-2">
15
- <input class="form-check-input" type="checkbox" id="enableQuickReply" name="enableQuickReply" {{{ if config.enableQuickReply }}}checked{{{ end }}}>
16
- <label class="form-check-label">[[harmony:settings.enableQuickReply]]</label>
17
- </div>
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
- </form>
31
- </div>
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
- </div>
24
+ </form>
25
+
26
+ <!-- IMPORT partials/account/footer.tpl -->
@@ -1,44 +1,39 @@
1
- <div class="account">
2
- <!-- IMPORT partials/account/header.tpl -->
1
+ <!-- IMPORT partials/account/header.tpl -->
3
2
 
4
- <div class="d-flex flex-column flex-md-row">
5
- <!-- IMPORT partials/account/sidebar-left.tpl -->
6
- <div class="account-content flex-1 ps-md-2 ps-lg-5" style="min-width: 0;">
7
- <div class="d-flex justify-content-between align-items-center mb-3">
8
- <div class="d-flex gap-1">
9
- <h3 class="fw-semibold fs-5 mb-0">[[global:topics]]</h3>
10
- {{{ if showSort }}}
11
- <div class="btn-group bottom-sheet" component="thread/sort">
12
- <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>
13
- <ul class="dropdown-menu">
14
- {{{each sortOptions }}}
15
- <li><a class="dropdown-item" href="{config.relative_path}{./url}"><i class="fa fa-fw {{{if ./selected}}}fa-check{{{end}}}"></i>{./name}</a></li>
16
- {{{end}}}
17
- </ul>
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
- <div class="d-flex gap-1">
23
- {{{ if canEdit }}}
24
- <a href="{config.relative_path}/user/{userslug}/topics" class="btn-ghost-sm fw-semibold {{{ if template.account/topics }}}active{{{ end }}}">[[global:header.recent]]</a>
25
- <a href="{config.relative_path}/user/{userslug}/watched"class="btn-ghost-sm fw-semibold {{{ if template.account/watched }}}active{{{ end }}}">[[user:watched]]</a>
26
- <a href="{config.relative_path}/user/{userslug}/ignored" class="btn-ghost-sm fw-semibold {{{ if template.account/ignored }}}active{{{ end }}}">[[user:ignored]]</a>
27
- {{{ end }}}
28
- </div>
29
- </div>
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
- {{{ if !topics.length }}}
33
- <div class="alert alert-warning text-center">{noItemsFoundKey}</div>
34
- {{{ end }}}
28
+ {{{ if !topics.length }}}
29
+ <div class="alert alert-warning text-center">{noItemsFoundKey}</div>
30
+ {{{ end }}}
35
31
 
36
- <div class="category">
37
- <!-- IMPORT partials/topics_list.tpl -->
38
- {{{ if config.usePagination }}}
39
- <!-- IMPORT partials/paginator.tpl -->
40
- {{{ end }}}
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 -->