init :rage1: ghfw
parent
55eb414ea0
commit
2d16f63a7f
@ -0,0 +1,3 @@
|
||||
<!-- BEGIN messages -->
|
||||
<!-- IMPORT partials/chat_message.tpl -->
|
||||
<!-- END messages -->
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,23 @@
|
||||
<div id="fork-thread-modal" class="hide" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="true" data-backdrop="none">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4>[[topic:fork_topic]]</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<label for="title">Title</label>
|
||||
<input id="fork-title" type="text" class="form-control" placeholder="Enter new thread title"><br/>
|
||||
<label>[[topic:fork_topic_instruction]]</label> <br/>
|
||||
<span id="fork-pids"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal" id="fork_thread_cancel">[[global:buttons.close]]</button>
|
||||
<button type="button" class="btn btn-primary" id="fork_thread_commit" disabled>[[topic:confirm_fork]]</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,23 @@
|
||||
<!-- BEGIN groups -->
|
||||
<div class="col-lg-4 col-md-6 col-sm-12" data-slug="{groups.slug}">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading list-cover" style="<!-- IF groups.cover:url -->background-image: url({groups.cover:url});<!-- ENDIF groups.cover:url -->">
|
||||
<h3 class="panel-title">{groups.name} <small>{groups.memberCount}</small></h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<ul class="members">
|
||||
<!-- BEGIN members -->
|
||||
<li>
|
||||
<a href="{relative_path}/user/{groups.members.userslug}">
|
||||
<img src="{groups.members.picture}" title="{groups.members.userslug}" />
|
||||
</a>
|
||||
</li>
|
||||
<!-- END members -->
|
||||
<!-- IF groups.truncated -->
|
||||
<li class="truncated"><i class="fa fa-ellipsis-h"></i></li>
|
||||
<!-- ENDIF groups.truncated -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- END groups -->
|
@ -0,0 +1,201 @@
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<div>
|
||||
<a href="{relative_path}/">
|
||||
<img class="{brand:logo:display} forum-logo" src="{brand:logo}" />
|
||||
</a>
|
||||
<!-- IF showSiteTitle -->
|
||||
<a href="{relative_path}/">
|
||||
<h1 class="navbar-brand forum-title">{title}</h1>
|
||||
</a>
|
||||
<!-- ENDIF showSiteTitle -->
|
||||
|
||||
<div class="header-topic-title visible-xs">
|
||||
<span></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="navbar-collapse collapse navbar-ex1-collapse" id="nav-dropdown">
|
||||
<!-- IF !maintenanceHeader -->
|
||||
<ul id="main-nav" class="nav navbar-nav pull-left">
|
||||
<!-- BEGIN navigation -->
|
||||
<!-- IF function.displayMenuItem, @index -->
|
||||
<li class="{navigation.class}">
|
||||
<a href="{relative_path}{navigation.route}" title="{navigation.title}" id="{navigation.id}" target="{navigation.properties.target}">
|
||||
<!-- IF navigation.iconClass -->
|
||||
<i class="fa fa-fw {navigation.iconClass}"></i>
|
||||
<!-- ENDIF navigation.iconClass -->
|
||||
|
||||
<!-- IF navigation.text -->
|
||||
<span class="{navigation.textClass}">{navigation.text}</span>
|
||||
<!-- ENDIF navigation.text -->
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF function.displayMenuItem -->
|
||||
<!-- END navigation -->
|
||||
</ul>
|
||||
|
||||
<!-- IF loggedIn -->
|
||||
<ul id="logged-in-menu" class="nav navbar-nav navbar-right pull-right">
|
||||
<li class="notifications dropdown text-center hidden-xs">
|
||||
<a href="#" title="[[global:header.notifications]]" class="dropdown-toggle" data-toggle="dropdown" id="notif_dropdown">
|
||||
<i class="notification-icon fa fa-fw fa-bell-o" data-content="0"></i>
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="notif_dropdown">
|
||||
<li>
|
||||
<ul id="notif-list">
|
||||
<li>
|
||||
<a href="#"><i class="fa fa-refresh fa-spin"></i> [[global:notifications.loading]]</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="notif-dropdown-link"><a href="#" class="mark-all-read">[[notifications:mark_all_read]]</a></li>
|
||||
<li class="notif-dropdown-link"><a href="{relative_path}/notifications">[[notifications:see_all]]</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="visible-xs">
|
||||
<a href="{relative_path}/notifications" title="[[notifications:title]]">
|
||||
<i class="notification-icon fa fa-bell-o fa-fw" data-content="0"></i> [[notifications:title]]
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- IF !disableChat -->
|
||||
<li class="chats dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#" title="[[global:header.chats]]" id="chat_dropdown">
|
||||
<i id="chat-count" class="fa fa-comment-o fa-fw"></i> <span class="visible-xs-inline">[[global:header.chats]]</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="chat_dropdown">
|
||||
<li>
|
||||
<ul id="chat-list">
|
||||
<li>
|
||||
<a href="#"><i class="fa fa-refresh fa-spin"></i> [[global:chats.loading]]</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="notif-dropdown-link"><a href="{relative_path}/chats">[[modules:chat.see_all]]</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<!-- ENDIF !disableChat -->
|
||||
|
||||
<li id="user_label" class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#" id="user_dropdown" title="[[global:header.profile]]">
|
||||
<img id="user-header-picture" src="{user.picture}"/>
|
||||
</a>
|
||||
<ul id="user-control-list" class="dropdown-menu" aria-labelledby="user_dropdown">
|
||||
<li>
|
||||
<a id="user-profile-link" href="{relative_path}/user/{user.userslug}">
|
||||
<i class="fa fa-fw fa-circle status {user.status}"></i> <span id="user-header-name">{user.username}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li role="presentation" class="divider"></li>
|
||||
<li>
|
||||
<a href="#" class="user-status" data-status="online">
|
||||
<i class="fa fa-fw fa-circle status online"></i><span> [[global:online]]</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="user-status" data-status="away">
|
||||
<i class="fa fa-fw fa-circle status away"></i><span> [[global:away]]</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="user-status" data-status="dnd">
|
||||
<i class="fa fa-fw fa-circle status dnd"></i><span> [[global:dnd]]</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="user-status" data-status="offline">
|
||||
<i class="fa fa-fw fa-circle status offline"></i><span> [[global:invisible]]</span>
|
||||
</a>
|
||||
</li>
|
||||
<li role="presentation" class="divider"></li>
|
||||
<li id="logout-link">
|
||||
<a href="#"><i class="fa fa-fw fa-sign-out"></i><span> [[global:logout]]</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ELSE -->
|
||||
<ul id="logged-out-menu" class="nav navbar-nav navbar-right pull-right">
|
||||
<!-- IF allowRegistration -->
|
||||
<li>
|
||||
<a href="{relative_path}/register">
|
||||
<i class="fa fa-pencil visible-xs-inline"></i>
|
||||
<span>[[global:register]]</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF allowRegistration -->
|
||||
<li>
|
||||
<a href="{relative_path}/login">
|
||||
<i class="fa fa-sign-in visible-xs-inline"></i>
|
||||
<span>[[global:login]]</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ENDIF loggedIn -->
|
||||
<!-- IF searchEnabled -->
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<form id="search-form" class="navbar-form navbar-right hidden-xs" role="search" method="GET" action="">
|
||||
<div class="hide" id="search-fields">
|
||||
<div class="form-group">
|
||||
<input type="text" class="form-control" placeholder="[[global:search]]" name="query" value="">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-default hide">[[global:search]]</button>
|
||||
</div>
|
||||
<button id="search-button" type="button" class="btn btn-link"><i class="fa fa-search fa-fw" title="[[global:header.search]]"></i></button>
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ENDIF searchEnabled -->
|
||||
|
||||
<ul class="nav navbar-nav navbar-right pull-right">
|
||||
<li>
|
||||
<a href="#" id="reconnect" class="hide" title="Connection to {title} has been lost, attempting to reconnect...">
|
||||
<i class="fa fa-check"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="nav navbar-nav navbar-right pagination-block hidden visible-lg visible-md">
|
||||
<li class="dropdown">
|
||||
<i class="fa fa-angle-double-up pointer fa-fw pagetop"></i>
|
||||
<i class="fa fa-angle-up pointer fa-fw pageup"></i>
|
||||
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<span id="pagination"></span>
|
||||
</a>
|
||||
|
||||
<i class="fa fa-angle-down pointer fa-fw pagedown"></i>
|
||||
<i class="fa fa-angle-double-down pointer fa-fw pagebottom"></i>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar"></div>
|
||||
</div>
|
||||
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<input type="text" class="form-control" id="indexInput" placeholder="[[global:pagination.enter_index]]">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="header-topic-title hidden-xs">
|
||||
<span></span>
|
||||
</div>
|
||||
<!-- ELSE -->
|
||||
<ul class="nav navbar-nav navbar-right pull-right">
|
||||
<li>
|
||||
<a href="{relative_path}/login">
|
||||
<i class="fa fa-sign-in visible-xs-inline"></i>
|
||||
<span>[[global:login]]</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ENDIF !maintenanceHeader -->
|
||||
</div>
|
@ -0,0 +1,13 @@
|
||||
<h3>Upvoters <small>({upvoteCount})</small></h3>
|
||||
<!-- BEGIN upvoters -->
|
||||
<a href="{relative_path}/user/{upvoters.userslug}">
|
||||
<img class="profile-image small" src="{upvoters.picture}" title="{upvoters.username}"/>
|
||||
</a>
|
||||
<!-- END upvoters -->
|
||||
|
||||
<h3>Downvoters <small>({downvoteCount})</small></h3>
|
||||
<!-- BEGIN downvoters -->
|
||||
<a href="{relative_path}/user/{downvoters.userslug}">
|
||||
<img class="profile-image small" src="{downvoters.picture}" title="{downvoters.username}"/>
|
||||
</a>
|
||||
<!-- END downvoters -->
|
@ -0,0 +1,21 @@
|
||||
<div id="move-post-modal" class="hide" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="true" data-backdrop="none">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4>[[topic:move_post]]</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<label for="topicId">Topic ID</label>
|
||||
<input id="topicId" type="text" class="form-control" placeholder="Enter topic ID"><br/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal" id="move_post_cancel">[[global:buttons.close]]</button>
|
||||
<button type="button" class="btn btn-primary" id="move_post_commit" disabled>[[topic:confirm_move]]</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,24 @@
|
||||
<div id="move_thread_modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="Move Topic" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h3>[[topic:move_topic]]</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="categories-loading"><i class="fa fa-spin fa-refresh"></i> [[topic:load_categories]]</p>
|
||||
<p>
|
||||
[[topic:disabled_categories_note]]
|
||||
</p>
|
||||
<div id="move-confirm" style="display: none;">
|
||||
<hr />
|
||||
<div class="alert alert-info">[[topic:topic_will_be_moved_to]] <strong><span id="confirm-category-name"></span></strong></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal" id="move_thread_cancel">[[global:buttons.close]]</button>
|
||||
<button type="button" class="btn btn-primary" id="move_thread_commit" disabled>[[topic:confirm_move]]</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,9 @@
|
||||
<noscript>
|
||||
<div class="text-center">
|
||||
<ul class="pagination">
|
||||
<!-- BEGIN pages -->
|
||||
<li <!-- IF pages.active -->class="active"<!-- ENDIF pages.active -->><a href="?page={pages.page}">{pages.page}</a></li>
|
||||
<!-- END pages -->
|
||||
</ul>
|
||||
</div>
|
||||
</noscript>
|
@ -0,0 +1,10 @@
|
||||
<noscript>
|
||||
<div class="alert alert-danger">
|
||||
<p>
|
||||
Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in <strong>read-only mode</strong>.
|
||||
</p>
|
||||
<p>
|
||||
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
|
||||
</p>
|
||||
</div>
|
||||
</noscript>
|
@ -0,0 +1,23 @@
|
||||
|
||||
<!-- IF !notifications.length -->
|
||||
<li class="no-notifs"><a>[[notifications:no_notifs]]</a></li>
|
||||
<!-- ENDIF !notifications.length -->
|
||||
|
||||
<!-- BEGIN notifications -->
|
||||
<li class="{notifications.readClass}" data-nid="{notifications.nid}">
|
||||
<!-- IF notifications.image -->
|
||||
<!-- IF notifications.from -->
|
||||
<a href="{relative_path}/user/{notifications.user.userslug}"><img src="{notifications.image}" /></a>
|
||||
<!-- ENDIF notifications.from -->
|
||||
<!-- ELSE -->
|
||||
<img src="{notifications.image}" />
|
||||
<!-- ENDIF notifications.image -->
|
||||
|
||||
<div class="pull-right mark-read" aria-label="Mark Read"></div>
|
||||
<a href="{notifications.path}">
|
||||
<span class="pull-right relTime">{notifications.timeago}</span>
|
||||
<span class="text">{notifications.bodyShort}</span>
|
||||
</a>
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<!-- END notifications -->
|
@ -0,0 +1,18 @@
|
||||
|
||||
<div class="text-center pagination-container<!-- IF !pagination.pages.length --> hidden<!-- ENDIF !pagination.pages.length -->">
|
||||
<ul class="pagination">
|
||||
<li class="previous pull-left<!-- IF !pagination.prev.active --> disabled<!-- ENDIF !pagination.prev.active -->">
|
||||
<a href="?page={pagination.prev.page}" data-page="{pagination.prev.page}"><i class="fa fa-chevron-left"></i> </a>
|
||||
</li>
|
||||
|
||||
<!-- BEGIN pages -->
|
||||
<li class="page<!-- IF pagination.pages.active --> active<!-- ENDIF pagination.pages.active -->" >
|
||||
<a href="?{pagination.pages.qs}" data-page="{pagination.pages.page}">{pagination.pages.page}</a>
|
||||
</li>
|
||||
<!-- END pages -->
|
||||
|
||||
<li class="next pull-right<!-- IF !pagination.next.active --> disabled<!-- ENDIF !pagination.next.active -->">
|
||||
<a href="?page={pagination.next.page}" data-page="{pagination.next.page}"> <i class="fa fa-chevron-right"></i></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
@ -0,0 +1,43 @@
|
||||
<div class="inline-block">
|
||||
|
||||
<span class="tags">
|
||||
<!-- BEGIN tags -->
|
||||
<a href="{relative_path}/tags/{tags.value}"><span class="tag-item" data-tag="{tags.value}" style="<!-- IF tags.color -->color: {tags.color};<!-- ENDIF tags.color --><!-- IF tags.bgColor -->background-color: {tags.bgColor};<!-- ENDIF tags.bgColor -->">{tags.value}</span><span class="tag-topic-count">{tags.score}</span></a>
|
||||
<!-- END tags -->
|
||||
</span>
|
||||
|
||||
<!-- IF tags.length -->
|
||||
<span>|</span>
|
||||
<!-- ENDIF tags.length -->
|
||||
|
||||
<small class="topic-stats">
|
||||
<span>[[global:posts]]</span>
|
||||
<strong><span class="topic-post-count human-readable-number" title="{postcount}">{postcount}</span></strong> |
|
||||
<span>[[global:views]]</span>
|
||||
<strong><span class="human-readable-number" title="{viewcount}">{viewcount}</span></strong>
|
||||
</small>
|
||||
<span class="browsing-users hidden">
|
||||
•
|
||||
<small><span>[[category:browsing]]</span></small>
|
||||
<div class="thread_active_users active-users inline-block"></div>
|
||||
<small class="hidden"><i class="fa fa-users"></i> <span class="user-count"></span></small>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="topic-main-buttons pull-right inline-block">
|
||||
<div class="loading-indicator" done="0" style="display:none;">
|
||||
<span class="hidden-xs">[[topic:loading_more_posts]]</span> <i class="fa fa-refresh fa-spin"></i>
|
||||
</div>
|
||||
<!-- IF privileges.topics:reply -->
|
||||
<button class="btn btn-primary post_reply" type="button">[[topic:reply]]</button>
|
||||
<!-- ELSE -->
|
||||
<!-- IF !loggedIn -->
|
||||
<a href="/login?next=topic/{slug}" class="btn btn-primary">[[topic:guest-login-reply]]</a>
|
||||
<!-- ENDIF !loggedIn -->
|
||||
<!-- ENDIF privileges.topics:reply -->
|
||||
|
||||
<!-- IMPORT partials/thread_sort.tpl -->
|
||||
|
||||
<!-- IMPORT partials/thread_tools.tpl -->
|
||||
</div>
|
||||
<div style="clear:both;"></div>
|
@ -0,0 +1,19 @@
|
||||
|
||||
<ul class="dropdown-menu pull-right" role="menu">
|
||||
|
||||
<li role="presentation" class="dropdown-header">[[category:share_this_category]]</li>
|
||||
<!-- IF !config.disableSocialButtons -->
|
||||
<li role="presentation">
|
||||
<a role="menuitem" class="facebook-share" tabindex="-1" href="#"><span class="menu-icon"><i class="fa fa-facebook"></i></span> Facebook</a>
|
||||
</li>
|
||||
<li role="presentation">
|
||||
<a role="menuitem" class="twitter-share" tabindex="-1" href="#"><span class="menu-icon"><i class="fa fa-twitter"></i></span> Twitter</a>
|
||||
</li>
|
||||
<li role="presentation">
|
||||
<a role="menuitem" class="google-share" tabindex="-1" href="#"><span class="menu-icon"><i class="fa fa-google-plus"></i></span> Google+</a>
|
||||
</li>
|
||||
<!-- ENDIF !config.disableSocialButtons -->
|
||||
<li class="text-center">
|
||||
<input id="category-link" type="text" value="" class="form-control post-link inline-block"></input>
|
||||
</li>
|
||||
</ul>
|
@ -0,0 +1,5 @@
|
||||
<!-- BEGIN tags -->
|
||||
<h3 class="pull-left tag-container">
|
||||
<a href="{relative_path}/tags/{tags.value}" data-value="{tags.value}"><span class="tag-item" data-tag="{tags.value}" style="<!-- IF tags.color -->color: {tags.color};<!-- ENDIF tags.color --><!-- IF tags.bgColor -->background-color: {tags.bgColor};<!-- ENDIF tags.bgColor -->">{tags.value}</span><span class="tag-topic-count">{tags.score}</span></a>
|
||||
</h3>
|
||||
<!-- END tags -->
|
@ -0,0 +1,12 @@
|
||||
|
||||
|
||||
<!-- IF loggedIn -->
|
||||
<div class="btn-group thread-sort dropup">
|
||||
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button">[[topic:sort_by]] <span class="caret"></span></button>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
<li><a href="#" class="oldest_to_newest" data-sort="oldest_to_newest"><i class="fa fa-fw"></i> [[topic:oldest_to_newest]]</a></li>
|
||||
<li><a href="#" class="newest_to_oldest" data-sort="newest_to_oldest"><i class="fa fa-fw"></i> [[topic:newest_to_oldest]]</a></li>
|
||||
<li><a href="#" class="most_votes" data-sort="most_votes"><i class="fa fa-fw"></i> [[topic:most_votes]]</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ENDIF loggedIn -->
|
@ -0,0 +1,31 @@
|
||||
|
||||
|
||||
<!-- IF privileges.view_thread_tools -->
|
||||
<div class="btn-group thread-tools dropup">
|
||||
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button">[[topic:thread_tools.title]] <span class="caret"></span></button>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
<!-- IF privileges.editable -->
|
||||
<li><a href="#" class="markAsUnreadForAll"><i class="fa fa-fw fa-inbox"></i> [[topic:thread_tools.markAsUnreadForAll]]</a></li>
|
||||
<li><a href="#" class="pin_thread"><i class="fa fa-fw fa-thumb-tack"></i> [[topic:thread_tools.pin]]</a></li>
|
||||
<li><a href="#" class="lock_thread"><i class="fa fa-fw fa-lock"></i> [[topic:thread_tools.lock]]</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="#" class="move_thread"><i class="fa fa-fw fa-arrows"></i> [[topic:thread_tools.move]]</a></li>
|
||||
<li><a href="#" class="fork_thread"><i class="fa fa-fw fa-code-fork"></i> [[topic:thread_tools.fork]]</a></li>
|
||||
<li class="divider"></li>
|
||||
<!-- ENDIF privileges.editable -->
|
||||
|
||||
<!-- IF privileges.deletable -->
|
||||
<li><a href="#" class="delete_thread"><span class="text-error"><i class="fa fa-fw fa-trash-o"></i> [[topic:thread_tools.delete]]</span></a></li>
|
||||
<li><a href="#" class="purge_thread <!-- IF !deleted -->hidden<!-- ENDIF !deleted -->"><span class="text-error"><i class="fa fa-fw fa-eraser"></i> [[topic:thread_tools.purge]]</span></a></li>
|
||||
<!-- ENDIF privileges.deletable -->
|
||||
|
||||
<!-- IF privileges.editable -->
|
||||
<!-- BEGIN thread_tools -->
|
||||
<li>
|
||||
<a href="#" class="{thread_tools.class}"><i class="fa fa-fw {thread_tools.icon}"></i> {thread_tools.title}</a>
|
||||
</li>
|
||||
<!-- END thread_tools -->
|
||||
<!-- ENDIF privileges.editable -->
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ENDIF privileges.view_thread_tools -->
|
@ -0,0 +1,58 @@
|
||||
<ul id="topics-container" data-nextstart="{nextStart}">
|
||||
<!-- BEGIN topics -->
|
||||
<li class="category-item<!-- IF topics.deleted --> deleted<!-- ENDIF topics.deleted --><!-- IF topics.unread --> unread<!-- ENDIF topics.unread -->" data-tid="{topics.tid}" data-cid="{topics.cid}">
|
||||
<div class="col-md-12 col-xs-12 panel panel-default topic-row">
|
||||
|
||||
<!-- IF showSelect -->
|
||||
<i class="fa fa-fw fa-square-o pull-left select pointer"></i>
|
||||
<!-- ENDIF showSelect -->
|
||||
|
||||
<a href="{relative_path}/user/{topics.user.userslug}" class="pull-left">
|
||||
<img class="img-rounded user-img" src="{topics.user.picture}" title="{topics.user.username}" />
|
||||
</a>
|
||||
|
||||
<h3>
|
||||
<a href="{relative_path}/topic/{topics.slug}">
|
||||
<strong><!-- IF topics.pinned --><i class="fa fa-thumb-tack"></i><!-- ENDIF topics.pinned --> <!-- IF topics.locked --><i class="fa fa-lock"></i><!-- ENDIF topics.locked --></strong>
|
||||
<span class="topic-title">{topics.title}</span>
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
<small>
|
||||
<span class="topic-stats">
|
||||
[[global:posts]]
|
||||
<strong class="human-readable-number" title="{topics.postcount}">{topics.postcount}</strong>
|
||||
</span>
|
||||
|
|
||||
<span class="topic-stats">
|
||||
[[global:views]]
|
||||
<strong class="human-readable-number" title="{topics.viewcount}">{topics.viewcount}</strong>
|
||||
</span>
|
||||
|
|
||||
<span>
|
||||
<!-- IF topics.user.userslug -->
|
||||
[[global:posted_in_ago_by, <a href="{relative_path}/category/{topics.category.slug}"><i class="fa {topics.category.icon}"></i> {topics.category.name}</a>, <span class="timeago" title="{topics.relativeTime}"></span>, {topics.user.username}]]
|
||||
<!-- ELSE -->
|
||||
[[global:posted_in_ago_by_guest, <a href="{relative_path}/category/{topics.category.slug}"><i class="fa {topics.category.icon}"></i> {topics.category.name}</a>, <span class="timeago" title="{topics.relativeTime}"></span>]]
|
||||
<!-- ENDIF topics.user.userslug -->
|
||||
</span>
|
||||
|
||||
|
||||
<span class="pull-right">
|
||||
<!-- IF topics.unreplied -->
|
||||
<a href="{relative_path}/topic/{topics.slug}" itemprop="url">[[category:no_replies]]</a>
|
||||
<!-- ELSE -->
|
||||
<a href="<!-- IF topics.teaser.user.userslug -->{relative_path}/user/{topics.teaser.user.userslug}<!-- ELSE -->#<!-- ENDIF topics.teaser.user.userslug -->">
|
||||
<img class="teaser-pic" src="{topics.teaser.user.picture}" title="{topics.teaser.user.username}"/>
|
||||
</a>
|
||||
<a href="{relative_path}/topic/{topics.slug}/{topics.teaser.index}">
|
||||
[[global:replied_ago, <span class="timeago" title="{topics.teaser.timestamp}"></span>]]
|
||||
</a>
|
||||
<!-- ENDIF topics.unreplied -->
|
||||
</span>
|
||||
<!-- IMPORT partials/category_tags.tpl -->
|
||||
</small>
|
||||
</div>
|
||||
</li>
|
||||
<!-- END topics -->
|
||||
</ul>
|
@ -0,0 +1,21 @@
|
||||
<!-- BEGIN users -->
|
||||
<li class="users-box registered-user" data-uid="{users.uid}">
|
||||
<a href="{relative_path}/user/{users.userslug}"><img src="{users.picture}" class="img-thumbnail"/></a>
|
||||
<br/>
|
||||
<div class="user-info">
|
||||
<span>
|
||||
<i class="fa fa-circle status {users.status}" title="[[global:{users.status}]]"></i>
|
||||
<a href="{relative_path}/user/{users.userslug}">{users.username}</a>
|
||||
</span>
|
||||
<br/>
|
||||
<div title="reputation" class="reputation">
|
||||
<i class='fa fa-star'></i>
|
||||
<span class='formatted-number'>{users.reputation}</span>
|
||||
</div>
|
||||
<div title="post count" class="post-count">
|
||||
<i class='fa fa-pencil'></i>
|
||||
<span class='formatted-number'>{users.postcount}</span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<!-- END users -->
|
@ -0,0 +1,25 @@
|
||||
<div class="popular">
|
||||
|
||||
<!-- IMPORT partials/breadcrumbs.tpl -->
|
||||
|
||||
<ul class="nav nav-pills">
|
||||
<li><a href='{relative_path}/popular/daily'>[[recent:day]]</a></li>
|
||||
<li><a href='{relative_path}/popular/weekly'>[[recent:week]]</a></li>
|
||||
<li><a href='{relative_path}/popular/monthly'>[[recent:month]]</a></li>
|
||||
<li><a href='{relative_path}/popular/alltime'>[[recent:alltime]]</a></li>
|
||||
</ul>
|
||||
|
||||
<br />
|
||||
|
||||
<!-- IF !topics.length -->
|
||||
<div class="alert alert-warning" id="category-no-topics">
|
||||
<strong>[[recent:no_popular_topics]]</strong>
|
||||
</div>
|
||||
<!-- ENDIF !topics.length -->
|
||||
|
||||
<div class="category row">
|
||||
<div class="col-md-12">
|
||||
<!-- IMPORT partials/topics_list.tpl -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,28 @@
|
||||
<div class="recent">
|
||||
|
||||
<!-- IMPORT partials/breadcrumbs.tpl -->
|
||||
|
||||
<!-- IF loggedIn -->
|
||||
<button id="new_topic" class="btn btn-primary">[[category:new_topic_button]]</button>
|
||||
<!-- ELSE -->
|
||||
<a href="/login?next=recent" class="btn btn-primary">[[category:guest-login-post]]</a>
|
||||
<!-- ENDIF loggedIn -->
|
||||
|
||||
<br/><br/>
|
||||
|
||||
<a href="{relative_path}/recent">
|
||||
<div class="alert alert-warning hide" id="new-topics-alert"></div>
|
||||
</a>
|
||||
|
||||
<!-- IF !topics.length -->
|
||||
<div class="alert alert-warning" id="category-no-topics">
|
||||
<strong>[[recent:no_recent_topics]]</strong>
|
||||
</div>
|
||||
<!-- ENDIF !topics.length -->
|
||||
|
||||
<div class="category row">
|
||||
<div class="col-md-12">
|
||||
<!-- IMPORT partials/topics_list.tpl -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue