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
|
@@ -1,39 +1,25 @@
|
|
|
1
1
|
<li component="categories/category" data-cid="{../cid}" data-numRecentReplies="1" class="row clearfix category-{../cid}">
|
|
2
2
|
<meta itemprop="name" content="{../name}">
|
|
3
3
|
|
|
4
|
-
<div class="content col-12 <!-- IF config.hideCategoryLastPost -->col-md-10 col-sm-12<!-- ELSE -->col-md-7 col-sm-9<!-- ENDIF config.hideCategoryLastPost -->">
|
|
5
|
-
<div class="
|
|
6
|
-
|
|
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
7
|
</div>
|
|
8
|
+
|
|
8
9
|
<h2 class="title">
|
|
9
10
|
<!-- IMPORT partials/categories/link.tpl -->
|
|
10
11
|
</h2>
|
|
11
12
|
<div>
|
|
12
13
|
<!-- IF ../descriptionParsed -->
|
|
13
|
-
<div class="description
|
|
14
|
+
<div class="description">
|
|
14
15
|
{../descriptionParsed}
|
|
15
16
|
</div>
|
|
16
17
|
<!-- ENDIF ../descriptionParsed -->
|
|
17
18
|
<!-- IF !config.hideSubCategories -->
|
|
18
|
-
{
|
|
19
|
-
<div class="category-children">
|
|
20
|
-
{{{ each ../children }}}
|
|
21
|
-
{{{ if !../isSection }}}
|
|
22
|
-
<span class="category-children-item">
|
|
23
|
-
{buildCategoryIcon(@value, "24px", "rounded-circle")}
|
|
24
|
-
{{{ if ../link }}}
|
|
25
|
-
<a href="{../link}">{../name}</a>
|
|
26
|
-
{{{ else }}}
|
|
27
|
-
<a href="{config.relative_path}/category/{../slug}">{../name}</a>
|
|
28
|
-
{{{ end }}}
|
|
29
|
-
</span>
|
|
30
|
-
{{{ end }}}
|
|
31
|
-
{{{ end }}}
|
|
32
|
-
</div>
|
|
33
|
-
{{{ end }}}
|
|
19
|
+
{function.generateChildrenCategories}
|
|
34
20
|
<!-- ENDIF !config.hideSubCategories -->
|
|
35
21
|
</div>
|
|
36
|
-
<span class="
|
|
22
|
+
<span class="visible-xs pull-right">
|
|
37
23
|
<!-- IF ../teaser.timestampISO -->
|
|
38
24
|
<a class="permalink" href="{../teaser.url}">
|
|
39
25
|
<small class="timeago" title="{../teaser.timestampISO}"></small>
|
|
@@ -43,16 +29,16 @@
|
|
|
43
29
|
</div>
|
|
44
30
|
|
|
45
31
|
<!-- IF !../link -->
|
|
46
|
-
<div class="col-md-1
|
|
32
|
+
<div class="col-md-1 hidden-sm hidden-xs stats">
|
|
47
33
|
<span class="{../unread-class} human-readable-number" title="{../totalTopicCount}">{../totalTopicCount}</span><br />
|
|
48
34
|
<small>[[global:topics]]</small>
|
|
49
35
|
</div>
|
|
50
|
-
<div class="col-md-1
|
|
36
|
+
<div class="col-md-1 hidden-sm hidden-xs stats">
|
|
51
37
|
<span class="{../unread-class} human-readable-number" title="{../totalPostCount}">{../totalPostCount}</span><br />
|
|
52
38
|
<small>[[global:posts]]</small>
|
|
53
39
|
</div>
|
|
54
40
|
<!-- IF !config.hideCategoryLastPost -->
|
|
55
|
-
<div class="col-md-3 col-sm-3 teaser
|
|
41
|
+
<div class="col-md-3 col-sm-3 teaser hidden-xs" component="topic/teaser">
|
|
56
42
|
<!-- IMPORT partials/categories/lastpost.tpl -->
|
|
57
43
|
</div>
|
|
58
44
|
<!-- ENDIF !config.hideCategoryLastPost -->
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<div class="
|
|
1
|
+
<div class="card background-link-container" style="border-color: {../bgColor}">
|
|
2
2
|
{{{each ./posts}}}
|
|
3
3
|
<!-- IF @first -->
|
|
4
4
|
<div component="category/posts">
|
|
5
5
|
<a class="background-link" href="{config.relative_path}/topic/{../topic.slug}<!-- IF ../index -->/{../index}<!-- ENDIF ../index -->"></a>
|
|
6
6
|
<p>
|
|
7
|
-
<a href="{config.relative_path}/user/{../user.userslug}">{buildAvatar(posts.user, "
|
|
8
|
-
<a class="permalink
|
|
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
9
|
<small class="timeago" title="{../timestampISO}"></small>
|
|
10
10
|
</a>
|
|
11
11
|
</p>
|
|
@@ -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 -->
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<div class="btn-group bottom-sheet" component="thread/sort">
|
|
2
|
-
<button class="btn btn-
|
|
2
|
+
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button">
|
|
3
3
|
<span class="visible-sm-inline visible-md-inline visible-lg-inline">[[topic:sort_by]]</span>
|
|
4
4
|
<span class="visible-xs-inline"><i class="fa fa-fw fa-sort"></i></span>
|
|
5
5
|
<span class="caret"></span>
|
|
6
6
|
</button>
|
|
7
7
|
|
|
8
|
-
<ul class="dropdown-menu
|
|
9
|
-
<li><a
|
|
10
|
-
<li><a
|
|
11
|
-
<li><a
|
|
12
|
-
<li><a
|
|
13
|
-
<li><a
|
|
8
|
+
<ul class="dropdown-menu pull-right">
|
|
9
|
+
<li><a href="#" class="newest_to_oldest" data-sort="newest_to_oldest"><i class="fa fa-fw"></i> [[topic:newest_to_oldest]]</a></li>
|
|
10
|
+
<li><a href="#" class="oldest_to_newest" data-sort="oldest_to_newest"><i class="fa fa-fw"></i> [[topic:oldest_to_newest]]</a></li>
|
|
11
|
+
<li><a href="#" class="most_posts" data-sort="most_posts"><i class="fa fa-fw"></i> [[topic:most_posts]]</a></li>
|
|
12
|
+
<li><a href="#" class="most_votes" data-sort="most_votes"><i class="fa fa-fw"></i> [[topic:most_votes]]</a></li>
|
|
13
|
+
<li><a href="#" class="most_views" data-sort="most_views"><i class="fa fa-fw"></i> [[topic:most_views]]</a></li>
|
|
14
14
|
</ul>
|
|
15
15
|
</div>
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{{{ if children.length }}}
|
|
2
2
|
<div class="subcategory">
|
|
3
3
|
{{{ if hasMoreSubCategories }}}
|
|
4
|
-
<div
|
|
4
|
+
<div><!-- IMPORT partials/category-selector.tpl --></div>
|
|
5
5
|
{{{ else }}}
|
|
6
6
|
<p>[[category:subcategories]]</p>
|
|
7
7
|
{{{ end }}}
|
|
8
8
|
|
|
9
|
-
<ul component="category/subcategory/container" class="categories
|
|
9
|
+
<ul component="category/subcategory/container" class="categories" itemscope itemtype="http://www.schema.org/ItemList">
|
|
10
10
|
{{{each children}}}
|
|
11
11
|
<!-- IMPORT partials/categories/item.tpl -->
|
|
12
12
|
{{{end}}}
|
|
13
13
|
</ul>
|
|
14
14
|
{{{ if hasMoreSubCategories}}}
|
|
15
|
-
<button class="btn btn-
|
|
15
|
+
<button class="btn btn-default" component="category/load-more-subcategories">[[category:x-more-categories, {subCategoriesLeft}]]</button>
|
|
16
16
|
{{{ end }}}
|
|
17
17
|
</div>
|
|
18
18
|
{{{ end }}}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
{{{
|
|
1
|
+
<!-- IF topics.tags.length -->
|
|
2
|
+
{{{each tags}}}
|
|
3
|
+
<a href="{config.relative_path}/tags/{topics.tags.value}"><span class="tag-item" data-tag="{topics.tags.value}" style="<!-- IF topics.tags.color -->color: {topics.tags.color};<!-- ENDIF topics.tags.color --><!-- IF topics.tags.bgColor -->background-color: {topics.tags.bgColor};<!-- ENDIF topics.tags.bgColor -->">{topics.tags.value}</span><span class="tag-topic-count human-readable-number" title="{topics.tags.score}">{topics.tags.score}</span></a>
|
|
4
|
+
{{{end}}}
|
|
5
|
+
<!-- ENDIF topics.tags.length -->
|
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
<!-- IF showTopicTools -->
|
|
2
2
|
<div class="btn-group thread-tools bottom-sheet">
|
|
3
|
-
<button class="btn btn-
|
|
3
|
+
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button">
|
|
4
4
|
<span class="visible-sm-inline visible-md-inline visible-lg-inline">[[topic:thread_tools.title]]</span>
|
|
5
5
|
<span class="visible-xs-inline"><i class="fa fa-fw fa-gear"></i></span>
|
|
6
6
|
<span class="caret"></span>
|
|
7
7
|
</button>
|
|
8
|
-
<ul class="dropdown-menu
|
|
8
|
+
<ul class="dropdown-menu pull-right">
|
|
9
9
|
<li>
|
|
10
|
-
<a component="topic/mark-unread-for-all" href="#"
|
|
10
|
+
<a component="topic/mark-unread-for-all" href="#">
|
|
11
11
|
<i class="fa fa-fw fa-inbox"></i> [[topic:thread_tools.markAsUnreadForAll]]
|
|
12
12
|
</a>
|
|
13
13
|
</li>
|
|
14
14
|
<li>
|
|
15
|
-
<a component="topic/pin" href="#"
|
|
15
|
+
<a component="topic/pin" href="#">
|
|
16
16
|
<i class="fa fa-fw fa-thumb-tack"></i> [[topic:thread_tools.pin]]
|
|
17
17
|
</a>
|
|
18
18
|
</li>
|
|
19
19
|
<li>
|
|
20
|
-
<a component="topic/unpin" href="#" class="hidden
|
|
20
|
+
<a component="topic/unpin" href="#" class="hidden">
|
|
21
21
|
<i class="fa fa-fw fa-thumb-tack fa-rotate-90"></i> [[topic:thread_tools.unpin]]
|
|
22
22
|
</a>
|
|
23
23
|
</li>
|
|
24
24
|
|
|
25
25
|
<li>
|
|
26
|
-
<a component="topic/lock" href="#"
|
|
26
|
+
<a component="topic/lock" href="#">
|
|
27
27
|
<i class="fa fa-fw fa-lock"></i> [[topic:thread_tools.lock]]
|
|
28
28
|
</a>
|
|
29
29
|
</li>
|
|
30
30
|
<li>
|
|
31
|
-
<a component="topic/unlock" href="#" class="hidden
|
|
31
|
+
<a component="topic/unlock" href="#" class="hidden">
|
|
32
32
|
<i class="fa fa-fw fa-unlock"></i> [[topic:thread_tools.unlock]]
|
|
33
33
|
</a>
|
|
34
34
|
</li>
|
|
35
35
|
|
|
36
|
-
<li class="
|
|
36
|
+
<li class="divider"></li>
|
|
37
37
|
|
|
38
38
|
<li>
|
|
39
|
-
<a component="topic/move" href="#"
|
|
39
|
+
<a component="topic/move" href="#">
|
|
40
40
|
<i class="fa fa-fw fa-arrows"></i> [[topic:thread_tools.move]]
|
|
41
41
|
</a>
|
|
42
42
|
</li>
|
|
43
43
|
{{{if template.category}}}
|
|
44
44
|
<li>
|
|
45
|
-
<a component="topic/move-all" href="#"
|
|
45
|
+
<a component="topic/move-all" href="#">
|
|
46
46
|
<i class="fa fa-fw fa-arrows"></i> [[topic:thread_tools.move_all]]
|
|
47
47
|
</a>
|
|
48
48
|
</li>
|
|
49
49
|
{{{end}}}
|
|
50
50
|
<li>
|
|
51
|
-
<a component="topic/merge" href="#"
|
|
51
|
+
<a component="topic/merge" href="#">
|
|
52
52
|
<i class="fa fa-fw fa-code-fork"></i> [[topic:thread_tools.merge]]
|
|
53
53
|
</a>
|
|
54
54
|
</li>
|
|
55
55
|
|
|
56
|
-
<li class="
|
|
56
|
+
<li class="divider"></li>
|
|
57
57
|
|
|
58
58
|
<li>
|
|
59
|
-
<a component="topic/delete" href="#"
|
|
59
|
+
<a component="topic/delete" href="#">
|
|
60
60
|
<i class="fa fa-fw fa-trash-o"></i> [[topic:thread_tools.delete]]
|
|
61
61
|
</a>
|
|
62
62
|
</li>
|
|
63
63
|
<li>
|
|
64
|
-
<a component="topic/restore" href="#" class="hidden
|
|
64
|
+
<a component="topic/restore" href="#" class="hidden">
|
|
65
65
|
<i class="fa fa-fw fa-history"></i> [[topic:thread_tools.restore]]
|
|
66
66
|
</a>
|
|
67
67
|
</li>
|
|
68
68
|
<li>
|
|
69
|
-
<a component="topic/purge" href="#" class="hidden
|
|
69
|
+
<a component="topic/purge" href="#" class="hidden">
|
|
70
70
|
<i class="fa fa-fw fa-eraser"></i> [[topic:thread_tools.purge]]
|
|
71
71
|
</a>
|
|
72
72
|
</li>
|
|
73
73
|
|
|
74
74
|
{{{each thread_tools}}}
|
|
75
75
|
<li>
|
|
76
|
-
<a href="#" class="
|
|
76
|
+
<a href="#" class="{thread_tools.class}"><i class="fa fa-fw {thread_tools.icon}"></i> {thread_tools.title}</a>
|
|
77
77
|
</li>
|
|
78
78
|
{{{end}}}
|
|
79
79
|
</ul>
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
<!-- IF config.loggedIn -->
|
|
2
2
|
<div class="btn-group topic-watch-dropdown bottom-sheet" component="topic/watch">
|
|
3
3
|
|
|
4
|
-
<button class="btn btn-
|
|
5
|
-
<span component="category/watching/menu" <!-- IF !../isWatched -->class="hidden"<!-- ENDIF !../isWatched -->><i class="fa fa-fw fa-inbox"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"> [[category:watching]]</span></span>
|
|
4
|
+
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button">
|
|
6
5
|
|
|
7
|
-
<span component="category/
|
|
6
|
+
<span component="category/watching/menu" <!-- IF !../isWatched -->class="hidden"<!-- ENDIF !../isWatched -->><i class="fa fa-fw fa-inbox"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline">[[category:watching]]</span></span>
|
|
7
|
+
|
|
8
|
+
<span component="category/notwatching/menu" <!-- IF !../isNotWatched -->class="hidden"<!-- ENDIF !../isNotWatched -->><i class="fa fa-fw fa-clock-o"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline">[[category:not-watching]]</span></span>
|
|
9
|
+
|
|
10
|
+
<span component="category/ignoring/menu" <!-- IF !../isIgnored -->class="hidden"<!-- ENDIF !../isIgnored -->><i class="fa fa-fw fa-eye-slash"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline">[[category:ignoring]]</span></span>
|
|
8
11
|
|
|
9
|
-
<span component="category/ignoring/menu" <!-- IF !../isIgnored -->class="hidden"<!-- ENDIF !../isIgnored -->><i class="fa fa-fw fa-eye-slash"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"> [[category:ignoring]]</span></span>
|
|
10
12
|
<span class="caret"></span>
|
|
11
13
|
</button>
|
|
12
14
|
|
|
13
|
-
<ul class="dropdown-menu dropdown-menu-
|
|
14
|
-
<li><a
|
|
15
|
+
<ul class="dropdown-menu dropdown-menu-right">
|
|
16
|
+
<li><a href="#" component="category/watching" data-state="watching"><i component="category/watching/check" class="fa fa-fw <!-- IF ../isWatched -->fa-check<!-- ENDIF ../isWatched -->"></i><i class="fa fa-fw fa-inbox"></i> [[category:watching]]<p class="help-text"><small>[[category:watching.description]]</small></p></a></li>
|
|
15
17
|
|
|
16
|
-
<li><a
|
|
18
|
+
<li><a href="#" component="category/notwatching" data-state="notwatching"><i component="category/notwatching/check" class="fa fa-fw <!-- IF ../isNotWatched -->fa-check<!-- ENDIF ../isNotWatched -->"></i><i class="fa fa-fw fa-clock-o"></i> [[category:not-watching]]<p class="help-text"><small>[[category:not-watching.description]]</small></p></a></li>
|
|
17
19
|
|
|
18
|
-
<li><a
|
|
20
|
+
<li><a href="#" component="category/ignoring" data-state="ignoring"><i component="category/ignoring/check" class="fa fa-fw <!-- IF ../isIgnored -->fa-check<!-- ENDIF ../isIgnored -->"></i><i class="fa fa-fw fa-eye-slash"></i> [[category:ignoring]]<p class="help-text"><small>[[category:ignoring.description]]</small></p></a></li>
|
|
19
21
|
</ul>
|
|
20
22
|
</div>
|
|
21
23
|
<!-- ENDIF config.loggedIn -->
|
|
@@ -1,29 +1,17 @@
|
|
|
1
|
-
<button type="button" class="btn btn-
|
|
2
|
-
{{{ if selectedCategory }}}
|
|
3
|
-
<span class="category-item">
|
|
4
|
-
{buildCategoryIcon(selectedCategory, "24px", "rounded-circle")}
|
|
5
|
-
<span class="visible-sm-inline visible-md-inline visible-lg-inline">{selectedCategory.name}</span>
|
|
6
|
-
</span>
|
|
7
|
-
{{{ else }}}
|
|
1
|
+
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
|
2
|
+
{{{ if selectedCategory }}}<span class="fa-stack" style="{function.generateCategoryBackground, selectedCategory}"><i class="fa fa-fw fa-stack-1x {selectedCategory.icon}" style="color: {selectedCategory.color};"></i></span> <span class="visible-sm-inline visible-md-inline visible-lg-inline">{selectedCategory.name}</span>{{{ else }}}
|
|
8
3
|
<span class="visible-sm-inline visible-md-inline visible-lg-inline">[[unread:all_categories]]</span><span class="visible-xs-inline"><i class="fa fa-fw fa-list"></i></span>{{{ end }}} <span class="caret"></span>
|
|
9
4
|
</button>
|
|
10
|
-
<div component="category-selector-search" class="hidden
|
|
5
|
+
<div component="category-selector-search" class="hidden">
|
|
11
6
|
<input type="text" class="form-control" autocomplete="off">
|
|
12
7
|
</div>
|
|
13
8
|
<ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
|
|
14
9
|
<li role="presentation" class="category" data-all="all">
|
|
15
|
-
<a
|
|
10
|
+
<a role="menu-item" href="{config.relative_path}/{allCategoriesUrl}"><i component="category/select/icon" class="fa fa-fw fa-check {{{if selectedCategory}}}invisible{{{end}}}"></i> [[unread:all_categories]]</a>
|
|
16
11
|
</li>
|
|
17
12
|
{{{each categoryItems}}}
|
|
18
13
|
<li role="presentation" class="category {{{ if ../disabledClass }}}disabled{{{ end }}}" data-cid="{../cid}" data-parent-cid="{../parentCid}" data-name="{../name}">
|
|
19
|
-
<a
|
|
20
|
-
<span component="category-markup" style="{{{ if ../match }}}font-weight: bold;{{{end}}}">
|
|
21
|
-
<div class="category-item d-inline-block">
|
|
22
|
-
{buildCategoryIcon(@value, "24px", "rounded-circle")}
|
|
23
|
-
{./name}
|
|
24
|
-
</div>
|
|
25
|
-
</span>
|
|
26
|
-
</a>
|
|
14
|
+
<a role="menu-item" href="#">{../level}<i component="category/select/icon" class="fa fa-fw fa-check {{{ if !../selected }}}invisible{{{ end }}}"></i><span component="category-markup" style="{{{ if ../match }}}font-weight: bold;{{{end}}}">{{{ if ../icon }}}<span class="fa-stack" style="{function.generateCategoryBackground}"><i class="fa fa-fw fa-stack-1x {../icon}" style="color: {../color};"></i></span>{{{ end }}} {../name}</span></a>
|
|
27
15
|
</li>
|
|
28
16
|
{{{end}}}
|
|
29
17
|
</ul>
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
<button type="button" class="btn btn-
|
|
2
|
-
<span component="category-selector-selected">
|
|
3
|
-
{{{ if (selectedCategory && !showCategorySelectLabel) }}}
|
|
4
|
-
<span class="category-item">
|
|
5
|
-
{buildCategoryIcon(selectedCategory, "24px", "rounded-circle")}
|
|
6
|
-
{selectedCategory.name}
|
|
7
|
-
</span>
|
|
8
|
-
{{{ else }}}
|
|
1
|
+
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
|
2
|
+
<span component="category-selector-selected">{{{ if (selectedCategory && !showCategorySelectLabel) }}}<span class="fa-stack" style="{function.generateCategoryBackground, selectedCategory}"><i class="fa fa-fw fa-stack-1x {selectedCategory.icon}" style="color: {selectedCategory.color};"></i></span> {selectedCategory.name}{{{ else }}}
|
|
9
3
|
<span class="visible-sm-inline visible-md-inline visible-lg-inline">{{{ if selectCategoryLabel }}}{selectCategoryLabel}{{{ else }}}[[topic:thread_tools.select_category]]{{{ end }}}</span><span class="visible-xs-inline"><i class="fa fa-fw {{{ if selectCategoryIcon }}}{selectCategoryIcon}{{{ else }}}fa-list{{{ end }}}"></i></span>
|
|
10
4
|
{{{ end }}}</span> <span class="caret"></span>
|
|
11
5
|
</button>
|
|
12
|
-
<div component="category-selector-search" class="hidden
|
|
6
|
+
<div component="category-selector-search" class="hidden">
|
|
13
7
|
<input type="text" class="form-control" autocomplete="off">
|
|
14
8
|
</div>
|
|
15
9
|
<ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
|
|
@@ -18,14 +12,7 @@
|
|
|
18
12
|
</li>
|
|
19
13
|
{{{each categoryItems}}}
|
|
20
14
|
<li role="presentation" class="category {{{ if ../disabledClass }}}disabled {{{ end }}}" data-cid="{../cid}" data-name="{../name}" data-parent-cid="{../parentCid}">
|
|
21
|
-
<a
|
|
22
|
-
<span component="category-markup" style="{{{ if ../match }}}font-weight: bold;{{{end}}}">
|
|
23
|
-
<div class="category-item d-inline-block">
|
|
24
|
-
{buildCategoryIcon(@value, "24px", "rounded-circle")}
|
|
25
|
-
{./name}
|
|
26
|
-
</div>
|
|
27
|
-
</span>
|
|
28
|
-
</a>
|
|
15
|
+
<a role="menu-item">{../level}<span component="category-markup" style="{{{ if ../match }}}font-weight: bold;{{{end}}}">{{{ if ./icon }}}<span class="fa-stack" style="{function.generateCategoryBackground}"><i style="color: {../color};" class="fa fa-stack-1x fa-fw {../icon}"></i></span>{{{ end }}} {../name}</span></a>
|
|
29
16
|
</li>
|
|
30
17
|
{{{ end }}}
|
|
31
18
|
</ul>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<div class="panel panel-primary fork-thread-card">
|
|
2
|
+
<div class="panel-heading">
|
|
3
|
+
<h3 class="panel-title">[[topic:thread_tools.change_owner]]</h3>
|
|
4
|
+
</div>
|
|
5
|
+
<div class="panel-body">
|
|
6
|
+
<div>
|
|
7
|
+
<label for="username">[[user:username]]</label>
|
|
8
|
+
<input id="username" type="text" class="form-control"><br/>
|
|
9
|
+
</div>
|
|
10
|
+
<p>
|
|
11
|
+
[[topic:change_owner_instruction]]<br />
|
|
12
|
+
<strong><span id="pids"></span></strong>
|
|
13
|
+
</p>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="panel-footer">
|
|
16
|
+
|
|
17
|
+
<div class="btn-group pull-right">
|
|
18
|
+
<button class="btn btn-link btn-xs" id="change_owner_cancel">[[global:buttons.close]]</button>
|
|
19
|
+
<button class="btn btn-primary btn-xs" id="change_owner_commit" disabled>[[topic:change-owner]]</button>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<!-- IF roomId -->
|
|
2
2
|
<div component="chat/messages" class="expanded-chat" data-roomid="{roomId}">
|
|
3
|
-
<div component="chat/header"
|
|
4
|
-
<
|
|
3
|
+
<div component="chat/header">
|
|
4
|
+
<button type="button" class="close" aria-label="Close" data-action="close"><span aria-hidden="true">×</span></button>
|
|
5
|
+
<button type="button" class="close" data-action="pop-out"><span aria-hidden="true"><i class="fa fa-compress"></i></span><span class="sr-only">[[modules:chat.pop-out]]</span></button>
|
|
6
|
+
|
|
7
|
+
<!-- IMPORT partials/chats/options.tpl -->
|
|
8
|
+
<span class="members">
|
|
5
9
|
[[modules:chat.chatting_with]]:
|
|
6
10
|
{{{each users}}}
|
|
7
11
|
<a href="{config.relative_path}/uid/{../uid}">{../username}</a><!-- IF !@last -->,<!-- END -->
|
|
8
12
|
{{{end}}}
|
|
9
13
|
</span>
|
|
10
|
-
|
|
11
|
-
<button type="button" class="btn btn-link d-none d-md-block p-2 text-muted" data-action="pop-out" aria-hidden="true" aria-label="Pop Out"><i class="fa fa-compress"></i></button>
|
|
12
|
-
<!-- IMPORT partials/chats/options.tpl -->
|
|
13
|
-
<button type="button" class="btn-close" aria-hidden="true" aria-label="Close" data-action="close"></button>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="position-relative">
|
|
16
|
-
<div component="chat/messages/scroll-up-alert" class="position-absolute scroll-up-alert alert alert-info hidden w-100" role="button">[[modules:chat.scroll-up-alert]]</div>
|
|
17
14
|
</div>
|
|
15
|
+
<div component="chat/messages/scroll-up-alert" class="scroll-up-alert alert alert-info" role="button">[[modules:chat.scroll-up-alert]]</div>
|
|
18
16
|
<ul class="chat-content">
|
|
19
17
|
<!-- IMPORT partials/chats/messages.tpl -->
|
|
20
18
|
</ul>
|
|
@@ -28,7 +26,7 @@
|
|
|
28
26
|
</div>
|
|
29
27
|
</div>
|
|
30
28
|
<!-- ELSE -->
|
|
31
|
-
<div class="alert alert-info
|
|
29
|
+
<div class="alert alert-info">
|
|
32
30
|
[[modules:chat.no-messages]]
|
|
33
31
|
</div>
|
|
34
32
|
<!-- ENDIF roomId -->
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
<li component="chat/message" class="chat-message
|
|
1
|
+
<li component="chat/message" class="chat-message clear<!-- IF ../deleted --> deleted<!-- END -->" data-index="{messages.index}" data-mid="{messages.messageId}" data-uid="{messages.fromuid}" data-self="{messages.self}" data-break="{messages.newSet}" data-timestamp="{messages.timestamp}">
|
|
2
2
|
<div class="message-header">
|
|
3
|
-
<a href="{config.relative_path}/user/{messages.fromUser.userslug}">{buildAvatar(messages.fromUser, "
|
|
4
|
-
<span class="chat-user
|
|
3
|
+
<a href="{config.relative_path}/user/{messages.fromUser.userslug}">{buildAvatar(messages.fromUser, "md", true, "not-responsive")}</a>
|
|
4
|
+
<strong><span class="chat-user"><a href="{config.relative_path}/user/{messages.fromUser.userslug}">{messages.fromUser.displayname}</a></span></strong>
|
|
5
5
|
<!-- IF ../fromUser.banned -->
|
|
6
|
-
<span class="
|
|
6
|
+
<span class="label label-danger">[[user:banned]]</span>
|
|
7
7
|
<!-- END -->
|
|
8
8
|
<!-- IF ../fromUser.deleted -->
|
|
9
|
-
<span class="
|
|
9
|
+
<span class="label label-danger">[[user:deleted]]</span>
|
|
10
10
|
<!-- END -->
|
|
11
|
-
<
|
|
11
|
+
<span class="chat-timestamp timeago" title="{messages.timestampISO}"></span>
|
|
12
12
|
<!-- IF messages.edited -->
|
|
13
|
-
<div class="text-muted
|
|
13
|
+
<div class="text-muted pull-right" title="[[global:edited]] {messages.editedISO}"><i class="fa fa-edit"></i></span></div>
|
|
14
14
|
<!-- ENDIF messages.edited -->
|
|
15
15
|
</div>
|
|
16
16
|
<div class="message-body-wrapper">
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
<!-- IF !config.disableChatMessageEditing -->
|
|
22
22
|
<!-- IF messages.self -->
|
|
23
23
|
<div class="btn-group controls">
|
|
24
|
-
<button class="btn btn-
|
|
25
|
-
<button class="btn btn-
|
|
26
|
-
<button class="btn btn-
|
|
24
|
+
<button class="btn btn-xs btn-link" data-action="edit"><i class="fa fa-pencil"></i></button>
|
|
25
|
+
<button class="btn btn-xs btn-link" data-action="delete"><i class="fa fa-times"></i></button>
|
|
26
|
+
<button class="btn btn-xs btn-link" data-action="restore"><i class="fa fa-repeat"></i></button>
|
|
27
27
|
<!-- IF isAdminOrGlobalMod -->
|
|
28
|
-
<button class="btn btn-
|
|
28
|
+
<button class="btn btn-xs btn-link chat-ip" title="[[modules:chat.show-ip]]"><i class="fa fa-info-circle chat-ip-button"></i></button>
|
|
29
29
|
<!-- ENDIF isAdminOrGlobalMod -->
|
|
30
30
|
</div>
|
|
31
31
|
<!-- ENDIF messages.self -->
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
<div class="dropdown">
|
|
2
|
-
<button class="
|
|
3
|
-
<ul class="dropdown-menu dropdown-menu-
|
|
1
|
+
<div class="dropdown pull-right">
|
|
2
|
+
<button class="close" data-toggle="dropdown" component="chat/controlsToggle"><i class="fa fa-gear"></i></button>
|
|
3
|
+
<ul class="dropdown-menu dropdown-menu-right pull-right" component="chat/controls">
|
|
4
4
|
<li class="dropdown-header">[[modules:chat.options]]</li>
|
|
5
5
|
<li>
|
|
6
|
-
<a
|
|
6
|
+
<a href="#" data-action="members"><i class="fa fa-fw fa-cog"></i> [[modules:chat.manage-room]]</a>
|
|
7
7
|
</li>
|
|
8
8
|
<li>
|
|
9
|
-
<a
|
|
9
|
+
<a href="#" data-action="rename"><i class="fa fa-fw fa-edit"></i> [[modules:chat.rename-room]]</a>
|
|
10
10
|
</li>
|
|
11
11
|
<li>
|
|
12
|
-
<a
|
|
12
|
+
<a href="#" data-action="leave"><i class="fa fa-fw fa-sign-out"></i> [[modules:chat.leave]]</a>
|
|
13
13
|
</li>
|
|
14
14
|
<!-- IF users.length -->
|
|
15
|
-
<li role="separator" class="
|
|
15
|
+
<li role="separator" class="divider"></li>
|
|
16
16
|
<li class="dropdown-header">[[modules:chat.in-room]]</li>
|
|
17
17
|
{{{each users}}}
|
|
18
18
|
<li>
|
|
19
|
-
<a
|
|
19
|
+
<a href="{config.relative_path}/uid/{../uid}">{buildAvatar(users, "sm", true)} {../username}</a>
|
|
20
20
|
</li>
|
|
21
21
|
{{{end}}}
|
|
22
22
|
<!-- END -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<li component="chat/recent/room" data-roomid="{rooms.roomId}" class="<!-- IF rooms.unread -->unread<!-- ENDIF rooms.unread -->">
|
|
2
2
|
{{{each rooms.users}}}
|
|
3
3
|
<!-- IF @first -->
|
|
4
|
-
<div class="main-avatar
|
|
4
|
+
<div class="main-avatar">
|
|
5
5
|
<!-- IMPORT partials/chats/user.tpl -->
|
|
6
6
|
</div>
|
|
7
7
|
<!-- ENDIF @first -->
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<li component="chat/system-message" class="system-message
|
|
1
|
+
<li component="chat/system-message" class="system-message clear" data-index="{messages.index}" data-mid="{messages.messageId}" data-uid="{messages.fromuid}" data-self="{messages.self}" data-break="0" data-timestamp="{messages.timestamp}">
|
|
2
2
|
[[modules:chat.system.{messages.content}, {messages.fromUser.username}]]
|
|
3
3
|
</li>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<a href="{config.relative_path}/user/{rooms.users.userslug}">{buildAvatar(rooms.users, "
|
|
1
|
+
<a href="{config.relative_path}/user/{rooms.users.userslug}">{buildAvatar(rooms.users, "sm", true)}</a>
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
{{{ if config.loggedIn }}}
|
|
2
2
|
<ul class="nav nav-pills">
|
|
3
|
-
<li
|
|
4
|
-
<a
|
|
3
|
+
<li>
|
|
4
|
+
<a href="#notifications" data-toggle="tab"><span class="counter unread-count" component="notifications/icon" data-content="{unreadCount.notification}"></span> <i class="fa fa-fw fa-bell"></i></a>
|
|
5
5
|
</li>
|
|
6
6
|
{{{ if !config.disableChat }}}
|
|
7
|
-
<li
|
|
8
|
-
<a
|
|
7
|
+
<li>
|
|
8
|
+
<a href="#chats" data-toggle="tab"><i class="counter unread-count" component="chat/icon" data-content="{unreadCount.chat}"></i> <i class="fa fa-fw fa-comment"></i></a>
|
|
9
9
|
</li>
|
|
10
10
|
{{{ end }}}
|
|
11
|
-
<li class="
|
|
12
|
-
<a
|
|
13
|
-
{buildAvatar(user, "
|
|
11
|
+
<li class="active">
|
|
12
|
+
<a href="#profile" data-toggle="tab">
|
|
13
|
+
{buildAvatar(user, "sm", true, "user-icon")}
|
|
14
14
|
<i component="user/status" class="fa fa-fw fa-circle status {user.status}"></i>
|
|
15
15
|
</a>
|
|
16
16
|
</li>
|
|
17
17
|
</ul>
|
|
18
18
|
|
|
19
19
|
<div class="tab-content">
|
|
20
|
-
<div class="tab-pane fade
|
|
20
|
+
<div class="tab-pane fade active in" id="profile">
|
|
21
21
|
<section class="menu-section" data-section="profile">
|
|
22
|
-
<ul class="menu-section-list
|
|
22
|
+
<ul class="menu-section-list" component="header/usercontrol"></ul>
|
|
23
23
|
</section>
|
|
24
24
|
</div>
|
|
25
25
|
<div class="tab-pane fade" id="notifications">
|
|
26
|
-
<section class="menu-section
|
|
26
|
+
<section class="menu-section" data-section="notifications">
|
|
27
27
|
<ul class="menu-section-list notification-list-mobile" component="notifications/list"></ul>
|
|
28
28
|
<p class="menu-section-list"><a href="{relative_path}/notifications">[[notifications:see_all]]</a></p>
|
|
29
29
|
</section>
|
|
30
30
|
</div>
|
|
31
31
|
{{{ if !config.disableChat }}}
|
|
32
32
|
<div class="tab-pane fade" id="chats">
|
|
33
|
-
<section class="menu-section
|
|
33
|
+
<section class="menu-section" data-section="chats">
|
|
34
34
|
<ul class="menu-section-list chat-list" component="chat/list">
|
|
35
35
|
<a class="navigation-link" href="{relative_path}/user/{user.userslug}/chats">[[modules:chat.see_all]]</a>
|
|
36
36
|
</ul>
|