nodebb-theme-persona 13.3.32 → 13.3.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc +2 -2
- package/README.md +20 -20
- package/lib/controllers.js +24 -24
- package/library.js +97 -97
- package/package.json +52 -52
- package/plugin.json +20 -20
- package/public/.eslintrc +2 -2
- package/public/admin.js +15 -15
- package/public/modules/autohidingnavbar.js +220 -220
- package/public/modules/mobile-menu.js +190 -190
- package/public/modules/taskbar.js +65 -65
- package/public/persona.js +257 -257
- package/public/settings.js +53 -53
- package/scss/account.scss +336 -336
- package/scss/categories.scss +205 -205
- package/scss/category.scss +161 -161
- package/scss/chats.scss +14 -14
- package/scss/flags.scss +42 -42
- package/scss/footer.scss +16 -16
- package/scss/groups.scss +166 -166
- package/scss/header.scss +229 -361
- package/scss/keyframes.scss +152 -152
- package/scss/mixins.scss +129 -129
- package/scss/mobile.scss +222 -331
- package/scss/modules/composer.scss +20 -20
- package/scss/modules/cookie-consent.scss +12 -12
- package/scss/modules/fab.scss +32 -32
- package/scss/modules/morph.scss +268 -268
- package/scss/modules/necro-post.scss +8 -8
- package/scss/modules/nprogress.scss +80 -80
- package/scss/modules/taskbar.scss +160 -160
- package/scss/modules/user-menu.scss +7 -7
- package/scss/modules/usercard.scss +64 -64
- package/scss/noscript.scss +80 -80
- package/scss/overrides.scss +39 -39
- package/scss/persona.scss +34 -34
- package/scss/posts_list.scss +127 -127
- package/scss/search.scss +48 -48
- package/scss/style.scss +256 -256
- package/scss/tags.scss +10 -10
- package/scss/topic.scss +571 -571
- package/scss/topics_list.scss +16 -16
- package/scss/variables.scss +6 -6
- package/templates/account/blocks.tpl +46 -46
- package/templates/account/categories.tpl +28 -28
- package/templates/account/consent.tpl +68 -68
- package/templates/account/edit/password.tpl +29 -29
- package/templates/account/edit/username.tpl +25 -25
- package/templates/account/edit.tpl +136 -136
- package/templates/account/followers.tpl +17 -17
- package/templates/account/following.tpl +17 -17
- package/templates/account/groups.tpl +16 -16
- package/templates/account/info.tpl +291 -291
- package/templates/account/posts.tpl +18 -18
- package/templates/account/profile.tpl +166 -166
- package/templates/account/sessions.tpl +31 -31
- package/templates/account/settings.tpl +251 -251
- package/templates/account/tags.tpl +9 -9
- package/templates/account/theme.tpl +25 -25
- package/templates/account/topics.tpl +29 -29
- package/templates/account/uploads.tpl +42 -42
- package/templates/admin/plugins/persona.tpl +24 -24
- package/templates/categories.tpl +31 -31
- package/templates/category.tpl +63 -63
- package/templates/flags/detail.tpl +208 -208
- package/templates/flags/list.tpl +71 -71
- package/templates/footer.tpl +11 -11
- package/templates/groups/details.tpl +77 -77
- package/templates/groups/list.tpl +48 -48
- package/templates/groups/members.tpl +5 -5
- package/templates/header.tpl +47 -47
- package/templates/modules/taskbar.tpl +2 -2
- package/templates/modules/usercard.tpl +36 -36
- package/templates/notifications.tpl +66 -66
- package/templates/partials/account/category-item.tpl +23 -23
- package/templates/partials/account/header.tpl +47 -47
- package/templates/partials/account/menu.tpl +108 -108
- package/templates/partials/breadcrumbs.tpl +18 -18
- package/templates/partials/buttons/newTopic.tpl +22 -22
- package/templates/partials/categories/item.tpl +60 -60
- package/templates/partials/categories/lastpost.tpl +26 -26
- package/templates/partials/category/filter-dropdown-content.tpl +31 -31
- package/templates/partials/category/selector-dropdown-content.tpl +32 -32
- package/templates/partials/category/sort.tpl +14 -14
- package/templates/partials/category/subcategory.tpl +17 -17
- package/templates/partials/category/tags.tpl +3 -3
- package/templates/partials/category/tools.tpl +86 -86
- package/templates/partials/category/watch.tpl +55 -55
- package/templates/partials/chats-menu.tpl +41 -40
- package/templates/partials/cookie-consent.tpl +4 -4
- package/templates/partials/flags/filters.tpl +173 -173
- package/templates/partials/groups/admin.tpl +200 -200
- package/templates/partials/groups/filter-dropdown-content.tpl +24 -24
- package/templates/partials/groups/list.tpl +20 -20
- package/templates/partials/groups/memberlist.tpl +42 -42
- package/templates/partials/header/chats.tpl +18 -18
- package/templates/partials/header/notifications.tpl +49 -19
- package/templates/partials/header/search.tpl +24 -24
- package/templates/partials/header/user-menu.tpl +96 -96
- package/templates/partials/menu.tpl +128 -128
- package/templates/partials/notifications_list.tpl +44 -30
- 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/posts_list_item.tpl +31 -31
- package/templates/partials/quick-search-results.tpl +33 -33
- package/templates/partials/search-filters.tpl +183 -183
- package/templates/partials/search-results.tpl +54 -54
- package/templates/partials/slideout-menu.tpl +4 -4
- package/templates/partials/tags/filter-dropdown-content.tpl +33 -33
- package/templates/partials/tags/watch.tpl +35 -35
- package/templates/partials/tags_list.tpl +4 -4
- package/templates/partials/toast.tpl +19 -19
- package/templates/partials/topic/event.tpl +12 -12
- package/templates/partials/topic/navigation-post.tpl +11 -11
- package/templates/partials/topic/navigator.tpl +39 -39
- package/templates/partials/topic/necro-post.tpl +2 -2
- package/templates/partials/topic/post-menu-list.tpl +132 -132
- package/templates/partials/topic/post-menu.tpl +4 -4
- package/templates/partials/topic/post.tpl +128 -128
- package/templates/partials/topic/quickreply.tpl +28 -28
- 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 +2 -2
- package/templates/partials/topic/tools.tpl +7 -7
- package/templates/partials/topic/topic-menu-list.tpl +74 -74
- package/templates/partials/topic/watch.tpl +47 -47
- package/templates/partials/topic-filters.tpl +11 -11
- package/templates/partials/topic-terms.tpl +11 -11
- package/templates/partials/topics_list.tpl +117 -117
- package/templates/partials/users/filter-dropdown-content.tpl +20 -20
- package/templates/partials/users/item.tpl +43 -43
- package/templates/partials/users_list.tpl +14 -14
- package/templates/partials/users_list_menu.tpl +20 -20
- package/templates/popular.tpl +35 -35
- package/templates/recent.tpl +37 -37
- package/templates/search.tpl +47 -47
- package/templates/tag.tpl +34 -34
- package/templates/tags.tpl +32 -32
- package/templates/top.tpl +35 -35
- package/templates/topic.tpl +129 -129
- package/templates/unread.tpl +37 -37
- package/templates/users.tpl +34 -34
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
<a class="nav-link" data-bs-toggle="dropdown" href="{relative_path}/user/{user.userslug}/chats" data-ajaxify="false" id="chat_dropdown" component="chat/dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
|
2
|
-
<i component="chat/icon" class="fa {{{ if unreadCount.chat}}}fa-comment{{{ else }}}fa-comment-o{{{ end }}} fa-fw unread-count" data-content="{unreadCount.chat}"></i> <span class="d-inline d-sm-none">[[global:header.chats]]</span>
|
|
3
|
-
</a>
|
|
4
|
-
<ul class="dropdown-menu dropdown-menu-end p-1" aria-labelledby="chat_dropdown"
|
|
5
|
-
<li>
|
|
6
|
-
<ul component="chat/list" class="chat-list chats-list">
|
|
7
|
-
<li class="loading-text">
|
|
8
|
-
<a href="#"><i class="fa fa-refresh fa-spin"></i> [[global:chats.loading]]</a>
|
|
9
|
-
</li>
|
|
10
|
-
</ul>
|
|
11
|
-
</li>
|
|
12
|
-
<li class="dropdown-divider"></li>
|
|
13
|
-
<li>
|
|
14
|
-
<div class="d-flex justify-content-center gap-1 flex-wrap">
|
|
15
|
-
<a class="btn btn-light mark-all-read flex-fill text-nowrap" href="#" component="chats/mark-all-read"><i class="fa fa-check-double"></i> [[modules:chat.mark-all-read]]</a>
|
|
16
|
-
<a class="btn btn-primary flex-fill text-nowrap" href="{relative_path}/user/{user.userslug}/chats"><i class="fa fa-comments"></i> [[modules:chat.see-all]]</a>
|
|
17
|
-
</div>
|
|
18
|
-
</li>
|
|
1
|
+
<a class="nav-link" data-bs-toggle="dropdown" href="{relative_path}/user/{user.userslug}/chats" data-ajaxify="false" id="chat_dropdown" component="chat/dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
|
2
|
+
<i component="chat/icon" class="fa {{{ if unreadCount.chat}}}fa-comment{{{ else }}}fa-comment-o{{{ end }}} fa-fw unread-count" data-content="{unreadCount.chat}"></i> <span class="d-inline d-sm-none">[[global:header.chats]]</span>
|
|
3
|
+
</a>
|
|
4
|
+
<ul class="dropdown-menu dropdown-menu-end p-1" aria-labelledby="chat_dropdown" role="menu">
|
|
5
|
+
<li>
|
|
6
|
+
<ul component="chat/list" class="chat-list chats-list">
|
|
7
|
+
<li class="loading-text">
|
|
8
|
+
<a href="#"><i class="fa fa-refresh fa-spin"></i> [[global:chats.loading]]</a>
|
|
9
|
+
</li>
|
|
10
|
+
</ul>
|
|
11
|
+
</li>
|
|
12
|
+
<li class="dropdown-divider"></li>
|
|
13
|
+
<li>
|
|
14
|
+
<div class="d-flex justify-content-center gap-1 flex-wrap">
|
|
15
|
+
<a class="btn btn-light btn-sm mark-all-read flex-fill text-nowrap" href="#" component="chats/mark-all-read"><i class="fa fa-check-double"></i> [[modules:chat.mark-all-read]]</a>
|
|
16
|
+
<a class="btn btn-primary btn-sm flex-fill text-nowrap" href="{relative_path}/user/{user.userslug}/chats"><i class="fa fa-comments"></i> [[modules:chat.see-all]]</a>
|
|
17
|
+
</div>
|
|
18
|
+
</li>
|
|
19
19
|
</ul>
|
|
@@ -1,19 +1,49 @@
|
|
|
1
|
-
<a
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<li
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
<a data-bs-toggle="dropdown" href="#" role="button" class="nav-link d-flex gap-2 justify-content-between align-items-center position-relative" aria-haspopup="true" aria-expanded="false" aria-label="[[global:header.notifications]]">
|
|
2
|
+
<span class="d-flex gap-2 align-items-center text-nowrap truncate-open">
|
|
3
|
+
<span class="position-relative">
|
|
4
|
+
<i component="notifications/icon" class="fa fa-fw {{{ if unreadCount.notification}}}fa-bell{{{ else }}}fa-bell-o{{{ end }}} unread-count" data-content="{unreadCount.notification}"></i>
|
|
5
|
+
<span component="notifications/count" class="visible-closed position-absolute top-0 start-100 translate-middle badge rounded-1 bg-primary {{{ if !unreadCount.notification }}}hidden{{{ end }}}">{unreadCount.notification}</span>
|
|
6
|
+
</span>
|
|
7
|
+
</span>
|
|
8
|
+
<span component="notifications/count" class="visible-open badge rounded-1 bg-primary {{{ if !unreadCount.notification }}}hidden{{{ end }}}">{unreadCount.notification}</span>
|
|
9
|
+
</a>
|
|
10
|
+
|
|
11
|
+
<ul class="notifications-dropdown dropdown-menu dropdown-menu-end p-1 shadow" role="menu">
|
|
12
|
+
<li>
|
|
13
|
+
<div component="notifications/list" class="list-container notification-list overscroll-behavior-contain pe-1 ff-base ghost-scrollbar">
|
|
14
|
+
<div class="mb-2 p-1">
|
|
15
|
+
<div class="d-flex gap-1 justify-content-between">
|
|
16
|
+
<div class="d-flex gap-2 flex-grow-1 placeholder-wave">
|
|
17
|
+
<div class="placeholder" style="width: 32px; height: 32px;"></div>
|
|
18
|
+
<div class="flex-grow-1">
|
|
19
|
+
<div class="d-flex flex-column">
|
|
20
|
+
<div class="text-sm">
|
|
21
|
+
<span class="placeholder placeholder-sm col-4"></span>
|
|
22
|
+
<span class="placeholder placeholder-sm col-6"></span>
|
|
23
|
+
<span class="placeholder placeholder-sm col-7"></span>
|
|
24
|
+
<span class="placeholder placeholder-sm col-2"></span>
|
|
25
|
+
<span class="placeholder placeholder-sm col-5"></span>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="text-xs">
|
|
28
|
+
<div class="placeholder placeholder-xs col-6"></div>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
<div>
|
|
34
|
+
<button class="mark-read btn-ghost-sm" style="width: 1.5rem; height: 1.5rem;">
|
|
35
|
+
<i class="unread fa fa-2xs fa-circle text-primary"></i>
|
|
36
|
+
</button>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</li>
|
|
42
|
+
<li class="dropdown-divider"></li>
|
|
43
|
+
<li>
|
|
44
|
+
<div class="d-flex justify-content-center gap-1 flex-wrap">
|
|
45
|
+
<a role="button" href="#" class="btn btn-sm btn-light mark-all-read flex-fill text-nowrap text-truncate ff-secondary"><i class="fa fa-check-double"></i> [[notifications:mark-all-read]]</a>
|
|
46
|
+
<a class="btn btn-sm btn-primary flex-fill text-nowrap text-truncate ff-secondary" href="{relative_path}/notifications"><i class="fa fa-list"></i> [[notifications:see-all]]</a>
|
|
47
|
+
</div>
|
|
48
|
+
</li>
|
|
49
|
+
</ul>
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
<form component="search/form" id="search-form" class="d-flex justify-content-end align-items-center" role="search" method="GET">
|
|
2
|
-
<div component="search/fields" class="hidden" id="search-fields">
|
|
3
|
-
<div class="input-group flex-nowrap">
|
|
4
|
-
<input autocomplete="off" type="text" class="form-control" placeholder="[[global:search]]" name="query" value="">
|
|
5
|
-
|
|
6
|
-
<a href="{config.relative_path}/search" class="btn btn-outline-secondary" aria-label="[[search:type-to-search]]">
|
|
7
|
-
<i class="fa fa-gears fa-fw"></i>
|
|
8
|
-
</a>
|
|
9
|
-
</div>
|
|
10
|
-
|
|
11
|
-
<div id="quick-search-container" class="quick-search-container dropdown-menu d-block mt-2 hidden">
|
|
12
|
-
<div class="form-check filter-category mb-2 ms-4">
|
|
13
|
-
<input class="form-check-input" type="checkbox" checked>
|
|
14
|
-
<label class="form-check-label name"></label>
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
<div class="text-center loading-indicator"><i class="fa fa-spinner fa-spin"></i></div>
|
|
18
|
-
<div class="quick-search-results-container"></div>
|
|
19
|
-
</div>
|
|
20
|
-
<button type="submit" class="btn btn-outline-secondary hide">[[global:search]]</button>
|
|
21
|
-
</div>
|
|
22
|
-
|
|
23
|
-
<div id="" class="nav-item"><a component="search/button" id="search-button" href="#" class="nav-link"><i class="fa fa-search fa-fw" title="Search"></i></a></div>
|
|
24
|
-
</form>
|
|
1
|
+
<form component="search/form" id="search-form" class="d-flex justify-content-end align-items-center" role="search" method="GET">
|
|
2
|
+
<div component="search/fields" class="hidden" id="search-fields">
|
|
3
|
+
<div class="input-group flex-nowrap">
|
|
4
|
+
<input autocomplete="off" type="text" class="form-control" placeholder="[[global:search]]" name="query" value="">
|
|
5
|
+
|
|
6
|
+
<a href="{config.relative_path}/search" class="btn btn-outline-secondary" aria-label="[[search:type-to-search]]">
|
|
7
|
+
<i class="fa fa-gears fa-fw"></i>
|
|
8
|
+
</a>
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
<div id="quick-search-container" class="quick-search-container dropdown-menu d-block mt-2 hidden">
|
|
12
|
+
<div class="form-check filter-category mb-2 ms-4">
|
|
13
|
+
<input class="form-check-input" type="checkbox" checked>
|
|
14
|
+
<label class="form-check-label name"></label>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<div class="text-center loading-indicator"><i class="fa fa-spinner fa-spin"></i></div>
|
|
18
|
+
<div class="quick-search-results-container"></div>
|
|
19
|
+
</div>
|
|
20
|
+
<button type="submit" class="btn btn-outline-secondary hide">[[global:search]]</button>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<div id="" class="nav-item"><a component="search/button" id="search-button" href="#" class="nav-link"><i class="fa fa-search fa-fw" title="Search"></i></a></div>
|
|
24
|
+
</form>
|
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
<li id="user_label" class="nav-item dropdown" title="[[global:header.profile]]">
|
|
2
|
-
<a href="#" for="user-control-list-check" data-bs-toggle="dropdown" id="user_dropdown" role="button" component="header/avatar" aria-haspopup="true" aria-expanded="false">
|
|
3
|
-
{buildAvatar(user, "32px", true)}
|
|
4
|
-
<span id="user-header-name" class="d-block d-sm-none">{user.username}</span>
|
|
5
|
-
</a>
|
|
6
|
-
<input type="checkbox" class="hidden" id="user-control-list-check" aria-hidden="true">
|
|
7
|
-
<ul id="user-control-list" component="header/usercontrol" class="dropdown-menu dropdown-menu-end" aria-labelledby="user_dropdown" role="menu">
|
|
8
|
-
<li>
|
|
9
|
-
<a class="dropdown-item" component="header/profilelink" href="{relative_path}/user/{user.userslug}" role="menuitem">
|
|
10
|
-
<i component="user/status" class="fa fa-fw fa-circle status {user.status}"></i> <span component="header/username">{user.username}</span>
|
|
11
|
-
</a>
|
|
12
|
-
</li>
|
|
13
|
-
<li role="presentation" class="dropdown-divider"></li>
|
|
14
|
-
<li><h6 class="dropdown-header">[[global:status]]</h6></li>
|
|
15
|
-
<li>
|
|
16
|
-
<a href="#" class="dropdown-item user-status {{{ if user.online }}}selected{{{ end }}}" data-status="online" role="menuitem">
|
|
17
|
-
<i class="fa fa-fw fa-circle status online"></i><span> [[global:online]]</span>
|
|
18
|
-
</a>
|
|
19
|
-
</li>
|
|
20
|
-
<li>
|
|
21
|
-
<a href="#" class="dropdown-item user-status {{{ if user.away }}}selected{{{ end }}}" data-status="away" role="menuitem">
|
|
22
|
-
<i class="fa fa-fw fa-circle status away"></i><span> [[global:away]]</span>
|
|
23
|
-
</a>
|
|
24
|
-
</li>
|
|
25
|
-
<li>
|
|
26
|
-
<a href="#" class="dropdown-item user-status {{{ if user.dnd }}}selected{{{ end }}}" data-status="dnd" role="menuitem">
|
|
27
|
-
<i class="fa fa-fw fa-circle status dnd"></i><span> [[global:dnd]]</span>
|
|
28
|
-
</a>
|
|
29
|
-
</li>
|
|
30
|
-
<li>
|
|
31
|
-
<a href="#" class="dropdown-item user-status {{{ if user.offline }}}selected{{{ end }}}" data-status="offline" role="menuitem">
|
|
32
|
-
<i class="fa fa-fw fa-circle status offline"></i><span> [[global:invisible]]</span>
|
|
33
|
-
</a>
|
|
34
|
-
</li>
|
|
35
|
-
<li role="presentation" class="dropdown-divider"></li>
|
|
36
|
-
<li>
|
|
37
|
-
<a class="dropdown-item" href="{relative_path}/user/{user.userslug}/bookmarks" role="menuitem">
|
|
38
|
-
<i class="fa fa-fw fa-bookmark"></i> <span>[[user:bookmarks]]</span>
|
|
39
|
-
</a>
|
|
40
|
-
</li>
|
|
41
|
-
<li>
|
|
42
|
-
<a class="dropdown-item" component="header/profilelink/edit" href="{relative_path}/user/{user.userslug}/edit" role="menuitem">
|
|
43
|
-
<i class="fa fa-fw fa-edit"></i> <span>[[user:edit-profile]]</span>
|
|
44
|
-
</a>
|
|
45
|
-
</li>
|
|
46
|
-
<li>
|
|
47
|
-
<a class="dropdown-item" component="header/profilelink/settings" href="{relative_path}/user/{user.userslug}/settings" role="menuitem">
|
|
48
|
-
<i class="fa fa-fw fa-gear"></i> <span>[[user:settings]]</span>
|
|
49
|
-
</a>
|
|
50
|
-
</li>
|
|
51
|
-
{{{ if showModMenu }}}
|
|
52
|
-
<li role="presentation" class="dropdown-divider"></li>
|
|
53
|
-
<li><h6 class="dropdown-header">[[pages:moderator-tools]]</h6></li>
|
|
54
|
-
<li>
|
|
55
|
-
<a class="dropdown-item" href="{relative_path}/flags" role="menuitem">
|
|
56
|
-
<i class="fa fa-fw fa-flag"></i> <span>[[pages:flagged-content]]</span>
|
|
57
|
-
</a>
|
|
58
|
-
</li>
|
|
59
|
-
<li>
|
|
60
|
-
<a class="dropdown-item" href="{relative_path}/post-queue" role="menuitem">
|
|
61
|
-
<i class="fa fa-fw fa-list-alt"></i> <span>[[pages:post-queue]]</span>
|
|
62
|
-
</a>
|
|
63
|
-
</li>
|
|
64
|
-
{{{ if registrationQueueEnabled }}}
|
|
65
|
-
<li>
|
|
66
|
-
<a class="dropdown-item" href="{relative_path}/registration-queue" role="menuitem">
|
|
67
|
-
<i class="fa fa-fw fa-list-alt"></i> <span>[[pages:registration-queue]]</span>
|
|
68
|
-
</a>
|
|
69
|
-
</li>
|
|
70
|
-
{{{ end }}}
|
|
71
|
-
<li>
|
|
72
|
-
<a class="dropdown-item" href="{relative_path}/ip-blacklist" role="menuitem">
|
|
73
|
-
<i class="fa fa-fw fa-ban"></i> <span>[[pages:ip-blacklist]]</span>
|
|
74
|
-
</a>
|
|
75
|
-
</li>
|
|
76
|
-
{{{ else }}}
|
|
77
|
-
{{{ if postQueueEnabled }}}
|
|
78
|
-
<li>
|
|
79
|
-
<a class="dropdown-item" href="{relative_path}/post-queue" role="menuitem">
|
|
80
|
-
<i class="fa fa-fw fa-list-alt"></i> <span>[[pages:post-queue]]</span>
|
|
81
|
-
</a>
|
|
82
|
-
</li>
|
|
83
|
-
{{{ end }}}
|
|
84
|
-
{{{ end }}}
|
|
85
|
-
|
|
86
|
-
<li role="presentation" class="dropdown-divider"></li>
|
|
87
|
-
<li component="user/logout">
|
|
88
|
-
<form method="post" action="{relative_path}/logout">
|
|
89
|
-
<input type="hidden" name="_csrf" value="{config.csrf_token}">
|
|
90
|
-
<input type="hidden" name="noscript" value="true">
|
|
91
|
-
<button type="submit" class="dropdown-item" role="menuitem">
|
|
92
|
-
<i class="fa fa-fw fa-sign-out"></i><span> [[global:logout]]</span>
|
|
93
|
-
</button>
|
|
94
|
-
</form>
|
|
95
|
-
</li>
|
|
96
|
-
</ul>
|
|
1
|
+
<li id="user_label" class="nav-item dropdown" title="[[global:header.profile]]">
|
|
2
|
+
<a href="#" for="user-control-list-check" data-bs-toggle="dropdown" id="user_dropdown" role="button" component="header/avatar" aria-haspopup="true" aria-expanded="false">
|
|
3
|
+
{buildAvatar(user, "32px", true)}
|
|
4
|
+
<span id="user-header-name" class="d-block d-sm-none">{user.username}</span>
|
|
5
|
+
</a>
|
|
6
|
+
<input type="checkbox" class="hidden" id="user-control-list-check" aria-hidden="true">
|
|
7
|
+
<ul id="user-control-list" component="header/usercontrol" class="dropdown-menu dropdown-menu-end" aria-labelledby="user_dropdown" role="menu">
|
|
8
|
+
<li>
|
|
9
|
+
<a class="dropdown-item" component="header/profilelink" href="{relative_path}/user/{user.userslug}" role="menuitem">
|
|
10
|
+
<i component="user/status" class="fa fa-fw fa-circle status {user.status}"></i> <span component="header/username">{user.username}</span>
|
|
11
|
+
</a>
|
|
12
|
+
</li>
|
|
13
|
+
<li role="presentation" class="dropdown-divider"></li>
|
|
14
|
+
<li><h6 class="dropdown-header">[[global:status]]</h6></li>
|
|
15
|
+
<li>
|
|
16
|
+
<a href="#" class="dropdown-item user-status {{{ if user.online }}}selected{{{ end }}}" data-status="online" role="menuitem">
|
|
17
|
+
<i class="fa fa-fw fa-circle status online"></i><span> [[global:online]]</span>
|
|
18
|
+
</a>
|
|
19
|
+
</li>
|
|
20
|
+
<li>
|
|
21
|
+
<a href="#" class="dropdown-item user-status {{{ if user.away }}}selected{{{ end }}}" data-status="away" role="menuitem">
|
|
22
|
+
<i class="fa fa-fw fa-circle status away"></i><span> [[global:away]]</span>
|
|
23
|
+
</a>
|
|
24
|
+
</li>
|
|
25
|
+
<li>
|
|
26
|
+
<a href="#" class="dropdown-item user-status {{{ if user.dnd }}}selected{{{ end }}}" data-status="dnd" role="menuitem">
|
|
27
|
+
<i class="fa fa-fw fa-circle status dnd"></i><span> [[global:dnd]]</span>
|
|
28
|
+
</a>
|
|
29
|
+
</li>
|
|
30
|
+
<li>
|
|
31
|
+
<a href="#" class="dropdown-item user-status {{{ if user.offline }}}selected{{{ end }}}" data-status="offline" role="menuitem">
|
|
32
|
+
<i class="fa fa-fw fa-circle status offline"></i><span> [[global:invisible]]</span>
|
|
33
|
+
</a>
|
|
34
|
+
</li>
|
|
35
|
+
<li role="presentation" class="dropdown-divider"></li>
|
|
36
|
+
<li>
|
|
37
|
+
<a class="dropdown-item" href="{relative_path}/user/{user.userslug}/bookmarks" role="menuitem">
|
|
38
|
+
<i class="fa fa-fw fa-bookmark"></i> <span>[[user:bookmarks]]</span>
|
|
39
|
+
</a>
|
|
40
|
+
</li>
|
|
41
|
+
<li>
|
|
42
|
+
<a class="dropdown-item" component="header/profilelink/edit" href="{relative_path}/user/{user.userslug}/edit" role="menuitem">
|
|
43
|
+
<i class="fa fa-fw fa-edit"></i> <span>[[user:edit-profile]]</span>
|
|
44
|
+
</a>
|
|
45
|
+
</li>
|
|
46
|
+
<li>
|
|
47
|
+
<a class="dropdown-item" component="header/profilelink/settings" href="{relative_path}/user/{user.userslug}/settings" role="menuitem">
|
|
48
|
+
<i class="fa fa-fw fa-gear"></i> <span>[[user:settings]]</span>
|
|
49
|
+
</a>
|
|
50
|
+
</li>
|
|
51
|
+
{{{ if showModMenu }}}
|
|
52
|
+
<li role="presentation" class="dropdown-divider"></li>
|
|
53
|
+
<li><h6 class="dropdown-header">[[pages:moderator-tools]]</h6></li>
|
|
54
|
+
<li>
|
|
55
|
+
<a class="dropdown-item" href="{relative_path}/flags" role="menuitem">
|
|
56
|
+
<i class="fa fa-fw fa-flag"></i> <span>[[pages:flagged-content]]</span>
|
|
57
|
+
</a>
|
|
58
|
+
</li>
|
|
59
|
+
<li>
|
|
60
|
+
<a class="dropdown-item" href="{relative_path}/post-queue" role="menuitem">
|
|
61
|
+
<i class="fa fa-fw fa-list-alt"></i> <span>[[pages:post-queue]]</span>
|
|
62
|
+
</a>
|
|
63
|
+
</li>
|
|
64
|
+
{{{ if registrationQueueEnabled }}}
|
|
65
|
+
<li>
|
|
66
|
+
<a class="dropdown-item" href="{relative_path}/registration-queue" role="menuitem">
|
|
67
|
+
<i class="fa fa-fw fa-list-alt"></i> <span>[[pages:registration-queue]]</span>
|
|
68
|
+
</a>
|
|
69
|
+
</li>
|
|
70
|
+
{{{ end }}}
|
|
71
|
+
<li>
|
|
72
|
+
<a class="dropdown-item" href="{relative_path}/ip-blacklist" role="menuitem">
|
|
73
|
+
<i class="fa fa-fw fa-ban"></i> <span>[[pages:ip-blacklist]]</span>
|
|
74
|
+
</a>
|
|
75
|
+
</li>
|
|
76
|
+
{{{ else }}}
|
|
77
|
+
{{{ if postQueueEnabled }}}
|
|
78
|
+
<li>
|
|
79
|
+
<a class="dropdown-item" href="{relative_path}/post-queue" role="menuitem">
|
|
80
|
+
<i class="fa fa-fw fa-list-alt"></i> <span>[[pages:post-queue]]</span>
|
|
81
|
+
</a>
|
|
82
|
+
</li>
|
|
83
|
+
{{{ end }}}
|
|
84
|
+
{{{ end }}}
|
|
85
|
+
|
|
86
|
+
<li role="presentation" class="dropdown-divider"></li>
|
|
87
|
+
<li component="user/logout">
|
|
88
|
+
<form method="post" action="{relative_path}/logout">
|
|
89
|
+
<input type="hidden" name="_csrf" value="{config.csrf_token}">
|
|
90
|
+
<input type="hidden" name="noscript" value="true">
|
|
91
|
+
<button type="submit" class="dropdown-item" role="menuitem">
|
|
92
|
+
<i class="fa fa-fw fa-sign-out"></i><span> [[global:logout]]</span>
|
|
93
|
+
</button>
|
|
94
|
+
</form>
|
|
95
|
+
</li>
|
|
96
|
+
</ul>
|
|
97
97
|
</li>
|
|
@@ -1,128 +1,128 @@
|
|
|
1
|
-
<div class="d-flex align-items-center me-auto" style="min-width: 0px;">
|
|
2
|
-
<button type="button" class="navbar-toggler border-0" id="mobile-menu">
|
|
3
|
-
<i class="fa fa-lg fa-fw fa-bars unread-count" ></i>
|
|
4
|
-
<span component="unread/icon" class="notification-icon fa fa-fw fa-book unread-count" data-content="{unreadCount.mobileUnread}" data-unread-url="{unreadCount.unreadUrl}"></span>
|
|
5
|
-
</button>
|
|
6
|
-
<div class="d-inline-flex align-items-center" style="min-width: 0px;">
|
|
7
|
-
{{{ if brand:logo }}}
|
|
8
|
-
<a class="navbar-brand" href="{{{ if brand:logo:url }}}{brand:logo:url}{{{ else }}}{relative_path}/{{{ end }}}">
|
|
9
|
-
<img alt="{brand:logo:alt}" class="{brand:logo:display} forum-logo d-inline-block align-text-bottom" src="{brand:logo}?{config.cache-buster}" />
|
|
10
|
-
</a>
|
|
11
|
-
{{{ end }}}
|
|
12
|
-
{{{ if config.showSiteTitle }}}
|
|
13
|
-
<a class="navbar-brand text-truncate" href="{{{ if title:url }}}{title:url}{{{ else }}}{relative_path}/{{{ end }}}">
|
|
14
|
-
{config.siteTitle}
|
|
15
|
-
</a>
|
|
16
|
-
{{{ end }}}
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
|
|
20
|
-
{{{ if (config.searchEnabled && user.privileges.search:content) }}}
|
|
21
|
-
<div class="navbar-search visible-xs">
|
|
22
|
-
<form action="{config.relative_path}/search" method="GET">
|
|
23
|
-
<button type="button" class="btn btn-link"><i class="fa fa-lg fa-fw fa-search" title="[[global:header.search]]"></i></button>
|
|
24
|
-
<input autocomplete="off" type="text" class="form-control hidden" name="term" placeholder="[[global:search]]"/>
|
|
25
|
-
<button class="btn btn-primary hidden" type="submit"></button>
|
|
26
|
-
<input type="text" class="hidden" name="in" value="{config.searchDefaultInQuick}" />
|
|
27
|
-
</form>
|
|
28
|
-
<div class="quick-search-container dropdown-menu d-block mt-2 hidden">
|
|
29
|
-
<div class="quick-search-results-container"></div>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
{{{ end }}}
|
|
33
|
-
|
|
34
|
-
{{{ if config.loggedIn }}}
|
|
35
|
-
<button type="button" class="navbar-toggler border-0" id="mobile-chats">
|
|
36
|
-
<span component="notifications/icon" class="notification-icon fa fa-fw fa-bell-o unread-count" data-content="{unreadCount.notification}"></span>
|
|
37
|
-
<span component="chat/icon" class="notification-icon fa fa-fw fa-comments unread-count" data-content="{unreadCount.chat}"></span>
|
|
38
|
-
{buildAvatar(user, "32px", true)}
|
|
39
|
-
</button>
|
|
40
|
-
{{{ end }}}
|
|
41
|
-
|
|
42
|
-
<div component="navbar/title" class="visible-xs hidden">
|
|
43
|
-
<span></span>
|
|
44
|
-
</div>
|
|
45
|
-
|
|
46
|
-
<div id="nav-dropdown" class="collapse navbar-collapse d-none d-lg-block">
|
|
47
|
-
<ul id="main-nav" class="navbar-nav me-auto mb-2 mb-lg-0">
|
|
48
|
-
{{{each navigation}}}
|
|
49
|
-
<!-- IF function.displayMenuItem, @index -->
|
|
50
|
-
<li class="nav-item {navigation.class}{{{ if navigation.dropdown }}} dropdown{{{ end }}}" title="{navigation.title}">
|
|
51
|
-
<a class="nav-link navigation-link {{{ if navigation.dropdown }}}dropdown-toggle{{{ end }}}"
|
|
52
|
-
{{{ if navigation.dropdown }}} href="#" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" {{{ else }}} href="{navigation.route}"{{{ end }}} {{{ if navigation.id }}}id="{navigation.id}"{{{ end }}}{{{ if navigation.targetBlank }}} target="_blank"{{{ end }}}>
|
|
53
|
-
{{{ if navigation.iconClass }}}
|
|
54
|
-
<i class="fa fa-fw {navigation.iconClass}" data-content="{navigation.content}"></i>
|
|
55
|
-
{{{ end }}}
|
|
56
|
-
{{{ if navigation.text }}}
|
|
57
|
-
<span class="{navigation.textClass}">{navigation.text}</span>
|
|
58
|
-
{{{ end }}}
|
|
59
|
-
{{{ if navigation.dropdown}}}
|
|
60
|
-
<i class="fa fa-caret-down"></i>
|
|
61
|
-
{{{ end }}}
|
|
62
|
-
</a>
|
|
63
|
-
{{{ if navigation.dropdown }}}
|
|
64
|
-
<ul class="dropdown-menu" role="menu">
|
|
65
|
-
{navigation.dropdownContent}
|
|
66
|
-
</ul>
|
|
67
|
-
{{{ end }}}
|
|
68
|
-
</li>
|
|
69
|
-
<!-- ENDIF function.displayMenuItem -->
|
|
70
|
-
{{{end}}}
|
|
71
|
-
</ul>
|
|
72
|
-
<ul class="navbar-nav mb-2 mb-lg-0 hidden-xs">
|
|
73
|
-
<li class="nav-item">
|
|
74
|
-
<a href="#" id="reconnect" class="nav-link hide" title="[[global:reconnecting-message, {config.siteTitle}]]">
|
|
75
|
-
<i class="fa fa-check"></i>
|
|
76
|
-
</a>
|
|
77
|
-
</li>
|
|
78
|
-
</ul>
|
|
79
|
-
{{{ if (config.searchEnabled && user.privileges.search:content) }}}
|
|
80
|
-
<div class="navbar-nav mb-2 mb-lg-0 position-relative">
|
|
81
|
-
<!-- IMPORT partials/header/search.tpl -->
|
|
82
|
-
</div>
|
|
83
|
-
{{{ end }}}
|
|
84
|
-
|
|
85
|
-
{{{ if !maintenanceHeader }}}
|
|
86
|
-
{{{ if config.loggedIn }}}
|
|
87
|
-
<ul id="logged-in-menu" class="navbar-nav me-0 mb-2 mb-lg-0 align-items-center">
|
|
88
|
-
<li class="nav-item notifications dropdown d-none d-sm-block" component="notifications" title="[[global:header.notifications]]">
|
|
89
|
-
<!-- IMPORT partials/header/notifications.tpl -->
|
|
90
|
-
</li>
|
|
91
|
-
|
|
92
|
-
{{{ if canChat }}}
|
|
93
|
-
<li class="nav-item chats dropdown" title="[[global:header.chats]]">
|
|
94
|
-
<!-- IMPORT partials/header/chats.tpl -->
|
|
95
|
-
</li>
|
|
96
|
-
{{{ end }}}
|
|
97
|
-
|
|
98
|
-
<!-- IMPORT partials/header/user-menu.tpl -->
|
|
99
|
-
</ul>
|
|
100
|
-
{{{ else }}}
|
|
101
|
-
<ul id="logged-out-menu" class="navbar-nav me-0 mb-2 mb-lg-0 align-items-center">
|
|
102
|
-
{{{ if allowRegistration }}}
|
|
103
|
-
<li class="nav-item">
|
|
104
|
-
<a class="nav-link" href="{relative_path}/register">
|
|
105
|
-
<i class="fa fa-pencil fa-fw d-inline-block d-sm-none"></i>
|
|
106
|
-
<span>[[global:register]]</span>
|
|
107
|
-
</a>
|
|
108
|
-
</li>
|
|
109
|
-
{{{ end }}}
|
|
110
|
-
<li class="nav-item">
|
|
111
|
-
<a class="nav-link" href="{relative_path}/login">
|
|
112
|
-
<i class="fa fa-sign-in fa-fw d-inline-block d-sm-none"></i>
|
|
113
|
-
<span>[[global:login]]</span>
|
|
114
|
-
</a>
|
|
115
|
-
</li>
|
|
116
|
-
</ul>
|
|
117
|
-
{{{ end }}}
|
|
118
|
-
{{{ else }}}
|
|
119
|
-
<ul class="navbar-nav me-0 mb-2 mb-lg-0"></ul>
|
|
120
|
-
<li class="nav-item">
|
|
121
|
-
<a href="{relative_path}/login">
|
|
122
|
-
<i class="fa fa-sign-in fa-fw d-block d-sm-none"></i>
|
|
123
|
-
<span>[[global:login]]</span>
|
|
124
|
-
</a>
|
|
125
|
-
</li>
|
|
126
|
-
</ul>
|
|
127
|
-
{{{ end }}}
|
|
128
|
-
</div>
|
|
1
|
+
<div class="d-flex align-items-center me-auto" style="min-width: 0px;">
|
|
2
|
+
<button type="button" class="navbar-toggler border-0" id="mobile-menu">
|
|
3
|
+
<i class="fa fa-lg fa-fw fa-bars unread-count" ></i>
|
|
4
|
+
<span component="unread/icon" class="notification-icon fa fa-fw fa-book unread-count" data-content="{unreadCount.mobileUnread}" data-unread-url="{unreadCount.unreadUrl}"></span>
|
|
5
|
+
</button>
|
|
6
|
+
<div class="d-inline-flex align-items-center" style="min-width: 0px;">
|
|
7
|
+
{{{ if brand:logo }}}
|
|
8
|
+
<a class="navbar-brand" href="{{{ if brand:logo:url }}}{brand:logo:url}{{{ else }}}{relative_path}/{{{ end }}}">
|
|
9
|
+
<img alt="{brand:logo:alt}" class="{brand:logo:display} forum-logo d-inline-block align-text-bottom" src="{brand:logo}?{config.cache-buster}" />
|
|
10
|
+
</a>
|
|
11
|
+
{{{ end }}}
|
|
12
|
+
{{{ if config.showSiteTitle }}}
|
|
13
|
+
<a class="navbar-brand text-truncate" href="{{{ if title:url }}}{title:url}{{{ else }}}{relative_path}/{{{ end }}}">
|
|
14
|
+
{config.siteTitle}
|
|
15
|
+
</a>
|
|
16
|
+
{{{ end }}}
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
{{{ if (config.searchEnabled && user.privileges.search:content) }}}
|
|
21
|
+
<div class="navbar-search visible-xs">
|
|
22
|
+
<form action="{config.relative_path}/search" method="GET">
|
|
23
|
+
<button type="button" class="btn btn-link"><i class="fa fa-lg fa-fw fa-search" title="[[global:header.search]]"></i></button>
|
|
24
|
+
<input autocomplete="off" type="text" class="form-control hidden" name="term" placeholder="[[global:search]]"/>
|
|
25
|
+
<button class="btn btn-primary hidden" type="submit"></button>
|
|
26
|
+
<input type="text" class="hidden" name="in" value="{config.searchDefaultInQuick}" />
|
|
27
|
+
</form>
|
|
28
|
+
<div class="quick-search-container dropdown-menu d-block mt-2 hidden">
|
|
29
|
+
<div class="quick-search-results-container"></div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
{{{ end }}}
|
|
33
|
+
|
|
34
|
+
{{{ if config.loggedIn }}}
|
|
35
|
+
<button type="button" class="navbar-toggler border-0" id="mobile-chats">
|
|
36
|
+
<span component="notifications/icon" class="notification-icon fa fa-fw fa-bell-o unread-count" data-content="{unreadCount.notification}"></span>
|
|
37
|
+
<span component="chat/icon" class="notification-icon fa fa-fw fa-comments unread-count" data-content="{unreadCount.chat}"></span>
|
|
38
|
+
{buildAvatar(user, "32px", true)}
|
|
39
|
+
</button>
|
|
40
|
+
{{{ end }}}
|
|
41
|
+
|
|
42
|
+
<div component="navbar/title" class="visible-xs hidden">
|
|
43
|
+
<span></span>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<div id="nav-dropdown" class="collapse navbar-collapse d-none d-lg-block">
|
|
47
|
+
<ul id="main-nav" class="navbar-nav me-auto mb-2 mb-lg-0">
|
|
48
|
+
{{{each navigation}}}
|
|
49
|
+
<!-- IF function.displayMenuItem, @index -->
|
|
50
|
+
<li class="nav-item {navigation.class}{{{ if navigation.dropdown }}} dropdown{{{ end }}}" title="{navigation.title}">
|
|
51
|
+
<a class="nav-link navigation-link {{{ if navigation.dropdown }}}dropdown-toggle{{{ end }}}"
|
|
52
|
+
{{{ if navigation.dropdown }}} href="#" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" {{{ else }}} href="{navigation.route}"{{{ end }}} {{{ if navigation.id }}}id="{navigation.id}"{{{ end }}}{{{ if navigation.targetBlank }}} target="_blank"{{{ end }}}>
|
|
53
|
+
{{{ if navigation.iconClass }}}
|
|
54
|
+
<i class="fa fa-fw {navigation.iconClass}" data-content="{navigation.content}"></i>
|
|
55
|
+
{{{ end }}}
|
|
56
|
+
{{{ if navigation.text }}}
|
|
57
|
+
<span class="{navigation.textClass}">{navigation.text}</span>
|
|
58
|
+
{{{ end }}}
|
|
59
|
+
{{{ if navigation.dropdown}}}
|
|
60
|
+
<i class="fa fa-caret-down"></i>
|
|
61
|
+
{{{ end }}}
|
|
62
|
+
</a>
|
|
63
|
+
{{{ if navigation.dropdown }}}
|
|
64
|
+
<ul class="dropdown-menu" role="menu">
|
|
65
|
+
{navigation.dropdownContent}
|
|
66
|
+
</ul>
|
|
67
|
+
{{{ end }}}
|
|
68
|
+
</li>
|
|
69
|
+
<!-- ENDIF function.displayMenuItem -->
|
|
70
|
+
{{{end}}}
|
|
71
|
+
</ul>
|
|
72
|
+
<ul class="navbar-nav mb-2 mb-lg-0 hidden-xs">
|
|
73
|
+
<li class="nav-item">
|
|
74
|
+
<a href="#" id="reconnect" class="nav-link hide" title="[[global:reconnecting-message, {config.siteTitle}]]">
|
|
75
|
+
<i class="fa fa-check"></i>
|
|
76
|
+
</a>
|
|
77
|
+
</li>
|
|
78
|
+
</ul>
|
|
79
|
+
{{{ if (config.searchEnabled && user.privileges.search:content) }}}
|
|
80
|
+
<div class="navbar-nav mb-2 mb-lg-0 position-relative">
|
|
81
|
+
<!-- IMPORT partials/header/search.tpl -->
|
|
82
|
+
</div>
|
|
83
|
+
{{{ end }}}
|
|
84
|
+
|
|
85
|
+
{{{ if !maintenanceHeader }}}
|
|
86
|
+
{{{ if config.loggedIn }}}
|
|
87
|
+
<ul id="logged-in-menu" class="navbar-nav me-0 mb-2 mb-lg-0 align-items-center">
|
|
88
|
+
<li class="nav-item notifications dropdown d-none d-sm-block" component="notifications" title="[[global:header.notifications]]">
|
|
89
|
+
<!-- IMPORT partials/header/notifications.tpl -->
|
|
90
|
+
</li>
|
|
91
|
+
|
|
92
|
+
{{{ if canChat }}}
|
|
93
|
+
<li class="nav-item chats dropdown" title="[[global:header.chats]]">
|
|
94
|
+
<!-- IMPORT partials/header/chats.tpl -->
|
|
95
|
+
</li>
|
|
96
|
+
{{{ end }}}
|
|
97
|
+
|
|
98
|
+
<!-- IMPORT partials/header/user-menu.tpl -->
|
|
99
|
+
</ul>
|
|
100
|
+
{{{ else }}}
|
|
101
|
+
<ul id="logged-out-menu" class="navbar-nav me-0 mb-2 mb-lg-0 align-items-center">
|
|
102
|
+
{{{ if allowRegistration }}}
|
|
103
|
+
<li class="nav-item">
|
|
104
|
+
<a class="nav-link" href="{relative_path}/register">
|
|
105
|
+
<i class="fa fa-pencil fa-fw d-inline-block d-sm-none"></i>
|
|
106
|
+
<span>[[global:register]]</span>
|
|
107
|
+
</a>
|
|
108
|
+
</li>
|
|
109
|
+
{{{ end }}}
|
|
110
|
+
<li class="nav-item">
|
|
111
|
+
<a class="nav-link" href="{relative_path}/login">
|
|
112
|
+
<i class="fa fa-sign-in fa-fw d-inline-block d-sm-none"></i>
|
|
113
|
+
<span>[[global:login]]</span>
|
|
114
|
+
</a>
|
|
115
|
+
</li>
|
|
116
|
+
</ul>
|
|
117
|
+
{{{ end }}}
|
|
118
|
+
{{{ else }}}
|
|
119
|
+
<ul class="navbar-nav me-0 mb-2 mb-lg-0"></ul>
|
|
120
|
+
<li class="nav-item">
|
|
121
|
+
<a href="{relative_path}/login">
|
|
122
|
+
<i class="fa fa-sign-in fa-fw d-block d-sm-none"></i>
|
|
123
|
+
<span>[[global:login]]</span>
|
|
124
|
+
</a>
|
|
125
|
+
</li>
|
|
126
|
+
</ul>
|
|
127
|
+
{{{ end }}}
|
|
128
|
+
</div>
|