nodebb-theme-persona 12.1.1 → 12.1.2
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-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-flipped.css +1550 -1550
- package/less/categories.less +235 -235
- package/less/chats.less +0 -4
- 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/mixins.less +1 -1
- package/less/modules/composer-default.less +16 -16
- package/less/modules/cookie-consent.less +12 -12
- package/less/modules/morph.less +268 -268
- package/less/modules/necro-post.less +8 -8
- package/less/modules/nprogress.less +80 -80
- 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/tags.less +36 -36
- package/less/users.less +72 -72
- package/package.json +1 -1
- package/public/.eslintrc +2 -2
- 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/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 +230 -230
- 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 +16 -16
- package/templates/flags/list.tpl +71 -71
- 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/notifications.tpl +64 -64
- package/templates/partials/acceptTos.tpl +8 -8
- package/templates/partials/account/category-item.tpl +22 -22
- 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 +16 -16
- 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/messages.tpl +6 -6
- package/templates/partials/chats-menu.tpl +40 -40
- 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/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 +4 -4
- 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/deleted-message.tpl +10 -10
- package/templates/partials/topic/navigation-post.tpl +11 -11
- package/templates/partials/topic/necro-post.tpl +2 -2
- package/templates/partials/topic/post.tpl +105 -105
- package/templates/partials/topic/quickreply.tpl +25 -25
- 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_menu.tpl +10 -10
- package/templates/popular.tpl +61 -61
- 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/users.tpl +47 -47
- package/theme.json +6 -6
- package/templates/account/edit/email.tpl +0 -30
|
@@ -1,46 +1,46 @@
|
|
|
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="groups list">
|
|
8
|
-
<div class="row">
|
|
9
|
-
<div class="col-lg-4">
|
|
10
|
-
<!-- IF allowGroupCreation -->
|
|
11
|
-
<button class="btn btn-primary" data-action="new"><i class="fa fa-plus"></i> [[groups:new_group]]</button>
|
|
12
|
-
<!-- ENDIF allowGroupCreation -->
|
|
13
|
-
</div>
|
|
14
|
-
<div class="col-lg-8">
|
|
15
|
-
<div class="row">
|
|
16
|
-
<div class="col-xs-5 col-md-3 text-left pull-right">
|
|
17
|
-
<select class="form-control" id="search-sort">
|
|
18
|
-
<option value="alpha">[[groups:details.group_name]]</option>
|
|
19
|
-
<option value="count">[[groups:details.member_count]]</option>
|
|
20
|
-
<option value="date">[[groups:details.creation_date]]</option>
|
|
21
|
-
</select>
|
|
22
|
-
</div>
|
|
23
|
-
<div class="col-xs-7 col-md-5 text-left pull-right">
|
|
24
|
-
<div class="input-group">
|
|
25
|
-
<input type="text" class="form-control" placeholder="[[global:search]]" name="query" value="" id="search-text">
|
|
26
|
-
<span id="search-button" class="input-group-addon search-button"><i class="fa fa-search"></i></span>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
|
|
33
|
-
<hr />
|
|
34
|
-
|
|
35
|
-
<div component="groups/container" class="row" id="groups-list" data-nextstart={nextStart}>
|
|
36
|
-
<!-- IF groups.length -->
|
|
37
|
-
<!-- IMPORT partials/groups/list.tpl -->
|
|
38
|
-
<!-- ELSE -->
|
|
39
|
-
<div class="col-xs-12">
|
|
40
|
-
<div class="alert alert-warning">
|
|
41
|
-
[[groups:no_groups_found]]
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
<!-- ENDIF groups.length -->
|
|
45
|
-
</div>
|
|
46
|
-
</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="groups list">
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-lg-4">
|
|
10
|
+
<!-- IF allowGroupCreation -->
|
|
11
|
+
<button class="btn btn-primary" data-action="new"><i class="fa fa-plus"></i> [[groups:new_group]]</button>
|
|
12
|
+
<!-- ENDIF allowGroupCreation -->
|
|
13
|
+
</div>
|
|
14
|
+
<div class="col-lg-8">
|
|
15
|
+
<div class="row">
|
|
16
|
+
<div class="col-xs-5 col-md-3 text-left pull-right">
|
|
17
|
+
<select class="form-control" id="search-sort">
|
|
18
|
+
<option value="alpha">[[groups:details.group_name]]</option>
|
|
19
|
+
<option value="count">[[groups:details.member_count]]</option>
|
|
20
|
+
<option value="date">[[groups:details.creation_date]]</option>
|
|
21
|
+
</select>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="col-xs-7 col-md-5 text-left pull-right">
|
|
24
|
+
<div class="input-group">
|
|
25
|
+
<input type="text" class="form-control" placeholder="[[global:search]]" name="query" value="" id="search-text">
|
|
26
|
+
<span id="search-button" class="input-group-addon search-button"><i class="fa fa-search"></i></span>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<hr />
|
|
34
|
+
|
|
35
|
+
<div component="groups/container" class="row" id="groups-list" data-nextstart={nextStart}>
|
|
36
|
+
<!-- IF groups.length -->
|
|
37
|
+
<!-- IMPORT partials/groups/list.tpl -->
|
|
38
|
+
<!-- ELSE -->
|
|
39
|
+
<div class="col-xs-12">
|
|
40
|
+
<div class="alert alert-warning">
|
|
41
|
+
[[groups:no_groups_found]]
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
<!-- ENDIF groups.length -->
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
|
-
<div class="users">
|
|
3
|
-
|
|
4
|
-
<ul id="users-container" class="users-container">
|
|
5
|
-
<!-- IMPORT partials/users_list.tpl -->
|
|
6
|
-
</ul>
|
|
7
|
-
|
|
8
|
-
<!-- IMPORT partials/paginator.tpl -->
|
|
1
|
+
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
|
+
<div class="users">
|
|
3
|
+
|
|
4
|
+
<ul id="users-container" class="users-container">
|
|
5
|
+
<!-- IMPORT partials/users_list.tpl -->
|
|
6
|
+
</ul>
|
|
7
|
+
|
|
8
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
9
9
|
</div>
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
|
-
|
|
3
|
-
<div class="row ip-blacklist">
|
|
4
|
-
<div class="col-lg-12">
|
|
5
|
-
<p class="lead">
|
|
6
|
-
[[ip-blacklist:lead]]
|
|
7
|
-
</p>
|
|
8
|
-
<p>
|
|
9
|
-
[[ip-blacklist:description]]
|
|
10
|
-
</p>
|
|
11
|
-
|
|
12
|
-
<div class="row">
|
|
13
|
-
<div class="col-sm-6">
|
|
14
|
-
<div class="panel panel-default">
|
|
15
|
-
<div class="panel-heading">[[ip-blacklist:active-rules]]</div>
|
|
16
|
-
<div class="panel-body">
|
|
17
|
-
<textarea id="blacklist-rules">{rules}</textarea><br />
|
|
18
|
-
<button type="button" class="btn btn-warning" data-action="test">
|
|
19
|
-
<i class="fa fa-bomb"></i> [[ip-blacklist:validate]]
|
|
20
|
-
</button>
|
|
21
|
-
<button type="button" class="btn btn-primary" data-action="apply">
|
|
22
|
-
<i class="fa fa-save"></i> [[ip-blacklist:apply]]
|
|
23
|
-
</button>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="panel panel-default">
|
|
27
|
-
<div class="panel-heading">[[ip-blacklist:hints]]</div>
|
|
28
|
-
<div class="panel-body">
|
|
29
|
-
<p>
|
|
30
|
-
[[ip-blacklist:hint-1]]
|
|
31
|
-
</p>
|
|
32
|
-
<p>
|
|
33
|
-
[[ip-blacklist:hint-2]]
|
|
34
|
-
</p>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
<div class="col-sm-6">
|
|
39
|
-
<div class="panel panel-default">
|
|
40
|
-
<div class="panel-body">
|
|
41
|
-
<div><canvas id="blacklist:hourly" height="250"></canvas></div>
|
|
42
|
-
</div>
|
|
43
|
-
<div class="panel-footer"><small>[[ip-blacklist:analytics.blacklist-hourly]]</small></div>
|
|
44
|
-
</div>
|
|
45
|
-
|
|
46
|
-
<div class="panel panel-default">
|
|
47
|
-
<div class="panel-body">
|
|
48
|
-
<div><canvas id="blacklist:daily" height="250"></canvas></div>
|
|
49
|
-
</div>
|
|
50
|
-
<div class="panel-footer"><small>[[ip-blacklist:analytics.blacklist-daily]]</small></div>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
|
|
1
|
+
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
|
+
|
|
3
|
+
<div class="row ip-blacklist">
|
|
4
|
+
<div class="col-lg-12">
|
|
5
|
+
<p class="lead">
|
|
6
|
+
[[ip-blacklist:lead]]
|
|
7
|
+
</p>
|
|
8
|
+
<p>
|
|
9
|
+
[[ip-blacklist:description]]
|
|
10
|
+
</p>
|
|
11
|
+
|
|
12
|
+
<div class="row">
|
|
13
|
+
<div class="col-sm-6">
|
|
14
|
+
<div class="panel panel-default">
|
|
15
|
+
<div class="panel-heading">[[ip-blacklist:active-rules]]</div>
|
|
16
|
+
<div class="panel-body">
|
|
17
|
+
<textarea id="blacklist-rules">{rules}</textarea><br />
|
|
18
|
+
<button type="button" class="btn btn-warning" data-action="test">
|
|
19
|
+
<i class="fa fa-bomb"></i> [[ip-blacklist:validate]]
|
|
20
|
+
</button>
|
|
21
|
+
<button type="button" class="btn btn-primary" data-action="apply">
|
|
22
|
+
<i class="fa fa-save"></i> [[ip-blacklist:apply]]
|
|
23
|
+
</button>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="panel panel-default">
|
|
27
|
+
<div class="panel-heading">[[ip-blacklist:hints]]</div>
|
|
28
|
+
<div class="panel-body">
|
|
29
|
+
<p>
|
|
30
|
+
[[ip-blacklist:hint-1]]
|
|
31
|
+
</p>
|
|
32
|
+
<p>
|
|
33
|
+
[[ip-blacklist:hint-2]]
|
|
34
|
+
</p>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="col-sm-6">
|
|
39
|
+
<div class="panel panel-default">
|
|
40
|
+
<div class="panel-body">
|
|
41
|
+
<div><canvas id="blacklist:hourly" height="250"></canvas></div>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="panel-footer"><small>[[ip-blacklist:analytics.blacklist-hourly]]</small></div>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<div class="panel panel-default">
|
|
47
|
+
<div class="panel-body">
|
|
48
|
+
<div><canvas id="blacklist:daily" height="250"></canvas></div>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="panel-footer"><small>[[ip-blacklist:analytics.blacklist-daily]]</small></div>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
56
|
</div>
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
|
|
2
|
-
<div class="notifications">
|
|
3
|
-
|
|
4
|
-
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
5
|
-
|
|
6
|
-
<div class="btn-toolbar">
|
|
7
|
-
<div class="dropdown pull-right">
|
|
8
|
-
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="true">
|
|
9
|
-
<i class="fa fa-eye"></i>
|
|
10
|
-
<span class="caret"></span>
|
|
11
|
-
</button>
|
|
12
|
-
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
|
|
13
|
-
<li role="presentation"><a role="menuitem" tabindex="-1" href="#" data-ajaxify="false" component="notifications/mark_all">[[notifications:mark_all_read]]</a></li>
|
|
14
|
-
</ul>
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
<div class="dropdown pull-right">
|
|
18
|
-
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">
|
|
19
|
-
<!-- IF selectedFilter -->{selectedFilter.name}<!-- ENDIF selectedFilter --> <span class="caret"></span>
|
|
20
|
-
</button>
|
|
21
|
-
<ul class="dropdown-menu" role="menu">
|
|
22
|
-
{{{each filters}}}
|
|
23
|
-
<!-- IF filters.separator -->
|
|
24
|
-
<li role="separator" class="divider"></li>
|
|
25
|
-
<!-- ELSE -->
|
|
26
|
-
<li role="presentation" class="category">
|
|
27
|
-
<a role="menu-item" href="{config.relative_path}/notifications?filter={filters.filter}"><i class="fa fa-fw <!-- IF filters.selected -->fa-check<!-- ENDIF filters.selected -->"></i> {filters.name}</a>
|
|
28
|
-
</li>
|
|
29
|
-
<!-- ENDIF filters.separator -->
|
|
30
|
-
{{{end}}}
|
|
31
|
-
</ul>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
<hr />
|
|
36
|
-
|
|
37
|
-
<div class="alert alert-info <!-- IF notifications.length -->hidden<!-- ENDIF notifications.length -->">
|
|
38
|
-
[[notifications:no_notifs]]
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
<ul class="notifications-list" data-nextstart="{nextStart}">
|
|
42
|
-
{{{each notifications}}}
|
|
43
|
-
<li data-nid="{notifications.nid}" class="{notifications.readClass}" component="notifications/item">
|
|
44
|
-
<!-- IF notifications.image -->
|
|
45
|
-
<!-- IF notifications.from -->
|
|
46
|
-
<a class="pull-left" href="{config.relative_path}/user/{notifications.user.userslug}"><img class="user-img" src="{notifications.image}" /></a>
|
|
47
|
-
<!-- ENDIF notifications.from -->
|
|
48
|
-
<!-- ELSE -->
|
|
49
|
-
<a class="pull-left" href="{config.relative_path}/user/{notifications.user.userslug}"><div class="pull-left user-icon user-img" style="background-color: {notifications.user.icon:bgColor};">{notifications.user.icon:text}</div></a>
|
|
50
|
-
<!-- ENDIF notifications.image -->
|
|
51
|
-
|
|
52
|
-
<p>
|
|
53
|
-
<a component="notifications/item/link" href="{notifications.path}">{notifications.bodyShort}</a>
|
|
54
|
-
</p>
|
|
55
|
-
<p class="timestamp">
|
|
56
|
-
<span class="timeago" title="{notifications.datetimeISO}"></span>
|
|
57
|
-
</p>
|
|
58
|
-
</li>
|
|
59
|
-
{{{end}}}
|
|
60
|
-
</ul>
|
|
61
|
-
<!-- IMPORT partials/paginator.tpl -->
|
|
62
|
-
</div>
|
|
63
|
-
|
|
64
|
-
|
|
1
|
+
|
|
2
|
+
<div class="notifications">
|
|
3
|
+
|
|
4
|
+
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
5
|
+
|
|
6
|
+
<div class="btn-toolbar">
|
|
7
|
+
<div class="dropdown pull-right">
|
|
8
|
+
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="true">
|
|
9
|
+
<i class="fa fa-eye"></i>
|
|
10
|
+
<span class="caret"></span>
|
|
11
|
+
</button>
|
|
12
|
+
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
|
|
13
|
+
<li role="presentation"><a role="menuitem" tabindex="-1" href="#" data-ajaxify="false" component="notifications/mark_all">[[notifications:mark_all_read]]</a></li>
|
|
14
|
+
</ul>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<div class="dropdown pull-right">
|
|
18
|
+
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">
|
|
19
|
+
<!-- IF selectedFilter -->{selectedFilter.name}<!-- ENDIF selectedFilter --> <span class="caret"></span>
|
|
20
|
+
</button>
|
|
21
|
+
<ul class="dropdown-menu" role="menu">
|
|
22
|
+
{{{each filters}}}
|
|
23
|
+
<!-- IF filters.separator -->
|
|
24
|
+
<li role="separator" class="divider"></li>
|
|
25
|
+
<!-- ELSE -->
|
|
26
|
+
<li role="presentation" class="category">
|
|
27
|
+
<a role="menu-item" href="{config.relative_path}/notifications?filter={filters.filter}"><i class="fa fa-fw <!-- IF filters.selected -->fa-check<!-- ENDIF filters.selected -->"></i> {filters.name}</a>
|
|
28
|
+
</li>
|
|
29
|
+
<!-- ENDIF filters.separator -->
|
|
30
|
+
{{{end}}}
|
|
31
|
+
</ul>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<hr />
|
|
36
|
+
|
|
37
|
+
<div class="alert alert-info <!-- IF notifications.length -->hidden<!-- ENDIF notifications.length -->">
|
|
38
|
+
[[notifications:no_notifs]]
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<ul class="notifications-list" data-nextstart="{nextStart}">
|
|
42
|
+
{{{each notifications}}}
|
|
43
|
+
<li data-nid="{notifications.nid}" class="{notifications.readClass}" component="notifications/item">
|
|
44
|
+
<!-- IF notifications.image -->
|
|
45
|
+
<!-- IF notifications.from -->
|
|
46
|
+
<a class="pull-left" href="{config.relative_path}/user/{notifications.user.userslug}"><img class="user-img" src="{notifications.image}" /></a>
|
|
47
|
+
<!-- ENDIF notifications.from -->
|
|
48
|
+
<!-- ELSE -->
|
|
49
|
+
<a class="pull-left" href="{config.relative_path}/user/{notifications.user.userslug}"><div class="pull-left user-icon user-img" style="background-color: {notifications.user.icon:bgColor};">{notifications.user.icon:text}</div></a>
|
|
50
|
+
<!-- ENDIF notifications.image -->
|
|
51
|
+
|
|
52
|
+
<p>
|
|
53
|
+
<a component="notifications/item/link" href="{notifications.path}">{notifications.bodyShort}</a>
|
|
54
|
+
</p>
|
|
55
|
+
<p class="timestamp">
|
|
56
|
+
<span class="timeago" title="{notifications.datetimeISO}"></span>
|
|
57
|
+
</p>
|
|
58
|
+
</li>
|
|
59
|
+
{{{end}}}
|
|
60
|
+
</ul>
|
|
61
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
|
|
@@ -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,22 +1,22 @@
|
|
|
1
|
-
<li component="categories/category" data-cid="{../cid}" data-parent-cid="{../parentCid}" class="row clearfix">
|
|
2
|
-
<meta itemprop="name" content="{../name}">
|
|
3
|
-
|
|
4
|
-
<div class="content col-xs-12 col-md-10 col-sm-12 depth-{../depth}">
|
|
5
|
-
<div class="icon pull-left" style="{function.generateCategoryBackground}">
|
|
6
|
-
<i class="fa fa-fw {../icon}"></i>
|
|
7
|
-
</div>
|
|
8
|
-
|
|
9
|
-
<h2 class="title">
|
|
10
|
-
<!-- IMPORT partials/categories/link.tpl -->
|
|
11
|
-
</h2>
|
|
12
|
-
<div>
|
|
13
|
-
<!-- IF ../descriptionParsed -->
|
|
14
|
-
<div class="description">
|
|
15
|
-
{../descriptionParsed}
|
|
16
|
-
</div>
|
|
17
|
-
<!-- ENDIF ../descriptionParsed -->
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
|
|
21
|
-
<!-- IMPORT partials/category/watch.tpl -->
|
|
22
|
-
</li>
|
|
1
|
+
<li component="categories/category" data-cid="{../cid}" data-parent-cid="{../parentCid}" class="row clearfix">
|
|
2
|
+
<meta itemprop="name" content="{../name}">
|
|
3
|
+
|
|
4
|
+
<div class="content col-xs-12 col-md-10 col-sm-12 depth-{../depth}">
|
|
5
|
+
<div class="icon pull-left" style="{function.generateCategoryBackground}">
|
|
6
|
+
<i class="fa fa-fw {../icon}"></i>
|
|
7
|
+
</div>
|
|
8
|
+
|
|
9
|
+
<h2 class="title">
|
|
10
|
+
<!-- IMPORT partials/categories/link.tpl -->
|
|
11
|
+
</h2>
|
|
12
|
+
<div>
|
|
13
|
+
<!-- IF ../descriptionParsed -->
|
|
14
|
+
<div class="description">
|
|
15
|
+
{../descriptionParsed}
|
|
16
|
+
</div>
|
|
17
|
+
<!-- ENDIF ../descriptionParsed -->
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<!-- IMPORT partials/category/watch.tpl -->
|
|
22
|
+
</li>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<noscript><div class="dropdown" component="category-selector"></noscript>
|
|
2
|
-
<label component="category/post" for="category-dropdown-check" class="btn btn-primary" id="new_topic" role="button">
|
|
3
|
-
[[category:new_topic_button]]
|
|
4
|
-
</label>
|
|
5
|
-
<noscript>
|
|
6
|
-
<input type="checkbox" class="hidden" id="category-dropdown-check" aria-hidden="true">
|
|
7
|
-
<ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
|
|
8
|
-
{{{each categories}}}
|
|
9
|
-
<li role="presentation" class="category {{{if categories.disabledClass}}}disabled{{{end}}}">
|
|
10
|
-
<a role="menu-item" href="{config.relative_path}/compose?cid={categories.cid}">{categories.level}<span component="category-markup">{{{if categories.icon}}}<span class="fa-stack" style="{function.generateCategoryBackground}"><i style="color: {categories.color};" class="fa fa-stack-1x fa-fw {categories.icon}"></i></span>{{{end}}} {categories.name}</span></a>
|
|
11
|
-
</li>
|
|
12
|
-
{{{end}}}
|
|
13
|
-
</ul>
|
|
14
|
-
</div>
|
|
15
|
-
</noscript>
|
|
1
|
+
<noscript><div class="dropdown" component="category-selector"></noscript>
|
|
2
|
+
<label component="category/post" for="category-dropdown-check" class="btn btn-primary" id="new_topic" role="button">
|
|
3
|
+
[[category:new_topic_button]]
|
|
4
|
+
</label>
|
|
5
|
+
<noscript>
|
|
6
|
+
<input type="checkbox" class="hidden" id="category-dropdown-check" aria-hidden="true">
|
|
7
|
+
<ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
|
|
8
|
+
{{{each categories}}}
|
|
9
|
+
<li role="presentation" class="category {{{if categories.disabledClass}}}disabled{{{end}}}">
|
|
10
|
+
<a role="menu-item" href="{config.relative_path}/compose?cid={categories.cid}">{categories.level}<span component="category-markup">{{{if categories.icon}}}<span class="fa-stack" style="{function.generateCategoryBackground}"><i style="color: {categories.color};" class="fa fa-stack-1x fa-fw {categories.icon}"></i></span>{{{end}}} {categories.name}</span></a>
|
|
11
|
+
</li>
|
|
12
|
+
{{{end}}}
|
|
13
|
+
</ul>
|
|
14
|
+
</div>
|
|
15
|
+
</noscript>
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
<li component="categories/category" data-cid="{../cid}" data-numRecentReplies="1" class="row clearfix category-{../cid}">
|
|
2
|
-
<meta itemprop="name" content="{../name}">
|
|
3
|
-
|
|
4
|
-
<div class="content col-xs-12 <!-- IF config.hideCategoryLastPost -->col-md-10 col-sm-12<!-- ELSE -->col-md-7 col-sm-9<!-- ENDIF config.hideCategoryLastPost -->">
|
|
5
|
-
<div class="icon pull-left" style="{function.generateCategoryBackground}">
|
|
6
|
-
<i class="fa fa-fw {../icon}"></i>
|
|
7
|
-
</div>
|
|
8
|
-
|
|
9
|
-
<h2 class="title">
|
|
10
|
-
<!-- IMPORT partials/categories/link.tpl -->
|
|
11
|
-
</h2>
|
|
12
|
-
<div>
|
|
13
|
-
<!-- IF ../descriptionParsed -->
|
|
14
|
-
<div class="description">
|
|
15
|
-
{../descriptionParsed}
|
|
16
|
-
</div>
|
|
17
|
-
<!-- ENDIF ../descriptionParsed -->
|
|
18
|
-
<!-- IF !config.hideSubCategories -->
|
|
19
|
-
{function.generateChildrenCategories}
|
|
20
|
-
<!-- ENDIF !config.hideSubCategories -->
|
|
21
|
-
</div>
|
|
22
|
-
<span class="visible-xs pull-right">
|
|
23
|
-
<!-- IF ../teaser.timestampISO -->
|
|
24
|
-
<a class="permalink" href="{../teaser.url}">
|
|
25
|
-
<small class="timeago" title="{../teaser.timestampISO}"></small>
|
|
26
|
-
</a>
|
|
27
|
-
<!-- ENDIF ../teaser.timestampISO -->
|
|
28
|
-
</span>
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
<!-- IF !../link -->
|
|
32
|
-
<div class="col-md-1 hidden-sm hidden-xs stats">
|
|
33
|
-
<span class="{../unread-class} human-readable-number" title="{../totalTopicCount}">{../totalTopicCount}</span><br />
|
|
34
|
-
<small>[[global:topics]]</small>
|
|
35
|
-
</div>
|
|
36
|
-
<div class="col-md-1 hidden-sm hidden-xs stats">
|
|
37
|
-
<span class="{../unread-class} human-readable-number" title="{../totalPostCount}">{../totalPostCount}</span><br />
|
|
38
|
-
<small>[[global:posts]]</small>
|
|
39
|
-
</div>
|
|
40
|
-
<!-- IF !config.hideCategoryLastPost -->
|
|
41
|
-
<div class="col-md-3 col-sm-3 teaser hidden-xs" component="topic/teaser">
|
|
42
|
-
<!-- IMPORT partials/categories/lastpost.tpl -->
|
|
43
|
-
</div>
|
|
44
|
-
<!-- ENDIF !config.hideCategoryLastPost -->
|
|
45
|
-
<!-- ENDIF !../link -->
|
|
46
|
-
</li>
|
|
1
|
+
<li component="categories/category" data-cid="{../cid}" data-numRecentReplies="1" class="row clearfix category-{../cid}">
|
|
2
|
+
<meta itemprop="name" content="{../name}">
|
|
3
|
+
|
|
4
|
+
<div class="content col-xs-12 <!-- IF config.hideCategoryLastPost -->col-md-10 col-sm-12<!-- ELSE -->col-md-7 col-sm-9<!-- ENDIF config.hideCategoryLastPost -->">
|
|
5
|
+
<div class="icon pull-left" style="{function.generateCategoryBackground}">
|
|
6
|
+
<i class="fa fa-fw {../icon}"></i>
|
|
7
|
+
</div>
|
|
8
|
+
|
|
9
|
+
<h2 class="title">
|
|
10
|
+
<!-- IMPORT partials/categories/link.tpl -->
|
|
11
|
+
</h2>
|
|
12
|
+
<div>
|
|
13
|
+
<!-- IF ../descriptionParsed -->
|
|
14
|
+
<div class="description">
|
|
15
|
+
{../descriptionParsed}
|
|
16
|
+
</div>
|
|
17
|
+
<!-- ENDIF ../descriptionParsed -->
|
|
18
|
+
<!-- IF !config.hideSubCategories -->
|
|
19
|
+
{function.generateChildrenCategories}
|
|
20
|
+
<!-- ENDIF !config.hideSubCategories -->
|
|
21
|
+
</div>
|
|
22
|
+
<span class="visible-xs pull-right">
|
|
23
|
+
<!-- IF ../teaser.timestampISO -->
|
|
24
|
+
<a class="permalink" href="{../teaser.url}">
|
|
25
|
+
<small class="timeago" title="{../teaser.timestampISO}"></small>
|
|
26
|
+
</a>
|
|
27
|
+
<!-- ENDIF ../teaser.timestampISO -->
|
|
28
|
+
</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<!-- IF !../link -->
|
|
32
|
+
<div class="col-md-1 hidden-sm hidden-xs stats">
|
|
33
|
+
<span class="{../unread-class} human-readable-number" title="{../totalTopicCount}">{../totalTopicCount}</span><br />
|
|
34
|
+
<small>[[global:topics]]</small>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="col-md-1 hidden-sm hidden-xs stats">
|
|
37
|
+
<span class="{../unread-class} human-readable-number" title="{../totalPostCount}">{../totalPostCount}</span><br />
|
|
38
|
+
<small>[[global:posts]]</small>
|
|
39
|
+
</div>
|
|
40
|
+
<!-- IF !config.hideCategoryLastPost -->
|
|
41
|
+
<div class="col-md-3 col-sm-3 teaser hidden-xs" component="topic/teaser">
|
|
42
|
+
<!-- IMPORT partials/categories/lastpost.tpl -->
|
|
43
|
+
</div>
|
|
44
|
+
<!-- ENDIF !config.hideCategoryLastPost -->
|
|
45
|
+
<!-- ENDIF !../link -->
|
|
46
|
+
</li>
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
<div class="card background-link-container" style="border-color: {../bgColor}">
|
|
2
|
-
{{{each ./posts}}}
|
|
3
|
-
<!-- IF @first -->
|
|
4
|
-
<div component="category/posts">
|
|
5
|
-
<a class="background-link" href="{config.relative_path}/topic/{../topic.slug}<!-- IF ../index -->/{../index}<!-- ENDIF ../index -->"></a>
|
|
6
|
-
<p>
|
|
7
|
-
<a href="{config.relative_path}/user/{../user.userslug}">{buildAvatar(posts.user, "sm", true)}</a>
|
|
8
|
-
<a class="permalink" href="{config.relative_path}/topic/{../topic.slug}<!-- IF ../index -->/{../index}<!-- ENDIF ../index -->">
|
|
9
|
-
<small class="timeago" title="{../timestampISO}"></small>
|
|
10
|
-
</a>
|
|
11
|
-
</p>
|
|
12
|
-
<div class="post-content">
|
|
13
|
-
{../content}
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
|
16
|
-
<!-- ENDIF @first -->
|
|
17
|
-
{{{end}}}
|
|
18
|
-
|
|
19
|
-
<!-- IF !../posts.length -->
|
|
20
|
-
<div component="category/posts">
|
|
21
|
-
<div class="post-content">
|
|
22
|
-
[[category:no_new_posts]]
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
<!-- ENDIF !../posts.length -->
|
|
26
|
-
</div>
|
|
1
|
+
<div class="card background-link-container" style="border-color: {../bgColor}">
|
|
2
|
+
{{{each ./posts}}}
|
|
3
|
+
<!-- IF @first -->
|
|
4
|
+
<div component="category/posts">
|
|
5
|
+
<a class="background-link" href="{config.relative_path}/topic/{../topic.slug}<!-- IF ../index -->/{../index}<!-- ENDIF ../index -->"></a>
|
|
6
|
+
<p>
|
|
7
|
+
<a href="{config.relative_path}/user/{../user.userslug}">{buildAvatar(posts.user, "sm", true)}</a>
|
|
8
|
+
<a class="permalink" href="{config.relative_path}/topic/{../topic.slug}<!-- IF ../index -->/{../index}<!-- ENDIF ../index -->">
|
|
9
|
+
<small class="timeago" title="{../timestampISO}"></small>
|
|
10
|
+
</a>
|
|
11
|
+
</p>
|
|
12
|
+
<div class="post-content">
|
|
13
|
+
{../content}
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
<!-- ENDIF @first -->
|
|
17
|
+
{{{end}}}
|
|
18
|
+
|
|
19
|
+
<!-- IF !../posts.length -->
|
|
20
|
+
<div component="category/posts">
|
|
21
|
+
<div class="post-content">
|
|
22
|
+
[[category:no_new_posts]]
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<!-- ENDIF !../posts.length -->
|
|
26
|
+
</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 -->
|