nodebb-theme-persona 12.1.6 → 12.1.7
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/README.md +14 -14
- package/{scss/account.scss → less/account.less} +97 -13
- package/less/bootstrap/.csscomb.json +297 -0
- package/less/bootstrap/.csslintrc +19 -0
- package/less/bootstrap/alerts.less +73 -0
- package/less/bootstrap/badges.less +66 -0
- package/less/bootstrap/bootstrap.less +50 -0
- package/less/bootstrap/breadcrumbs.less +26 -0
- package/less/bootstrap/button-groups.less +243 -0
- package/less/bootstrap/buttons.less +160 -0
- package/less/bootstrap/carousel.less +269 -0
- package/less/bootstrap/close.less +34 -0
- package/less/bootstrap/code.less +69 -0
- package/less/bootstrap/component-animations.less +33 -0
- package/less/bootstrap/dropdowns.less +214 -0
- package/less/bootstrap/forms.less +574 -0
- package/less/bootstrap/glyphicons.less +305 -0
- package/less/bootstrap/grid.less +84 -0
- package/less/bootstrap/input-groups.less +166 -0
- package/less/bootstrap/jumbotron.less +50 -0
- package/less/bootstrap/labels.less +64 -0
- package/less/bootstrap/list-group.less +124 -0
- package/less/bootstrap/media.less +61 -0
- package/less/bootstrap/mixins/alerts.less +14 -0
- package/less/bootstrap/mixins/background-variant.less +8 -0
- package/less/bootstrap/mixins/border-radius.less +18 -0
- package/less/bootstrap/mixins/buttons.less +52 -0
- package/less/bootstrap/mixins/center-block.less +7 -0
- package/less/bootstrap/mixins/clearfix.less +22 -0
- package/less/bootstrap/mixins/forms.less +85 -0
- package/less/bootstrap/mixins/gradients.less +59 -0
- package/less/bootstrap/mixins/grid-framework.less +91 -0
- package/less/bootstrap/mixins/grid.less +122 -0
- package/less/bootstrap/mixins/hide-text.less +21 -0
- package/less/bootstrap/mixins/image.less +33 -0
- package/less/bootstrap/mixins/labels.less +12 -0
- package/less/bootstrap/mixins/list-group.less +29 -0
- package/less/bootstrap/mixins/nav-divider.less +10 -0
- package/less/bootstrap/mixins/nav-vertical-align.less +9 -0
- package/less/bootstrap/mixins/opacity.less +8 -0
- package/less/bootstrap/mixins/pagination.less +23 -0
- package/less/bootstrap/mixins/panels.less +24 -0
- package/less/bootstrap/mixins/progress-bar.less +10 -0
- package/less/bootstrap/mixins/reset-filter.less +8 -0
- package/less/bootstrap/mixins/resize.less +6 -0
- package/less/bootstrap/mixins/responsive-visibility.less +15 -0
- package/less/bootstrap/mixins/size.less +10 -0
- package/less/bootstrap/mixins/tab-focus.less +9 -0
- package/less/bootstrap/mixins/table-row.less +28 -0
- package/less/bootstrap/mixins/text-emphasis.less +8 -0
- package/less/bootstrap/mixins/text-overflow.less +8 -0
- package/less/bootstrap/mixins/vendor-prefixes.less +227 -0
- package/less/bootstrap/mixins.less +39 -0
- package/less/bootstrap/modals.less +150 -0
- package/less/bootstrap/navbar.less +660 -0
- package/less/bootstrap/navs.less +242 -0
- package/less/bootstrap/normalize.less +427 -0
- package/less/bootstrap/pager.less +54 -0
- package/less/bootstrap/pagination.less +88 -0
- package/less/bootstrap/panels.less +265 -0
- package/less/bootstrap/popovers.less +135 -0
- package/less/bootstrap/print.less +107 -0
- package/less/bootstrap/progress-bars.less +87 -0
- package/less/bootstrap/responsive-embed.less +35 -0
- package/less/bootstrap/responsive-utilities.less +194 -0
- package/less/bootstrap/scaffolding.less +162 -0
- package/less/bootstrap/tables.less +234 -0
- package/less/bootstrap/theme.less +273 -0
- package/less/bootstrap/thumbnails.less +36 -0
- package/less/bootstrap/tooltip.less +102 -0
- package/less/bootstrap/type.less +302 -0
- package/less/bootstrap/utilities.less +55 -0
- package/less/bootstrap/variables.less +861 -0
- package/less/bootstrap/wells.less +29 -0
- package/less/bootstrap-flipped.css +1550 -0
- package/{scss/categories.scss → less/categories.less} +40 -10
- package/{scss/category.scss → less/category.less} +75 -26
- package/{scss/chats.scss → less/chats.less} +88 -35
- package/{scss/flags.scss → less/flags.less} +3 -3
- package/{scss/footer.scss → less/footer.less} +1 -0
- package/{scss/groups.scss → less/groups.less} +38 -14
- package/{scss/header.scss → less/header.less} +139 -63
- package/{scss/helpers.scss → less/helpers.less} +0 -0
- package/less/ip-blacklist.less +7 -0
- package/{scss/keyframes.scss → less/keyframes.less} +0 -0
- package/{scss/mixins.scss → less/mixins.less} +59 -17
- package/{scss/mobile.scss → less/mobile.less} +18 -13
- package/{scss/modules/alerts.scss → less/modules/alerts.less} +21 -21
- package/less/modules/bottom-sheet.less +60 -0
- package/{scss/modules/composer-default.scss → less/modules/composer-default.less} +2 -2
- package/{scss/modules/cookie-consent.scss → less/modules/cookie-consent.less} +1 -1
- package/{scss/modules/fab.scss → less/modules/fab.less} +2 -2
- package/{scss/modules/morph.scss → less/modules/morph.less} +1 -1
- package/{scss/modules/necro-post.scss → less/modules/necro-post.less} +0 -0
- package/less/modules/nprogress.less +80 -0
- package/{scss/modules/taskbar.scss → less/modules/taskbar.less} +10 -11
- package/{scss/modules/usercard.scss → less/modules/usercard.less} +0 -0
- package/{scss/noscript.scss → less/noscript.less} +7 -5
- package/less/notifications.less +38 -0
- package/{scss/outgoing.scss → less/outgoing.less} +0 -0
- package/{scss/persona.scss → less/persona.less} +13 -1
- package/less/post-queue.less +19 -0
- package/{scss/posts_list.scss → less/posts_list.less} +14 -11
- package/{scss/register.scss → less/register.less} +7 -2
- package/less/rtl.less +132 -0
- package/less/search.less +96 -0
- package/{scss/style.scss → less/style.less} +47 -23
- package/less/tags.less +37 -0
- package/{scss/topic.scss → less/topic.less} +90 -53
- package/less/topics_list.less +16 -0
- package/less/users.less +73 -0
- package/{scss/variables.scss → less/variables.less} +3 -3
- package/package.json +2 -2
- package/public/persona.js +22 -11
- package/templates/account/blocks.tpl +26 -24
- package/templates/account/categories.tpl +6 -6
- package/templates/account/consent.tpl +10 -10
- package/templates/account/edit/password.tpl +10 -8
- package/templates/account/edit/username.tpl +10 -6
- package/templates/account/edit.tpl +23 -23
- package/templates/account/followers.tpl +3 -3
- package/templates/account/following.tpl +3 -3
- package/templates/account/groups.tpl +2 -2
- package/templates/account/info.tpl +72 -67
- package/templates/account/posts.tpl +1 -1
- package/templates/account/profile.tpl +18 -20
- package/templates/account/sessions.tpl +3 -3
- package/templates/account/settings.tpl +81 -93
- package/templates/account/topics.tpl +5 -5
- package/templates/account/uploads.tpl +2 -2
- package/templates/admin/plugins/persona.tpl +3 -3
- package/templates/alert.tpl +15 -0
- package/templates/category.tpl +14 -15
- package/templates/chat.tpl +9 -16
- package/templates/chats.tpl +3 -5
- package/templates/flags/detail.tpl +80 -86
- package/templates/flags/list.tpl +4 -4
- package/templates/footer.tpl +1 -1
- package/templates/groups/details.tpl +218 -23
- package/templates/groups/list.tpl +9 -11
- package/templates/groups/members.tpl +4 -1
- package/templates/header.tpl +4 -10
- package/templates/ip-blacklist.tpl +20 -22
- package/templates/login.tpl +14 -17
- package/templates/modules/taskbar.tpl +1 -1
- package/templates/modules/usercard.tpl +2 -2
- package/templates/notifications.tpl +38 -40
- package/templates/partials/acceptTos.tpl +8 -8
- package/templates/partials/account/category-item.tpl +5 -6
- package/templates/partials/account/header.tpl +2 -2
- package/templates/partials/account/menu.tpl +37 -37
- package/templates/partials/breadcrumbs.tpl +1 -1
- package/templates/partials/buttons/newTopic.tpl +3 -10
- package/templates/partials/categories/item.tpl +10 -24
- package/templates/partials/categories/lastpost.tpl +3 -3
- package/templates/partials/categories/link.tpl +10 -10
- package/templates/partials/category/sort.tpl +7 -7
- package/templates/partials/category/subcategory.tpl +3 -3
- package/templates/partials/category/tags.tpl +5 -3
- package/templates/partials/category/tools.tpl +16 -16
- package/templates/partials/category/watch.tpl +10 -8
- package/templates/partials/category-filter-content.tpl +5 -17
- package/templates/partials/category-filter-right.tpl +1 -1
- package/templates/partials/category-selector-content.tpl +4 -17
- package/templates/partials/category-selector-right.tpl +1 -1
- package/templates/partials/change_owner_modal.tpl +22 -0
- package/templates/partials/chats/message-window.tpl +8 -10
- package/templates/partials/chats/message.tpl +11 -11
- package/templates/partials/chats/options.tpl +8 -8
- package/templates/partials/chats/recent_room.tpl +1 -1
- package/templates/partials/chats/system-message.tpl +1 -1
- package/templates/partials/chats/user.tpl +1 -1
- package/templates/partials/chats-menu.tpl +11 -11
- package/templates/partials/cookie-consent.tpl +1 -1
- package/templates/partials/delete_posts_modal.tpl +19 -0
- package/templates/partials/flags/filters.tpl +32 -34
- package/templates/partials/fork_thread_modal.tpl +22 -0
- package/templates/partials/groups/list.tpl +6 -6
- package/templates/partials/groups/memberlist.tpl +10 -11
- package/templates/partials/menu.tpl +156 -149
- package/templates/partials/merge_topics_modal.tpl +58 -0
- package/templates/partials/modals/change_picture_modal.tpl +73 -0
- package/templates/partials/modals/flag_modal.tpl +45 -0
- package/templates/partials/modals/manage_room.tpl +11 -0
- package/templates/partials/modals/manage_room_users.tpl +7 -0
- package/templates/partials/modals/post_history.tpl +36 -0
- package/templates/partials/modals/rename_room.tpl +4 -0
- package/templates/partials/modals/upload_file_modal.tpl +44 -0
- package/templates/partials/modals/upload_picture_from_url_modal.tpl +17 -0
- package/templates/partials/modals/votes_modal.tpl +10 -0
- package/templates/partials/move_thread_modal.tpl +17 -0
- package/templates/partials/notifications_list.tpl +2 -2
- package/templates/partials/paginator.tpl +21 -21
- package/templates/partials/post_bar.tpl +4 -4
- package/templates/partials/posts_list.tpl +1 -1
- package/templates/partials/posts_list_item.tpl +2 -2
- package/templates/partials/quick-search-results.tpl +11 -14
- package/templates/partials/slideout-menu.tpl +1 -1
- package/templates/partials/tags_list.tpl +3 -3
- package/templates/partials/thread_tools.tpl +4 -4
- package/templates/partials/topic/badge.tpl +5 -0
- package/templates/partials/topic/deleted-message.tpl +2 -2
- package/templates/partials/topic/event.tpl +2 -2
- package/templates/partials/topic/navigation-post.tpl +3 -3
- package/templates/partials/topic/navigator.tpl +7 -7
- package/templates/partials/topic/necro-post.tpl +1 -1
- package/templates/partials/topic/post-menu-list.tpl +23 -26
- package/templates/partials/topic/post-menu.tpl +3 -3
- package/templates/partials/topic/post.tpl +44 -49
- package/templates/partials/topic/quickreply.tpl +3 -3
- package/templates/partials/topic/reply-button.tpl +3 -3
- package/templates/partials/topic/sort.tpl +5 -5
- package/templates/partials/topic/tags.tpl +5 -3
- package/templates/partials/topic/topic-menu-list.tpl +16 -18
- package/templates/partials/topic/watch.tpl +10 -11
- package/templates/partials/topics_list.tpl +25 -27
- package/templates/partials/users_list.tpl +10 -22
- package/templates/partials/users_list_menu.tpl +9 -19
- package/templates/popular.tpl +35 -9
- package/templates/post-queue.tpl +35 -42
- package/templates/recent.tpl +24 -10
- package/templates/register.tpl +17 -17
- package/templates/registerComplete.tpl +10 -14
- package/templates/reset.tpl +5 -7
- package/templates/reset_code.tpl +9 -9
- package/templates/search.tpl +87 -100
- package/templates/tag.tpl +10 -8
- package/templates/tags.tpl +3 -5
- package/templates/top.tpl +35 -9
- package/templates/topic.tpl +10 -8
- package/templates/tos.tpl +4 -4
- package/templates/unread.tpl +22 -10
- package/templates/users.tpl +20 -7
- package/theme.json +6 -6
- package/theme.less +2 -0
- package/scss/modules/nprogress.scss +0 -80
- package/scss/overrides.scss +0 -44
- package/scss/search.scss +0 -39
- package/scss/tags.scss +0 -11
- package/scss/topics_list.scss +0 -17
- package/templates/partials/groups/admin.tpl +0 -195
- package/templates/partials/groups/badge.tpl +0 -1
- package/templates/partials/toast.tpl +0 -14
- package/templates/partials/topic/tag.tpl +0 -1
- package/templates/partials/topic-filters.tpl +0 -12
- package/templates/partials/topic-terms.tpl +0 -12
- package/theme.scss +0 -1
package/templates/post-queue.tpl
CHANGED
|
@@ -1,72 +1,65 @@
|
|
|
1
1
|
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
|
-
<div class="btn-toolbar
|
|
3
|
-
<div class="me-2">
|
|
2
|
+
<div class="btn-toolbar">
|
|
4
3
|
<!-- IMPORT partials/category-filter-right.tpl -->
|
|
5
|
-
|
|
4
|
+
|
|
6
5
|
{{{ if !singlePost }}}
|
|
7
|
-
<div class="btn-group bottom-sheet" component="post-queue/bulk-actions">
|
|
8
|
-
<button type="button" class="btn btn-
|
|
6
|
+
<div class="btn-group pull-right bottom-sheet" component="post-queue/bulk-actions">
|
|
7
|
+
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" autocomplete="off" aria-haspopup="true" aria-expanded="false">
|
|
9
8
|
<i class="fa fa-clone"></i> [[post-queue:bulk-actions]] <span class="caret"></span>
|
|
10
9
|
</button>
|
|
11
|
-
<ul class="dropdown-menu dropdown-menu-
|
|
12
|
-
<li><a
|
|
13
|
-
<li><a
|
|
14
|
-
<li class="
|
|
15
|
-
<li><a
|
|
16
|
-
<li><a
|
|
10
|
+
<ul class="dropdown-menu dropdown-menu-right">
|
|
11
|
+
<li><a href="#" data-action="accept-all">[[post-queue:accept-all]]</a></li>
|
|
12
|
+
<li><a href="#" data-action="accept-selected">[[post-queue:accept-selected]]</a></li>
|
|
13
|
+
<li class="divider"></li>
|
|
14
|
+
<li><a href="#" data-action="reject-all">[[post-queue:reject-all]]</a></li>
|
|
15
|
+
<li><a href="#" data-action="reject-selected">[[post-queue:reject-selected]]</a></li>
|
|
17
16
|
</ul>
|
|
18
17
|
</div>
|
|
19
18
|
{{{ end }}}
|
|
20
19
|
</div>
|
|
21
20
|
<hr/>
|
|
22
21
|
<div class="row">
|
|
23
|
-
<div class="col-12">
|
|
22
|
+
<div class="col-xs-12">
|
|
24
23
|
<div class="post-queue preventSlideout posts-list">
|
|
25
24
|
{{{ if !posts.length }}}
|
|
26
25
|
{{{ if isAdmin }}}
|
|
27
|
-
<
|
|
28
|
-
<p>
|
|
26
|
+
<p class="panel-body">
|
|
29
27
|
[[post-queue:description, {config.relative_path}/admin/settings/post#post-queue]]
|
|
30
|
-
|
|
31
|
-
</div>
|
|
28
|
+
</p>
|
|
32
29
|
{{{ end }}}
|
|
33
30
|
{{{ end }}}
|
|
34
31
|
|
|
35
32
|
{{{ each posts }}}
|
|
36
|
-
<div class="
|
|
37
|
-
<div class="
|
|
33
|
+
<div class="panel panel-default" data-id="{posts.id}">
|
|
34
|
+
<div class="panel-heading">
|
|
38
35
|
{{{ if !singlePost }}}
|
|
39
|
-
<input type="checkbox"
|
|
36
|
+
<input type="checkbox" autocomplete="off" />
|
|
40
37
|
{{{ end }}}
|
|
41
38
|
<strong>{{{ if posts.data.tid }}}[[post-queue:reply]]{{{ else }}}[[post-queue:topic]]{{{ end }}}</strong>
|
|
42
|
-
<span class="timeago
|
|
39
|
+
<span class="timeago pull-right" title={posts.data.timestampISO}></span>
|
|
43
40
|
</div>
|
|
44
|
-
<div class="
|
|
41
|
+
<div class="panel-body">
|
|
42
|
+
|
|
45
43
|
<div class="row">
|
|
46
|
-
<div class="col-lg-2 col-12">
|
|
44
|
+
<div class="col-lg-2 col-xs-12">
|
|
47
45
|
<strong>[[post-queue:user]]</strong>
|
|
48
46
|
<div>
|
|
49
47
|
{{{ if posts.user.userslug}}}
|
|
50
|
-
<a href="{config.relative_path}/uid/{posts.user.uid}">{buildAvatar(posts.user, "
|
|
48
|
+
<a href="{config.relative_path}/uid/{posts.user.uid}">{buildAvatar(posts.user, "24", true, "not-responsive")} {posts.user.username}</a>
|
|
51
49
|
{{{ else }}}
|
|
52
50
|
{posts.user.username}
|
|
53
51
|
{{{ end }}}
|
|
54
52
|
</div>
|
|
55
53
|
</div>
|
|
56
|
-
<div class="col-lg-3 col-12">
|
|
57
|
-
<strong>[[post-queue:category]]{{{ if posts.data.cid}}} <i class="fa fa-fw fa-edit" data-
|
|
54
|
+
<div class="col-lg-3 col-xs-12">
|
|
55
|
+
<strong>[[post-queue:category]]{{{ if posts.data.cid}}} <i class="fa fa-fw fa-edit" data-toggle="tooltip" title="[[post-queue:category-editable]]"></i>{{{ end }}}</strong>
|
|
58
56
|
<div class="topic-category" {{{if posts.data.cid}}}data-editable="editable"{{{end}}}">
|
|
59
|
-
<a href="{config.relative_path}/category/{posts.category.slug}">
|
|
60
|
-
<div class="category-item d-inline-block">
|
|
61
|
-
{buildCategoryIcon(./category, "24px", "rounded-circle")}
|
|
62
|
-
{posts.category.name}
|
|
63
|
-
</div>
|
|
64
|
-
</a>
|
|
57
|
+
<a href="{config.relative_path}/category/{posts.category.slug}"><!-- IF posts.category.icon --><span class="fa-stack"><i style="color: {posts.category.bgColor};" class="fa fa-circle fa-stack-2x"></i><i style="color: {posts.category.color};" class="fa fa-stack-1x fa-fw {posts.category.icon}"></i></span><!-- ENDIF posts.category.icon --> {posts.category.name}</a>
|
|
65
58
|
</div>
|
|
66
59
|
</div>
|
|
67
|
-
<div class="col-lg-7 col-12">
|
|
68
|
-
<strong>{{{ if posts.data.tid }}}[[post-queue:topic]]{{{ else }}}[[post-queue:title]] <i class="fa fa-fw fa-edit" data-
|
|
69
|
-
<div class="topic-title
|
|
60
|
+
<div class="col-lg-7 col-xs-12">
|
|
61
|
+
<strong>{{{ if posts.data.tid }}}[[post-queue:topic]]{{{ else }}}[[post-queue:title]] <i class="fa fa-fw fa-edit" data-toggle="tooltip" title="[[post-queue:title-editable]]"></i>{{{ end }}}</strong>
|
|
62
|
+
<div class="topic-title">
|
|
70
63
|
{{{ if posts.data.tid }}}
|
|
71
64
|
<a href="{config.relative_path}/topic/{posts.data.tid}">{posts.topic.title}</a>
|
|
72
65
|
{{{ end }}}
|
|
@@ -81,21 +74,21 @@
|
|
|
81
74
|
</div>
|
|
82
75
|
<hr/>
|
|
83
76
|
<div>
|
|
84
|
-
<strong>[[post-queue:content]] <i class="fa fa-fw fa-edit" data-
|
|
85
|
-
<div class="post-content
|
|
77
|
+
<strong>[[post-queue:content]] <i class="fa fa-fw fa-edit" data-toggle="tooltip" title="[[post-queue:content-editable]]"></i></strong>
|
|
78
|
+
<div class="post-content">{posts.data.content}</div>
|
|
86
79
|
<div class="post-content-editable hidden">
|
|
87
|
-
<textarea class="form-control
|
|
80
|
+
<textarea class="form-control">{posts.data.rawContent}</textarea>
|
|
88
81
|
</div>
|
|
89
82
|
</div>
|
|
90
83
|
</div>
|
|
91
|
-
<div class="
|
|
84
|
+
<div class="panel-footer text-right">
|
|
92
85
|
<div>
|
|
93
86
|
{{{ if canAccept }}}
|
|
94
|
-
<button class="btn btn-danger btn-
|
|
95
|
-
<button class="btn btn-info btn-
|
|
96
|
-
<button class="btn btn-success btn-
|
|
87
|
+
<button class="btn btn-danger btn-xs" data-action="reject"><i class="fa fa-fw fa-times"></i> [[post-queue:reject]]</button>
|
|
88
|
+
<button class="btn btn-info btn-xs" data-action="notify"><i class="fa fa-fw fa-bell-o"></i> [[post-queue:notify]]</button>
|
|
89
|
+
<button class="btn btn-success btn-xs" data-action="accept"><i class="fa fa-fw fa-check"></i> [[post-queue:accept]] </button>
|
|
97
90
|
{{{ else }}}
|
|
98
|
-
<button class="btn btn-danger btn-
|
|
91
|
+
<button class="btn btn-danger btn-xs" data-action="reject"><i class="fa fa-fw fa-times"></i> [[post-queue:remove]]</button>
|
|
99
92
|
{{{ end }}}
|
|
100
93
|
</div>
|
|
101
94
|
</div>
|
package/templates/recent.tpl
CHANGED
|
@@ -5,22 +5,36 @@
|
|
|
5
5
|
{{{end}}}
|
|
6
6
|
</div>
|
|
7
7
|
<div class="recent">
|
|
8
|
-
<div class="topic-list-header
|
|
9
|
-
<div class="
|
|
10
|
-
|
|
8
|
+
<div class="topic-list-header btn-toolbar">
|
|
9
|
+
<div class="pull-left">
|
|
10
|
+
<!-- IF canPost -->
|
|
11
11
|
<!-- IMPORT partials/buttons/newTopic.tpl -->
|
|
12
|
-
|
|
12
|
+
<!-- ELSE -->
|
|
13
13
|
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
|
|
14
|
-
|
|
15
|
-
<a href="{config.relative_path}/{selectedFilter.url}
|
|
16
|
-
<div class="alert alert-warning
|
|
14
|
+
<!-- ENDIF canPost -->
|
|
15
|
+
<a href="{config.relative_path}/{selectedFilter.url}" class="inline-block">
|
|
16
|
+
<div class="alert alert-warning hide" id="new-topics-alert"></div>
|
|
17
17
|
</a>
|
|
18
18
|
</div>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<!-- IMPORT partials/category-filter-right.tpl -->
|
|
19
|
+
|
|
20
|
+
<div class="btn-group pull-right">
|
|
22
21
|
<!-- IMPORT partials/category/tools.tpl -->
|
|
23
22
|
</div>
|
|
23
|
+
|
|
24
|
+
<!-- IMPORT partials/category-filter-right.tpl -->
|
|
25
|
+
|
|
26
|
+
<div class="btn-group pull-right bottom-sheet <!-- IF !filters.length -->hidden<!-- ENDIF !filters.length -->">
|
|
27
|
+
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
|
28
|
+
<span class="visible-sm-inline visible-md-inline visible-lg-inline">{selectedFilter.name}</span><span class="visible-xs-inline"><i class="fa fa-fw {selectedFilter.icon}"></i></span> <span class="caret"></span>
|
|
29
|
+
</button>
|
|
30
|
+
<ul class="dropdown-menu" role="menu">
|
|
31
|
+
{{{each filters}}}
|
|
32
|
+
<li role="presentation" class="category {{{if filters.selected}}}selected{{{end}}}">
|
|
33
|
+
<a role="menu-item" href="{config.relative_path}/{filters.url}"><i class="fa fa-fw <!-- IF filters.selected -->fa-check<!-- ENDIF filters.selected -->"></i>{filters.name}</a>
|
|
34
|
+
</li>
|
|
35
|
+
{{{end}}}
|
|
36
|
+
</ul>
|
|
37
|
+
</div>
|
|
24
38
|
</div>
|
|
25
39
|
|
|
26
40
|
<div class="category">
|
package/templates/register.tpl
CHANGED
|
@@ -13,45 +13,45 @@
|
|
|
13
13
|
<p>{error}</p>
|
|
14
14
|
</div>
|
|
15
15
|
<form component="register/local" class="form-horizontal" role="form" action="{config.relative_path}/register" method="post">
|
|
16
|
-
<div class="
|
|
17
|
-
<label for="username" class="col-lg-
|
|
18
|
-
<div class="col-lg-
|
|
16
|
+
<div class="form-group">
|
|
17
|
+
<label for="username" class="col-lg-4 control-label">[[register:username]]</label>
|
|
18
|
+
<div class="col-lg-8">
|
|
19
19
|
<input class="form-control" type="text" placeholder="[[register:username_placeholder]]" name="username" id="username" autocorrect="off" autocapitalize="off" autocomplete="off" />
|
|
20
20
|
<span class="register-feedback" id="username-notify"></span>
|
|
21
|
-
<span class="
|
|
21
|
+
<span class="help-block">[[register:help.username_restrictions, {minimumUsernameLength}, {maximumUsernameLength}]]</span>
|
|
22
22
|
</div>
|
|
23
23
|
</div>
|
|
24
|
-
<div class="
|
|
25
|
-
<label for="password" class="col-lg-
|
|
26
|
-
<div class="col-lg-
|
|
24
|
+
<div class="form-group">
|
|
25
|
+
<label for="password" class="col-lg-4 control-label">[[register:password]]</label>
|
|
26
|
+
<div class="col-lg-8">
|
|
27
27
|
<input class="form-control" type="password" placeholder="[[register:password_placeholder]]" name="password" id="password" />
|
|
28
28
|
<span class="register-feedback" id="password-notify"></span>
|
|
29
|
-
<span class="
|
|
29
|
+
<span class="help-block">[[register:help.minimum_password_length, {minimumPasswordLength}]]</span>
|
|
30
30
|
<p id="caps-lock-warning" class="text-danger hidden">
|
|
31
31
|
<i class="fa fa-exclamation-triangle"></i> [[login:caps-lock-enabled]]
|
|
32
32
|
</p>
|
|
33
33
|
</div>
|
|
34
34
|
</div>
|
|
35
|
-
<div class="
|
|
36
|
-
<label for="password-confirm" class="col-lg-
|
|
37
|
-
<div class="col-lg-
|
|
35
|
+
<div class="form-group">
|
|
36
|
+
<label for="password-confirm" class="col-lg-4 control-label">[[register:confirm_password]]</label>
|
|
37
|
+
<div class="col-lg-8">
|
|
38
38
|
<input class="form-control" type="password" placeholder="[[register:confirm_password_placeholder]]" name="password-confirm" id="password-confirm" />
|
|
39
39
|
<span class="register-feedback" id="password-confirm-notify"></span>
|
|
40
40
|
</div>
|
|
41
41
|
</div>
|
|
42
42
|
|
|
43
43
|
{{{each regFormEntry}}}
|
|
44
|
-
<div class="
|
|
45
|
-
<label for="register-{regFormEntry.styleName}" class="col-lg-
|
|
46
|
-
<div id="register-{regFormEntry.styleName}" class="col-lg-
|
|
44
|
+
<div class="form-group">
|
|
45
|
+
<label for="register-{regFormEntry.styleName}" class="col-lg-4 control-label">{regFormEntry.label}</label>
|
|
46
|
+
<div id="register-{regFormEntry.styleName}" class="col-lg-8">
|
|
47
47
|
{{regFormEntry.html}}
|
|
48
48
|
</div>
|
|
49
49
|
</div>
|
|
50
50
|
{{{end}}}
|
|
51
51
|
|
|
52
|
-
<div class="
|
|
53
|
-
<div class="
|
|
54
|
-
<button class="btn btn-primary btn-lg" id="register" type="submit">[[register:register_now_button]]</button>
|
|
52
|
+
<div class="form-group">
|
|
53
|
+
<div class="col-lg-offset-4 col-lg-8">
|
|
54
|
+
<button class="btn btn-primary btn-lg btn-block" id="register" type="submit">[[register:register_now_button]]</button>
|
|
55
55
|
</div>
|
|
56
56
|
</div>
|
|
57
57
|
<input id="token" type="hidden" name="token" value="" />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
2
|
|
|
3
3
|
<div class="row">
|
|
4
|
-
<div class="col-12 col-sm-8
|
|
4
|
+
<div class="col-xs-12 col-sm-8 col-sm-offset-2">
|
|
5
5
|
<p class="lead text-center">
|
|
6
6
|
{{{ if register }}}[[register:interstitial.intro-new]]{{{ else }}}[[register:interstitial.intro]]{{{ end }}}
|
|
7
7
|
</p>
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
<form role="form" method="post" action="{config.relative_path}/register/complete/?_csrf={config.csrf_token}" enctype="multipart/form-data">
|
|
25
25
|
{{{each sections}}}
|
|
26
26
|
<div class="row">
|
|
27
|
-
<div class="col-12 col-sm-8
|
|
28
|
-
<div class="
|
|
29
|
-
<div class="
|
|
27
|
+
<div class="col-xs-12 col-sm-8 col-sm-offset-2">
|
|
28
|
+
<div class="panel panel-default">
|
|
29
|
+
<div class="panel-body">
|
|
30
30
|
{@value}
|
|
31
31
|
</div>
|
|
32
32
|
</div>
|
|
@@ -34,18 +34,14 @@
|
|
|
34
34
|
</div>
|
|
35
35
|
{{{end}}}
|
|
36
36
|
|
|
37
|
-
<div class="row
|
|
38
|
-
<div class="col-12 col-sm-8
|
|
39
|
-
<button class="btn btn-primary">[[topic:composer.submit]]</button>
|
|
37
|
+
<div class="row">
|
|
38
|
+
<div class="col-xs-12 col-sm-8 col-sm-offset-2">
|
|
39
|
+
<button class="btn btn-primary btn-block">[[topic:composer.submit]]</button>
|
|
40
40
|
</div>
|
|
41
41
|
</div>
|
|
42
42
|
</form>
|
|
43
43
|
<form role="form" method="post" action="{config.relative_path}/register/abort">
|
|
44
|
-
<
|
|
45
|
-
<
|
|
46
|
-
|
|
47
|
-
<button class="btn btn-link">{{{ if register }}}[[register:cancel_registration]]{{{ else }}}[[modules:bootbox.cancel]]{{{ end }}}</button>
|
|
48
|
-
</p>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
44
|
+
<p class="text-center">
|
|
45
|
+
<button class="btn btn-link">{{{ if register }}}[[register:cancel_registration]]{{{ else }}}[[modules:bootbox.cancel]]{{{ end }}}</button>
|
|
46
|
+
</p>
|
|
51
47
|
</form>
|
package/templates/reset.tpl
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[[reset_password:enter_email]]
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
|
-
<div class="
|
|
8
|
+
<div class="well">
|
|
9
9
|
<div class="alert alert-success hide" id="success">
|
|
10
10
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
|
11
11
|
[[reset_password:password_reset_sent]]
|
|
@@ -15,11 +15,9 @@
|
|
|
15
15
|
[[reset_password:invalid_email]]
|
|
16
16
|
</div>
|
|
17
17
|
<form onsubmit="return false;">
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<
|
|
22
|
-
<button class="btn btn-primary btn-lg" id="reset" type="submit">[[reset_password:reset_password]]</button>
|
|
23
|
-
</div>
|
|
18
|
+
<input type="text" class="form-control input-block input-lg" placeholder="[[reset_password:enter_email_address]]" id="email" />
|
|
19
|
+
|
|
20
|
+
<br />
|
|
21
|
+
<button class="btn btn-primary btn-block btn-lg" id="reset" type="submit">[[reset_password:reset_password]]</button>
|
|
24
22
|
</form>
|
|
25
23
|
</div>
|
package/templates/reset_code.tpl
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
2
|
|
|
3
3
|
<!-- IF valid -->
|
|
4
|
-
<div class="
|
|
4
|
+
<div class="well">
|
|
5
5
|
<!-- IF displayExpiryNotice -->
|
|
6
6
|
<div class="alert alert-warning">
|
|
7
7
|
[[reset_password:password_expired]]
|
|
@@ -18,24 +18,24 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
<form onsubmit="return false;" id="reset-form" class="row">
|
|
20
20
|
<div class="col-sm-6">
|
|
21
|
-
<label
|
|
21
|
+
<label for="password">[[reset_password:new_password]]</label>
|
|
22
22
|
<input class="form-control" type="password" placeholder="[[reset_password:new_password]]" id="password" /><br />
|
|
23
23
|
</div>
|
|
24
24
|
<div class="col-sm-6">
|
|
25
|
-
<label
|
|
25
|
+
<label for="repeat">[[reset_password:repeat_password]]</label>
|
|
26
26
|
<input class="form-control" type="password" placeholder="[[reset_password:repeat_password]]" id="repeat" /><br />
|
|
27
27
|
</div>
|
|
28
|
-
<div class="col-12">
|
|
28
|
+
<div class="col-xs-12">
|
|
29
29
|
<button class="btn btn-primary btn-block" id="reset" type="submit">[[reset_password:reset_password]]</button>
|
|
30
30
|
</div>
|
|
31
31
|
</form>
|
|
32
32
|
</div>
|
|
33
33
|
<!-- ELSE -->
|
|
34
|
-
<div class="
|
|
35
|
-
<
|
|
36
|
-
[[reset_password:wrong_reset_code.title]]
|
|
37
|
-
</
|
|
38
|
-
<div class="
|
|
34
|
+
<div class="panel panel-default panel-danger">
|
|
35
|
+
<div class="panel-heading">
|
|
36
|
+
<h3 class="panel-title">[[reset_password:wrong_reset_code.title]]</h3>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="panel-body">
|
|
39
39
|
<p>[[reset_password:wrong_reset_code.message]]</p>
|
|
40
40
|
</div>
|
|
41
41
|
</div>
|