nodebb-theme-harmony 1.0.0-beta.32 → 1.0.0-beta.33

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-harmony",
3
- "version": "1.0.0-beta.32",
3
+ "version": "1.0.0-beta.33",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
@@ -26,6 +26,7 @@
26
26
  <textarea component="chat/input" placeholder="[[modules:chat.placeholder]]" class="form-control chat-input mousetrap" rows="2" style="resize:none;"></textarea>
27
27
  <span component="chat/message/remaining" class="text-muted position-absolute me-1 mb-1" style="right: 0px; bottom:0px;">{maximumChatMessageLength}</span>
28
28
  </div>
29
+ <button component="chat/upload/button" class="btn btn-light" type="button"><i class="fa fa-fw fa-2x fa-upload"></i></button>
29
30
  <button class="btn btn-primary" type="button" data-action="send"><i class="fa fa-fw fa-2x fa-paper-plane"></i></button>
30
31
  <form component="chat/upload" method="post" enctype="multipart/form-data">
31
32
  <input type="file" name="files[]" multiple class="hidden"/>
@@ -1,7 +1,7 @@
1
1
  <nav class="{{{ if config.openSidebars}}}open{{{ end }}} text-dark bg-light sidebar sidebar-left start-0 border-end vh-100 d-none d-md-flex flex-column justify-content-between sticky-top ff-secondary">
2
2
  <ul id="main-nav" class="list-unstyled d-flex flex-column w-100 gap-2 mt-2">
3
3
  {{{ each navigation }}}
4
- <!-- IF function.displayMenuItem, @index -->
4
+ {{{ if displayMenuItem(@root, @index) }}}
5
5
  <li class="nav-item mx-2 {./class}{{{ if ./dropdown }}} dropend{{{ end }}}" title="{./title}">
6
6
  <a class="nav-link nav-btn navigation-link d-flex gap-2 justify-content-between align-items-center {{{ if navigation.dropdown }}}dropdown-toggle{{{ end }}}"
7
7
  {{{ if ./dropdown }}} href="#" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" {{{ else }}} href="{./route}"{{{ end }}} {{{ if ./id }}}id="{./id}"{{{ end }}}{{{ if ./targetBlank }}} target="_blank"{{{ end }}}>
@@ -24,8 +24,8 @@
24
24
  </ul>
25
25
  {{{ end }}}
26
26
  </li>
27
- <!-- ENDIF function.displayMenuItem -->
28
- {{{end}}}
27
+ {{{ end }}}
28
+ {{{ end }}}
29
29
  </ul>
30
30
  <div class="w-100">
31
31
  {{{ if !config.disableCustomUserSkins }}}
@@ -1,4 +1,4 @@
1
- <nav class="topic-list-header {{{ if config.stickyToolbar }}} sticky-tools{{{ end }}} navbar navbar-expand p-0 border-0 rounded">
1
+ <nav class="topic-list-header {{{ if config.stickyToolbar }}} sticky-tools{{{ end }}} navbar navbar-expand p-0 border-0 rounded mb-3">
2
2
  <div class="card card-header flex-row p-2 gap-1 border rounded ff-secondary w-100">
3
3
  <ul class="navbar-nav me-auto gap-2 align-items-center">
4
4
  {{{ if template.category }}}
@@ -1,4 +1,4 @@
1
- <ul component="category" class="list-unstyled topic-list pt-4 overflow-auto position-relative" itemscope itemtype="http://www.schema.org/ItemList" data-nextstart="{nextStart}" data-set="{set}">
1
+ <ul component="category" class="list-unstyled topic-list overflow-auto position-relative" itemscope itemtype="http://www.schema.org/ItemList" data-nextstart="{nextStart}" data-set="{set}">
2
2
 
3
3
  {{{ each topics }}}
4
4
  <li component="category/topic" class="category-item position-relative {function.generateTopicClass}" <!-- IMPORT partials/data/category.tpl -->>
@@ -23,7 +23,7 @@
23
23
  </div>
24
24
  {{{ end }}}
25
25
  {{{ end }}}
26
-
26
+ <hr/>
27
27
  {{{ if !tags.length }}}
28
28
  <div class="alert alert-warning">[[tags:no_tags]]</div>
29
29
  {{{ end }}}