nodebb-theme-persona 11.2.20 → 11.2.21
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/.eslintrc +2 -2
- package/README.md +14 -14
- package/languages/de/persona.json +3 -3
- package/languages/en-GB/persona.json +2 -2
- package/languages/en-US/persona.json +2 -2
- package/languages/fr/persona.json +3 -3
- package/languages/pl/persona.json +3 -3
- package/languages/pt-PT/persona.json +2 -2
- package/languages/tr/persona.json +4 -4
- package/languages/zh-CN/persona.json +4 -4
- package/less/bootstrap/.csscomb.json +297 -297
- package/less/bootstrap/.csslintrc +19 -19
- package/less/bootstrap/alerts.less +73 -73
- package/less/bootstrap/badges.less +66 -66
- package/less/bootstrap/bootstrap.less +50 -50
- package/less/bootstrap/breadcrumbs.less +26 -26
- package/less/bootstrap/button-groups.less +243 -243
- package/less/bootstrap/buttons.less +160 -160
- package/less/bootstrap/carousel.less +269 -269
- package/less/bootstrap/close.less +34 -34
- package/less/bootstrap/code.less +69 -69
- package/less/bootstrap/component-animations.less +33 -33
- package/less/bootstrap/forms.less +574 -574
- package/less/bootstrap/glyphicons.less +305 -305
- package/less/bootstrap/grid.less +84 -84
- package/less/bootstrap/input-groups.less +166 -166
- package/less/bootstrap/jumbotron.less +50 -50
- package/less/bootstrap/labels.less +64 -64
- package/less/bootstrap/list-group.less +124 -124
- package/less/bootstrap/media.less +61 -61
- package/less/bootstrap/mixins/alerts.less +14 -14
- package/less/bootstrap/mixins/background-variant.less +8 -8
- package/less/bootstrap/mixins/border-radius.less +18 -18
- package/less/bootstrap/mixins/buttons.less +52 -52
- package/less/bootstrap/mixins/center-block.less +7 -7
- package/less/bootstrap/mixins/clearfix.less +22 -22
- package/less/bootstrap/mixins/forms.less +85 -85
- package/less/bootstrap/mixins/gradients.less +59 -59
- package/less/bootstrap/mixins/grid-framework.less +91 -91
- package/less/bootstrap/mixins/grid.less +122 -122
- package/less/bootstrap/mixins/hide-text.less +21 -21
- package/less/bootstrap/mixins/image.less +33 -33
- package/less/bootstrap/mixins/labels.less +12 -12
- package/less/bootstrap/mixins/list-group.less +29 -29
- package/less/bootstrap/mixins/nav-divider.less +10 -10
- package/less/bootstrap/mixins/nav-vertical-align.less +9 -9
- package/less/bootstrap/mixins/opacity.less +8 -8
- package/less/bootstrap/mixins/pagination.less +23 -23
- package/less/bootstrap/mixins/panels.less +24 -24
- package/less/bootstrap/mixins/progress-bar.less +10 -10
- package/less/bootstrap/mixins/reset-filter.less +8 -8
- package/less/bootstrap/mixins/resize.less +6 -6
- package/less/bootstrap/mixins/responsive-visibility.less +15 -15
- package/less/bootstrap/mixins/size.less +10 -10
- package/less/bootstrap/mixins/tab-focus.less +9 -9
- package/less/bootstrap/mixins/table-row.less +28 -28
- package/less/bootstrap/mixins/text-emphasis.less +8 -8
- package/less/bootstrap/mixins/text-overflow.less +8 -8
- package/less/bootstrap/mixins/vendor-prefixes.less +227 -227
- package/less/bootstrap/mixins.less +39 -39
- package/less/bootstrap/modals.less +150 -150
- package/less/bootstrap/navbar.less +660 -660
- package/less/bootstrap/navs.less +242 -242
- package/less/bootstrap/normalize.less +427 -427
- package/less/bootstrap/pager.less +54 -54
- package/less/bootstrap/pagination.less +88 -88
- package/less/bootstrap/panels.less +265 -265
- package/less/bootstrap/popovers.less +135 -135
- package/less/bootstrap/print.less +107 -107
- package/less/bootstrap/progress-bars.less +87 -87
- package/less/bootstrap/responsive-embed.less +35 -35
- package/less/bootstrap/responsive-utilities.less +194 -194
- package/less/bootstrap/scaffolding.less +161 -161
- package/less/bootstrap/tables.less +234 -234
- package/less/bootstrap/theme.less +273 -273
- package/less/bootstrap/thumbnails.less +36 -36
- package/less/bootstrap/tooltip.less +102 -102
- package/less/bootstrap/type.less +302 -302
- package/less/bootstrap/utilities.less +55 -55
- package/less/bootstrap/variables.less +861 -861
- package/less/bootstrap/wells.less +29 -29
- package/less/bootstrap-flipped.css +1550 -1550
- package/less/categories.less +235 -235
- package/less/chats.less +622 -622
- package/less/flags.less +42 -42
- package/less/footer.less +17 -17
- package/less/ip-blacklist.less +6 -6
- package/less/keyframes.less +152 -152
- package/less/mobile.less +291 -291
- package/less/modules/composer-default.less +16 -16
- package/less/modules/cookie-consent.less +12 -12
- package/less/modules/fab.less +32 -32
- package/less/modules/morph.less +268 -268
- package/less/modules/necro-post.less +8 -8
- package/less/modules/nprogress.less +80 -80
- package/less/modules/usercard.less +64 -64
- package/less/noscript.less +82 -82
- package/less/notifications.less +37 -37
- package/less/outgoing.less +8 -8
- package/less/persona.less +47 -47
- package/less/post-queue.less +19 -19
- package/less/register.less +75 -75
- package/less/rtl.less +132 -132
- package/less/style.less +303 -303
- package/less/tags.less +36 -36
- package/less/topics_list.less +15 -15
- package/less/users.less +72 -72
- package/less/variables.less +6 -6
- package/package.json +1 -1
- package/public/.eslintrc +2 -2
- package/public/admin.js +23 -23
- package/public/modules/autohidingnavbar.js +220 -220
- package/templates/account/blocks.tpl +34 -34
- package/templates/account/categories.tpl +28 -28
- package/templates/account/consent.tpl +68 -68
- package/templates/account/edit/email.tpl +30 -30
- package/templates/account/edit/password.tpl +31 -31
- package/templates/account/edit/username.tpl +29 -29
- package/templates/account/followers.tpl +16 -16
- package/templates/account/following.tpl +16 -16
- package/templates/account/groups.tpl +16 -16
- package/templates/account/info.tpl +187 -187
- package/templates/account/posts.tpl +18 -18
- package/templates/account/sessions.tpl +31 -31
- package/templates/account/topics.tpl +30 -30
- package/templates/account/uploads.tpl +42 -42
- package/templates/admin/plugins/persona.tpl +28 -28
- package/templates/alert.tpl +15 -15
- package/templates/categories.tpl +31 -31
- package/templates/category.tpl +62 -62
- package/templates/chats.tpl +15 -15
- package/templates/flags/list.tpl +71 -71
- package/templates/footer.tpl +18 -18
- package/templates/groups/details.tpl +272 -272
- package/templates/groups/list.tpl +46 -46
- package/templates/groups/members.tpl +8 -8
- package/templates/ip-blacklist.tpl +55 -55
- package/templates/login.tpl +90 -90
- package/templates/modules/taskbar.tpl +2 -2
- package/templates/modules/usercard.tpl +36 -36
- package/templates/notifications.tpl +64 -64
- package/templates/partials/acceptTos.tpl +8 -8
- package/templates/partials/account/category-item.tpl +22 -22
- package/templates/partials/account/header.tpl +46 -46
- package/templates/partials/breadcrumbs.tpl +18 -18
- package/templates/partials/buttons/newTopic.tpl +15 -15
- package/templates/partials/categories/item.tpl +46 -46
- package/templates/partials/categories/lastpost.tpl +26 -26
- package/templates/partials/categories/link.tpl +10 -10
- package/templates/partials/category/sort.tpl +14 -14
- package/templates/partials/category/subcategory.tpl +17 -17
- package/templates/partials/category/tags.tpl +4 -4
- package/templates/partials/category/tools.tpl +80 -80
- package/templates/partials/category/watch.tpl +22 -22
- package/templates/partials/category-filter-content.tpl +18 -18
- package/templates/partials/category-filter-right.tpl +2 -2
- package/templates/partials/category-filter.tpl +2 -2
- package/templates/partials/category-selector-right.tpl +2 -2
- package/templates/partials/category-selector.tpl +2 -2
- package/templates/partials/change_owner_modal.tpl +22 -22
- package/templates/partials/chats/dropdown.tpl +33 -33
- package/templates/partials/chats/messages.tpl +6 -6
- package/templates/partials/chats/recent_room.tpl +24 -24
- package/templates/partials/chats-menu.tpl +10 -10
- package/templates/partials/cookie-consent.tpl +4 -4
- package/templates/partials/delete_posts_modal.tpl +18 -18
- package/templates/partials/fork_thread_modal.tpl +21 -21
- package/templates/partials/groups/list.tpl +20 -20
- package/templates/partials/groups/memberlist.tpl +39 -39
- package/templates/partials/menu.tpl +238 -230
- package/templates/partials/merge_topics_modal.tpl +57 -57
- package/templates/partials/modals/flag_modal.tpl +44 -44
- package/templates/partials/modals/manage_room.tpl +10 -10
- package/templates/partials/modals/manage_room_users.tpl +6 -6
- package/templates/partials/modals/post_history.tpl +36 -36
- package/templates/partials/modals/rename_room.tpl +3 -3
- package/templates/partials/modals/votes_modal.tpl +10 -10
- package/templates/partials/move_thread_modal.tpl +16 -16
- package/templates/partials/paginator.tpl +44 -44
- package/templates/partials/post_bar.tpl +20 -20
- package/templates/partials/posts_list.tpl +7 -7
- package/templates/partials/quick-search-results.tpl +30 -30
- package/templates/partials/slideout-menu.tpl +26 -26
- package/templates/partials/tags_list.tpl +4 -4
- package/templates/partials/thread_tools.tpl +7 -7
- package/templates/partials/topic/badge.tpl +4 -4
- package/templates/partials/topic/browsing-users.tpl +12 -12
- package/templates/partials/topic/deleted-message.tpl +10 -10
- package/templates/partials/topic/navigation-post.tpl +11 -11
- package/templates/partials/topic/navigator.tpl +31 -31
- package/templates/partials/topic/necro-post.tpl +2 -2
- package/templates/partials/topic/post-menu.tpl +4 -4
- package/templates/partials/topic/post.tpl +104 -104
- package/templates/partials/topic/quickreply.tpl +20 -20
- package/templates/partials/topic/reply-button.tpl +26 -26
- package/templates/partials/topic/selection-tooltip.tpl +2 -2
- package/templates/partials/topic/sort.tpl +9 -9
- package/templates/partials/topic/stats.tpl +11 -11
- package/templates/partials/topic/tags.tpl +4 -4
- package/templates/partials/topic/watch.tpl +20 -20
- package/templates/partials/users_list.tpl +39 -39
- package/templates/partials/users_list_menu.tpl +10 -10
- package/templates/popular.tpl +61 -61
- package/templates/post-queue.tpl +75 -75
- package/templates/recent.tpl +51 -51
- package/templates/reset.tpl +23 -23
- package/templates/reset_code.tpl +41 -41
- package/templates/tag.tpl +35 -35
- package/templates/tags.tpl +30 -30
- package/templates/top.tpl +61 -61
- package/templates/tos.tpl +4 -4
- package/templates/unread.tpl +49 -49
- package/templates/unsubscribe.tpl +6 -6
- package/templates/users.tpl +47 -47
- package/theme.json +6 -6
- package/theme.less +1 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
<div class="row">
|
|
2
|
-
<div class="col-sm-2 col-xs-12 settings-header">Theme Settings</div>
|
|
3
|
-
<div class="col-sm-10 col-xs-12">
|
|
4
|
-
<form role="form" class="persona-settings">
|
|
5
|
-
<div class="checkbox">
|
|
6
|
-
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
|
7
|
-
<input class="mdl-switch__input" type="checkbox" id="hideSubCategories" name="hideSubCategories">
|
|
8
|
-
<span class="mdl-switch__label"><strong>Hide subcategories on categories view</strong></span>
|
|
9
|
-
</label>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="checkbox">
|
|
12
|
-
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
|
13
|
-
<input class="mdl-switch__input" type="checkbox" id="hideCategoryLastPost" name="hideCategoryLastPost">
|
|
14
|
-
<span class="mdl-switch__label"><strong>Hide last post on categories view</strong></span>
|
|
15
|
-
</label>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="checkbox">
|
|
18
|
-
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
|
19
|
-
<input class="mdl-switch__input" type="checkbox" id="enableQuickReply" name="enableQuickReply">
|
|
20
|
-
<span class="mdl-switch__label"><strong>Enable quick reply</strong></span>
|
|
21
|
-
</label>
|
|
22
|
-
</div>
|
|
23
|
-
</form>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
|
|
27
|
-
<button id="save" class="floating-button mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored">
|
|
28
|
-
<i class="material-icons">save</i>
|
|
1
|
+
<div class="row">
|
|
2
|
+
<div class="col-sm-2 col-xs-12 settings-header">Theme Settings</div>
|
|
3
|
+
<div class="col-sm-10 col-xs-12">
|
|
4
|
+
<form role="form" class="persona-settings">
|
|
5
|
+
<div class="checkbox">
|
|
6
|
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
|
7
|
+
<input class="mdl-switch__input" type="checkbox" id="hideSubCategories" name="hideSubCategories">
|
|
8
|
+
<span class="mdl-switch__label"><strong>Hide subcategories on categories view</strong></span>
|
|
9
|
+
</label>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="checkbox">
|
|
12
|
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
|
13
|
+
<input class="mdl-switch__input" type="checkbox" id="hideCategoryLastPost" name="hideCategoryLastPost">
|
|
14
|
+
<span class="mdl-switch__label"><strong>Hide last post on categories view</strong></span>
|
|
15
|
+
</label>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="checkbox">
|
|
18
|
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
|
19
|
+
<input class="mdl-switch__input" type="checkbox" id="enableQuickReply" name="enableQuickReply">
|
|
20
|
+
<span class="mdl-switch__label"><strong>Enable quick reply</strong></span>
|
|
21
|
+
</label>
|
|
22
|
+
</div>
|
|
23
|
+
</form>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<button id="save" class="floating-button mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored">
|
|
28
|
+
<i class="material-icons">save</i>
|
|
29
29
|
</button>
|
package/templates/alert.tpl
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<div id="{alert_id}" class="alert alert-dismissable alert-{type} clearfix" component="toaster/toast">
|
|
2
|
-
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
3
|
-
|
|
4
|
-
<!-- IF image -->
|
|
5
|
-
<img src="{image}">
|
|
6
|
-
<!-- ENDIF image -->
|
|
7
|
-
|
|
8
|
-
<!-- IF title -->
|
|
9
|
-
<strong>{title}</strong>
|
|
10
|
-
<!-- ENDIF title -->
|
|
11
|
-
|
|
12
|
-
<!-- IF message -->
|
|
13
|
-
<p>{message}</p>
|
|
14
|
-
<!-- ENDIF message -->
|
|
15
|
-
</div>
|
|
1
|
+
<div id="{alert_id}" class="alert alert-dismissable alert-{type} clearfix" component="toaster/toast">
|
|
2
|
+
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
3
|
+
|
|
4
|
+
<!-- IF image -->
|
|
5
|
+
<img src="{image}">
|
|
6
|
+
<!-- ENDIF image -->
|
|
7
|
+
|
|
8
|
+
<!-- IF title -->
|
|
9
|
+
<strong>{title}</strong>
|
|
10
|
+
<!-- ENDIF title -->
|
|
11
|
+
|
|
12
|
+
<!-- IF message -->
|
|
13
|
+
<p>{message}</p>
|
|
14
|
+
<!-- ENDIF message -->
|
|
15
|
+
</div>
|
package/templates/categories.tpl
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
|
-
<div data-widget-area="header">
|
|
3
|
-
{{{each widgets.header}}}
|
|
4
|
-
{{widgets.header.html}}
|
|
5
|
-
{{{end}}}
|
|
6
|
-
</div>
|
|
7
|
-
<div class="row">
|
|
8
|
-
<div class="<!-- IF widgets.sidebar.length -->col-lg-9 col-sm-12<!-- ELSE -->col-lg-12<!-- ENDIF widgets.sidebar.length -->">
|
|
9
|
-
{{{ if pagination.pages.length }}}
|
|
10
|
-
<div><!-- IMPORT partials/category-selector.tpl --></div>
|
|
11
|
-
{{{ else }}}
|
|
12
|
-
<h1 class="categories-title">[[pages:categories]]</h1>
|
|
13
|
-
{{{ end }}}
|
|
14
|
-
<ul class="categories" itemscope itemtype="http://www.schema.org/ItemList">
|
|
15
|
-
{{{each categories}}}
|
|
16
|
-
<!-- IMPORT partials/categories/item.tpl -->
|
|
17
|
-
{{{end}}}
|
|
18
|
-
</ul>
|
|
19
|
-
<!-- IMPORT partials/paginator.tpl -->
|
|
20
|
-
</div>
|
|
21
|
-
<div data-widget-area="sidebar" class="col-lg-3 col-sm-12 <!-- IF !widgets.sidebar.length -->hidden<!-- ENDIF !widgets.sidebar.length -->">
|
|
22
|
-
{{{each widgets.sidebar}}}
|
|
23
|
-
{{widgets.sidebar.html}}
|
|
24
|
-
{{{end}}}
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
<div data-widget-area="footer">
|
|
28
|
-
{{{each widgets.footer}}}
|
|
29
|
-
{{widgets.footer.html}}
|
|
30
|
-
{{{end}}}
|
|
31
|
-
</div>
|
|
1
|
+
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
|
+
<div data-widget-area="header">
|
|
3
|
+
{{{each widgets.header}}}
|
|
4
|
+
{{widgets.header.html}}
|
|
5
|
+
{{{end}}}
|
|
6
|
+
</div>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="<!-- IF widgets.sidebar.length -->col-lg-9 col-sm-12<!-- ELSE -->col-lg-12<!-- ENDIF widgets.sidebar.length -->">
|
|
9
|
+
{{{ if pagination.pages.length }}}
|
|
10
|
+
<div><!-- IMPORT partials/category-selector.tpl --></div>
|
|
11
|
+
{{{ else }}}
|
|
12
|
+
<h1 class="categories-title">[[pages:categories]]</h1>
|
|
13
|
+
{{{ end }}}
|
|
14
|
+
<ul class="categories" itemscope itemtype="http://www.schema.org/ItemList">
|
|
15
|
+
{{{each categories}}}
|
|
16
|
+
<!-- IMPORT partials/categories/item.tpl -->
|
|
17
|
+
{{{end}}}
|
|
18
|
+
</ul>
|
|
19
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
20
|
+
</div>
|
|
21
|
+
<div data-widget-area="sidebar" class="col-lg-3 col-sm-12 <!-- IF !widgets.sidebar.length -->hidden<!-- ENDIF !widgets.sidebar.length -->">
|
|
22
|
+
{{{each widgets.sidebar}}}
|
|
23
|
+
{{widgets.sidebar.html}}
|
|
24
|
+
{{{end}}}
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
<div data-widget-area="footer">
|
|
28
|
+
{{{each widgets.footer}}}
|
|
29
|
+
{{widgets.footer.html}}
|
|
30
|
+
{{{end}}}
|
|
31
|
+
</div>
|
package/templates/category.tpl
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
|
-
<div data-widget-area="header">
|
|
3
|
-
{{{each widgets.header}}}
|
|
4
|
-
{{widgets.header.html}}
|
|
5
|
-
{{{end}}}
|
|
6
|
-
</div>
|
|
7
|
-
<div class="row">
|
|
8
|
-
<div class="category <!-- IF widgets.sidebar.length -->col-lg-9 col-sm-12<!-- ELSE -->col-lg-12<!-- ENDIF widgets.sidebar.length -->">
|
|
9
|
-
<!-- IMPORT partials/category/subcategory.tpl -->
|
|
10
|
-
|
|
11
|
-
<div class="topic-list-header clearfix">
|
|
12
|
-
<!-- IF privileges.topics:create -->
|
|
13
|
-
<a href="{config.relative_path}/compose?cid={cid}" component="category/post" id="new_topic" class="btn btn-primary" data-ajaxify="false" role="button">[[category:new_topic_button]]</a>
|
|
14
|
-
<!-- ELSE -->
|
|
15
|
-
<!-- IF !loggedIn -->
|
|
16
|
-
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
|
|
17
|
-
<!-- ENDIF !loggedIn -->
|
|
18
|
-
<!-- ENDIF privileges.topics:create -->
|
|
19
|
-
|
|
20
|
-
<a href="{url}" class="inline-block">
|
|
21
|
-
<div class="alert alert-warning hide" id="new-topics-alert"></div>
|
|
22
|
-
</a>
|
|
23
|
-
|
|
24
|
-
<span class="pull-right" component="category/controls">
|
|
25
|
-
<!-- IMPORT partials/category/watch.tpl -->
|
|
26
|
-
<!-- IMPORT partials/category/sort.tpl -->
|
|
27
|
-
<!-- IMPORT partials/category/tools.tpl -->
|
|
28
|
-
</span>
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
<!-- IF !topics.length -->
|
|
32
|
-
<!-- IF privileges.topics:create -->
|
|
33
|
-
<hr class="visible-xs" />
|
|
34
|
-
<div class="alert alert-warning" id="category-no-topics">
|
|
35
|
-
[[category:no_topics]]
|
|
36
|
-
</div>
|
|
37
|
-
<!-- ENDIF privileges.topics:create -->
|
|
38
|
-
<!-- ENDIF !topics.length -->
|
|
39
|
-
|
|
40
|
-
<!-- IMPORT partials/topics_list.tpl -->
|
|
41
|
-
|
|
42
|
-
<!-- IF config.usePagination -->
|
|
43
|
-
<!-- IMPORT partials/paginator.tpl -->
|
|
44
|
-
<!-- ENDIF config.usePagination -->
|
|
45
|
-
</div>
|
|
46
|
-
<div data-widget-area="sidebar" class="col-lg-3 col-sm-12 <!-- IF !widgets.sidebar.length -->hidden<!-- ENDIF !widgets.sidebar.length -->">
|
|
47
|
-
{{{each widgets.sidebar}}}
|
|
48
|
-
{{widgets.sidebar.html}}
|
|
49
|
-
{{{end}}}
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
<div data-widget-area="footer">
|
|
53
|
-
{{{each widgets.footer}}}
|
|
54
|
-
{{widgets.footer.html}}
|
|
55
|
-
{{{end}}}
|
|
56
|
-
</div>
|
|
57
|
-
|
|
58
|
-
<!-- IF !config.usePagination -->
|
|
59
|
-
<noscript>
|
|
60
|
-
<!-- IMPORT partials/paginator.tpl -->
|
|
61
|
-
</noscript>
|
|
62
|
-
<!-- ENDIF !config.usePagination -->
|
|
1
|
+
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
|
+
<div data-widget-area="header">
|
|
3
|
+
{{{each widgets.header}}}
|
|
4
|
+
{{widgets.header.html}}
|
|
5
|
+
{{{end}}}
|
|
6
|
+
</div>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="category <!-- IF widgets.sidebar.length -->col-lg-9 col-sm-12<!-- ELSE -->col-lg-12<!-- ENDIF widgets.sidebar.length -->">
|
|
9
|
+
<!-- IMPORT partials/category/subcategory.tpl -->
|
|
10
|
+
|
|
11
|
+
<div class="topic-list-header clearfix">
|
|
12
|
+
<!-- IF privileges.topics:create -->
|
|
13
|
+
<a href="{config.relative_path}/compose?cid={cid}" component="category/post" id="new_topic" class="btn btn-primary" data-ajaxify="false" role="button">[[category:new_topic_button]]</a>
|
|
14
|
+
<!-- ELSE -->
|
|
15
|
+
<!-- IF !loggedIn -->
|
|
16
|
+
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
|
|
17
|
+
<!-- ENDIF !loggedIn -->
|
|
18
|
+
<!-- ENDIF privileges.topics:create -->
|
|
19
|
+
|
|
20
|
+
<a href="{url}" class="inline-block">
|
|
21
|
+
<div class="alert alert-warning hide" id="new-topics-alert"></div>
|
|
22
|
+
</a>
|
|
23
|
+
|
|
24
|
+
<span class="pull-right" component="category/controls">
|
|
25
|
+
<!-- IMPORT partials/category/watch.tpl -->
|
|
26
|
+
<!-- IMPORT partials/category/sort.tpl -->
|
|
27
|
+
<!-- IMPORT partials/category/tools.tpl -->
|
|
28
|
+
</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<!-- IF !topics.length -->
|
|
32
|
+
<!-- IF privileges.topics:create -->
|
|
33
|
+
<hr class="visible-xs" />
|
|
34
|
+
<div class="alert alert-warning" id="category-no-topics">
|
|
35
|
+
[[category:no_topics]]
|
|
36
|
+
</div>
|
|
37
|
+
<!-- ENDIF privileges.topics:create -->
|
|
38
|
+
<!-- ENDIF !topics.length -->
|
|
39
|
+
|
|
40
|
+
<!-- IMPORT partials/topics_list.tpl -->
|
|
41
|
+
|
|
42
|
+
<!-- IF config.usePagination -->
|
|
43
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
44
|
+
<!-- ENDIF config.usePagination -->
|
|
45
|
+
</div>
|
|
46
|
+
<div data-widget-area="sidebar" class="col-lg-3 col-sm-12 <!-- IF !widgets.sidebar.length -->hidden<!-- ENDIF !widgets.sidebar.length -->">
|
|
47
|
+
{{{each widgets.sidebar}}}
|
|
48
|
+
{{widgets.sidebar.html}}
|
|
49
|
+
{{{end}}}
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<div data-widget-area="footer">
|
|
53
|
+
{{{each widgets.footer}}}
|
|
54
|
+
{{widgets.footer.html}}
|
|
55
|
+
{{{end}}}
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
<!-- IF !config.usePagination -->
|
|
59
|
+
<noscript>
|
|
60
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
61
|
+
</noscript>
|
|
62
|
+
<!-- ENDIF !config.usePagination -->
|
package/templates/chats.tpl
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
<div class="chats-full">
|
|
2
|
-
<div component="chat/nav-wrapper" data-loaded="<!-- IF roomId -->1<!-- ELSE -->0<!-- END -->">
|
|
3
|
-
<div class="chat-search dropdown">
|
|
4
|
-
<input class="form-control" type="text" component="chat/search" placeholder="[[users:enter_username]]" data-toggle="dropdown" />
|
|
5
|
-
<ul component="chat/search/list" class="dropdown-menu"></ul>
|
|
6
|
-
</div>
|
|
7
|
-
<ul component="chat/recent" class="chats-list" data-nextstart="{nextStart}">
|
|
8
|
-
{{{each rooms}}}
|
|
9
|
-
<!-- IMPORT partials/chats/recent_room.tpl -->
|
|
10
|
-
{{{end}}}
|
|
11
|
-
</ul>
|
|
12
|
-
</div>
|
|
13
|
-
<div component="chat/main-wrapper">
|
|
14
|
-
<!-- IMPORT partials/chats/message-window.tpl -->
|
|
15
|
-
</div>
|
|
1
|
+
<div class="chats-full">
|
|
2
|
+
<div component="chat/nav-wrapper" data-loaded="<!-- IF roomId -->1<!-- ELSE -->0<!-- END -->">
|
|
3
|
+
<div class="chat-search dropdown">
|
|
4
|
+
<input class="form-control" type="text" component="chat/search" placeholder="[[users:enter_username]]" data-toggle="dropdown" />
|
|
5
|
+
<ul component="chat/search/list" class="dropdown-menu"></ul>
|
|
6
|
+
</div>
|
|
7
|
+
<ul component="chat/recent" class="chats-list" data-nextstart="{nextStart}">
|
|
8
|
+
{{{each rooms}}}
|
|
9
|
+
<!-- IMPORT partials/chats/recent_room.tpl -->
|
|
10
|
+
{{{end}}}
|
|
11
|
+
</ul>
|
|
12
|
+
</div>
|
|
13
|
+
<div component="chat/main-wrapper">
|
|
14
|
+
<!-- IMPORT partials/chats/message-window.tpl -->
|
|
15
|
+
</div>
|
|
16
16
|
</div>
|
package/templates/flags/list.tpl
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
|
-
|
|
3
|
-
<div class="row">
|
|
4
|
-
<div class="col-sm-4 col-md-3">
|
|
5
|
-
<!-- IMPORT partials/flags/filters.tpl -->
|
|
6
|
-
</div>
|
|
7
|
-
<div class="col-sm-8 col-md-9">
|
|
8
|
-
<!-- IF hasFilter -->
|
|
9
|
-
<div class="alert alert-warning">
|
|
10
|
-
<p class="pull-right">
|
|
11
|
-
<a href="{config.relative_path}/flags">[[flags:filter-reset]]</a>
|
|
12
|
-
</p>
|
|
13
|
-
[[flags:filter-active]]
|
|
14
|
-
</div>
|
|
15
|
-
<!-- ENDIF hasFilter -->
|
|
16
|
-
|
|
17
|
-
<div class="btn-group pull-right" component="flags/bulk-actions">
|
|
18
|
-
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" autocomplete="off" aria-haspopup="true" aria-expanded="false" disabled="disabled">
|
|
19
|
-
<i class="fa fa-clone"></i> [[flags:bulk-actions]] <span class="caret"></span>
|
|
20
|
-
</button>
|
|
21
|
-
<ul class="dropdown-menu">
|
|
22
|
-
<li><a href="#" data-action="bulk-assign">[[flags:assign-to-me]]</a></li>
|
|
23
|
-
<li><a href="#" data-action="bulk-mark-resolved">[[flags:bulk-resolve]]</a></li>
|
|
24
|
-
</ul>
|
|
25
|
-
</div>
|
|
26
|
-
|
|
27
|
-
<table class="table table-striped table-hover" component="flags/list">
|
|
28
|
-
<thead>
|
|
29
|
-
<tr>
|
|
30
|
-
<th>
|
|
31
|
-
<input type="checkbox" data-action="toggle-all" autocomplete="off" />
|
|
32
|
-
</th>
|
|
33
|
-
<th></th>
|
|
34
|
-
<th><span class="hidden-xs">[[flags:reports]] </span><i class="fa fa-user-plus"></i></th>
|
|
35
|
-
<th><span class="hidden-xs">[[flags:first-reported]] </span><i class="fa fa-clock-o"></i></th>
|
|
36
|
-
<th>[[flags:state]]</th>
|
|
37
|
-
</tr>
|
|
38
|
-
</thead>
|
|
39
|
-
<tbody>
|
|
40
|
-
<!-- IF !flags.length -->
|
|
41
|
-
<tr>
|
|
42
|
-
<td colspan="5">
|
|
43
|
-
<div class="alert alert-success text-center">
|
|
44
|
-
[[flags:no-flags]]
|
|
45
|
-
</div>
|
|
46
|
-
</td>
|
|
47
|
-
</tr>
|
|
48
|
-
<!-- ENDIF !flags.length -->
|
|
49
|
-
{{{each flags}}}
|
|
50
|
-
<tr data-flag-id="{../flagId}">
|
|
51
|
-
<td>
|
|
52
|
-
<input type="checkbox" autocomplete="off" />
|
|
53
|
-
</td>
|
|
54
|
-
<td>
|
|
55
|
-
<a href="{config.relative_path}/flags/{../flagId}">
|
|
56
|
-
<strong>{../target_readable}</strong>
|
|
57
|
-
</a>
|
|
58
|
-
</td>
|
|
59
|
-
<td>
|
|
60
|
-
{./heat}
|
|
61
|
-
</td>
|
|
62
|
-
<td><span class="timeago" title="{../datetimeISO}"></span></td>
|
|
63
|
-
<td><span class="label label-{../labelClass}">[[flags:state-{../state}]]</span></td>
|
|
64
|
-
</tr>
|
|
65
|
-
{{{end}}}
|
|
66
|
-
</tbody>
|
|
67
|
-
</table>
|
|
68
|
-
|
|
69
|
-
<!-- IMPORT partials/paginator.tpl -->
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
1
|
+
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
|
+
|
|
3
|
+
<div class="row">
|
|
4
|
+
<div class="col-sm-4 col-md-3">
|
|
5
|
+
<!-- IMPORT partials/flags/filters.tpl -->
|
|
6
|
+
</div>
|
|
7
|
+
<div class="col-sm-8 col-md-9">
|
|
8
|
+
<!-- IF hasFilter -->
|
|
9
|
+
<div class="alert alert-warning">
|
|
10
|
+
<p class="pull-right">
|
|
11
|
+
<a href="{config.relative_path}/flags">[[flags:filter-reset]]</a>
|
|
12
|
+
</p>
|
|
13
|
+
[[flags:filter-active]]
|
|
14
|
+
</div>
|
|
15
|
+
<!-- ENDIF hasFilter -->
|
|
16
|
+
|
|
17
|
+
<div class="btn-group pull-right" component="flags/bulk-actions">
|
|
18
|
+
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" autocomplete="off" aria-haspopup="true" aria-expanded="false" disabled="disabled">
|
|
19
|
+
<i class="fa fa-clone"></i> [[flags:bulk-actions]] <span class="caret"></span>
|
|
20
|
+
</button>
|
|
21
|
+
<ul class="dropdown-menu">
|
|
22
|
+
<li><a href="#" data-action="bulk-assign">[[flags:assign-to-me]]</a></li>
|
|
23
|
+
<li><a href="#" data-action="bulk-mark-resolved">[[flags:bulk-resolve]]</a></li>
|
|
24
|
+
</ul>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<table class="table table-striped table-hover" component="flags/list">
|
|
28
|
+
<thead>
|
|
29
|
+
<tr>
|
|
30
|
+
<th>
|
|
31
|
+
<input type="checkbox" data-action="toggle-all" autocomplete="off" />
|
|
32
|
+
</th>
|
|
33
|
+
<th></th>
|
|
34
|
+
<th><span class="hidden-xs">[[flags:reports]] </span><i class="fa fa-user-plus"></i></th>
|
|
35
|
+
<th><span class="hidden-xs">[[flags:first-reported]] </span><i class="fa fa-clock-o"></i></th>
|
|
36
|
+
<th>[[flags:state]]</th>
|
|
37
|
+
</tr>
|
|
38
|
+
</thead>
|
|
39
|
+
<tbody>
|
|
40
|
+
<!-- IF !flags.length -->
|
|
41
|
+
<tr>
|
|
42
|
+
<td colspan="5">
|
|
43
|
+
<div class="alert alert-success text-center">
|
|
44
|
+
[[flags:no-flags]]
|
|
45
|
+
</div>
|
|
46
|
+
</td>
|
|
47
|
+
</tr>
|
|
48
|
+
<!-- ENDIF !flags.length -->
|
|
49
|
+
{{{each flags}}}
|
|
50
|
+
<tr data-flag-id="{../flagId}">
|
|
51
|
+
<td>
|
|
52
|
+
<input type="checkbox" autocomplete="off" />
|
|
53
|
+
</td>
|
|
54
|
+
<td>
|
|
55
|
+
<a href="{config.relative_path}/flags/{../flagId}">
|
|
56
|
+
<strong>{../target_readable}</strong>
|
|
57
|
+
</a>
|
|
58
|
+
</td>
|
|
59
|
+
<td>
|
|
60
|
+
{./heat}
|
|
61
|
+
</td>
|
|
62
|
+
<td><span class="timeago" title="{../datetimeISO}"></span></td>
|
|
63
|
+
<td><span class="label label-{../labelClass}">[[flags:state-{../state}]]</span></td>
|
|
64
|
+
</tr>
|
|
65
|
+
{{{end}}}
|
|
66
|
+
</tbody>
|
|
67
|
+
</table>
|
|
68
|
+
|
|
69
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
package/templates/footer.tpl
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
</div><!-- /.container#content -->
|
|
2
|
-
</main>
|
|
3
|
-
<!-- IF !isSpider -->
|
|
4
|
-
<div component="toaster/tray" class="alert-window">
|
|
5
|
-
<div id="reconnect-alert" class="alert alert-dismissable alert-warning clearfix hide" component="toaster/toast">
|
|
6
|
-
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
7
|
-
<p>[[global:reconnecting-message, {config.siteTitle}]]</p>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
<!-- ENDIF !isSpider -->
|
|
11
|
-
|
|
12
|
-
<div class="hide">
|
|
13
|
-
<!-- IMPORT 500-embed.tpl -->
|
|
14
|
-
</div>
|
|
15
|
-
|
|
16
|
-
<!-- IMPORT partials/footer/js.tpl -->
|
|
17
|
-
</body>
|
|
18
|
-
</html>
|
|
1
|
+
</div><!-- /.container#content -->
|
|
2
|
+
</main>
|
|
3
|
+
<!-- IF !isSpider -->
|
|
4
|
+
<div component="toaster/tray" class="alert-window">
|
|
5
|
+
<div id="reconnect-alert" class="alert alert-dismissable alert-warning clearfix hide" component="toaster/toast">
|
|
6
|
+
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
7
|
+
<p>[[global:reconnecting-message, {config.siteTitle}]]</p>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
<!-- ENDIF !isSpider -->
|
|
11
|
+
|
|
12
|
+
<div class="hide">
|
|
13
|
+
<!-- IMPORT 500-embed.tpl -->
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
<!-- IMPORT partials/footer/js.tpl -->
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|