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 CHANGED
@@ -144,7 +144,7 @@
144
144
 
145
145
  [component="chat/message/remaining"] {
146
146
  position: absolute;
147
- right: 5.25em;
147
+ right: 10em;
148
148
  z-index: 2;
149
149
  bottom: 0;
150
150
  color: @gray-light;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-persona",
3
- "version": "12.1.13",
3
+ "version": "12.1.15",
4
4
  "nbbpm": {
5
5
  "compatibility": "^2.0.0"
6
6
  },
@@ -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">
@@ -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 isAdmin }}}
26
- <p class="panel-body">
27
- [[post-queue:description, {config.relative_path}/admin/settings/post#post-queue]]
28
- </p>
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
  }