nodebb-theme-persona 12.1.13 → 12.1.15
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/less/chats.less +1 -1
- package/package.json +1 -1
- package/templates/chat.tpl +1 -0
- package/templates/partials/acceptTos.tpl +8 -8
- package/templates/partials/categories/link.tpl +10 -10
- package/templates/partials/chats/message-window.tpl +1 -0
- package/templates/post-queue.tpl +16 -7
- package/theme.json +6 -6
package/less/chats.less
CHANGED
package/package.json
CHANGED
package/templates/chat.tpl
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
<div component="chat/composer">
|
|
21
21
|
<textarea component="chat/input" placeholder="[[modules:chat.placeholder]]" class="form-control chat-input mousetrap" rows="1"></textarea>
|
|
22
|
+
<button component="chat/upload/button" class="btn btn-light" type="button"><i class="fa fa-fw fa-2x fa-upload"></i></button>
|
|
22
23
|
<button class="btn btn-primary" type="button" data-action="send"><i class="fa fa-fw fa-2x fa-paper-plane"></i></button>
|
|
23
24
|
<span component="chat/message/remaining">{maximumChatMessageLength}</span>
|
|
24
25
|
<form component="chat/upload" method="post" enctype="multipart/form-data">
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<div class="form-group">
|
|
2
|
-
<label for="agree-terms">[[register:terms_of_use]]</label>
|
|
3
|
-
<div class="tos">{termsOfUse}</div>
|
|
4
|
-
<div class="checkbox">
|
|
5
|
-
<label>
|
|
6
|
-
<input type="checkbox" name="agree-terms" id="agree-terms"> [[register:agree_to_terms_of_use]]
|
|
7
|
-
</label>
|
|
8
|
-
</div>
|
|
1
|
+
<div class="form-group">
|
|
2
|
+
<label for="agree-terms">[[register:terms_of_use]]</label>
|
|
3
|
+
<div class="tos">{termsOfUse}</div>
|
|
4
|
+
<div class="checkbox">
|
|
5
|
+
<label>
|
|
6
|
+
<input type="checkbox" name="agree-terms" id="agree-terms"> [[register:agree_to_terms_of_use]]
|
|
7
|
+
</label>
|
|
8
|
+
</div>
|
|
9
9
|
</div>
|
|
@@ -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 -->
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
</ul>
|
|
19
19
|
<div component="chat/composer">
|
|
20
20
|
<textarea component="chat/input" placeholder="[[modules:chat.placeholder]]" class="form-control chat-input mousetrap" rows="2"></textarea>
|
|
21
|
+
<button component="chat/upload/button" class="btn btn-light" type="button"><i class="fa fa-fw fa-2x fa-upload"></i></button>
|
|
21
22
|
<button class="btn btn-primary" type="button" data-action="send"><i class="fa fa-fw fa-2x fa-paper-plane"></i></button>
|
|
22
23
|
<span component="chat/message/remaining">{maximumChatMessageLength}</span>
|
|
23
24
|
<form component="chat/upload" method="post" enctype="multipart/form-data">
|
package/templates/post-queue.tpl
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
|
+
|
|
3
|
+
{{{ if !singlePost }}}
|
|
2
4
|
<div class="btn-toolbar">
|
|
3
5
|
<!-- IMPORT partials/category-filter-right.tpl -->
|
|
4
6
|
|
|
5
|
-
{{{ if !singlePost }}}
|
|
6
7
|
<div class="btn-group pull-right bottom-sheet" component="post-queue/bulk-actions">
|
|
7
8
|
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" autocomplete="off" aria-haspopup="true" aria-expanded="false">
|
|
8
9
|
<i class="fa fa-clone"></i> [[post-queue:bulk-actions]] <span class="caret"></span>
|
|
@@ -15,17 +16,25 @@
|
|
|
15
16
|
<li><a href="#" data-action="reject-selected">[[post-queue:reject-selected]]</a></li>
|
|
16
17
|
</ul>
|
|
17
18
|
</div>
|
|
18
|
-
{{{ end }}}
|
|
19
19
|
</div>
|
|
20
|
+
|
|
20
21
|
<hr/>
|
|
22
|
+
{{{ end }}}
|
|
23
|
+
|
|
21
24
|
<div class="row">
|
|
22
25
|
<div class="col-xs-12">
|
|
23
26
|
<div class="post-queue preventSlideout posts-list">
|
|
24
|
-
{{{ if !posts.length }}}
|
|
25
|
-
{{{ if
|
|
26
|
-
<
|
|
27
|
-
[[post-queue:
|
|
28
|
-
|
|
27
|
+
{{{ if (!posts.length && isAdmin) }}}
|
|
28
|
+
{{{ if !singlePost }}}
|
|
29
|
+
<div class="alert alert-info">
|
|
30
|
+
<p>[[post-queue:no-queued-posts]]</p>
|
|
31
|
+
{{{ if !enabled }}}<p>[[post-queue:enabling-help, {config.relative_path}/admin/settings/post#post-queue]]</p>{{{ end }}}
|
|
32
|
+
</div>
|
|
33
|
+
{{{ else }}}
|
|
34
|
+
<div class="alert alert-info">
|
|
35
|
+
<p>[[post-queue:no-single-post]]</p>
|
|
36
|
+
<p><a href=".">[[post-queue:back-to-list]]</a></p>
|
|
37
|
+
</div>
|
|
29
38
|
{{{ end }}}
|
|
30
39
|
{{{ end }}}
|
|
31
40
|
|
package/theme.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "nodebb-theme-persona",
|
|
3
|
-
"name": "Persona",
|
|
4
|
-
"description": "The default theme for NodeBB. Uses a standard approach to forum design.",
|
|
5
|
-
"url": "https://github.com/psychobunny/nodebb-theme-persona",
|
|
6
|
-
"screenshot": "screenshot.png"
|
|
1
|
+
{
|
|
2
|
+
"id": "nodebb-theme-persona",
|
|
3
|
+
"name": "Persona",
|
|
4
|
+
"description": "The default theme for NodeBB. Uses a standard approach to forum design.",
|
|
5
|
+
"url": "https://github.com/psychobunny/nodebb-theme-persona",
|
|
6
|
+
"screenshot": "screenshot.png"
|
|
7
7
|
}
|