mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-20 05:27:37 +01:00
feat: topics dashboard details subpage
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
<div class="row dashboard">
|
||||
<div class="col-xs-12">
|
||||
<a class="btn btn-link" href="{config.relative_path}/admin/dashboard">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
[[admin/dashboard:back-to-dashboard]]
|
||||
</a>
|
||||
|
||||
<!-- IMPORT admin/partials/dashboard/graph.tpl -->
|
||||
<!-- IMPORT admin/partials/dashboard/stats.tpl -->
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,28 @@
|
||||
<div class="row dashboard">
|
||||
<div class="col-xs-12">
|
||||
<a class="btn btn-link" href="{config.relative_path}/admin/dashboard">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
[[admin/dashboard:back-to-dashboard]]
|
||||
</a>
|
||||
|
||||
<!-- IMPORT admin/partials/dashboard/graph.tpl -->
|
||||
<!-- IMPORT admin/partials/dashboard/stats.tpl -->
|
||||
|
||||
<table class="table table-striped topics-list">
|
||||
<tbody>
|
||||
{{{ if !topics.length}}}
|
||||
<tr>
|
||||
<td colspan=4" class="text-center"><em>[[admin/dashboard:details.no-topics]]</em></td>
|
||||
</tr>
|
||||
{{{ end }}}
|
||||
{{{ each topics }}}
|
||||
<tr>
|
||||
<td><a href="{config.relative_path}/topics/{../slug}">{../title}</a></td>
|
||||
<td>[[topic:posted_by, {../user.username}]]</td>
|
||||
<td><span class="timeago" data-title="{../timestampISO}"></span></td>
|
||||
</tr>
|
||||
{{{ end }}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,23 +1,35 @@
|
||||
<div class="dashboard">
|
||||
<!-- IMPORT admin/partials/dashboard/graph.tpl -->
|
||||
<!-- IMPORT admin/partials/dashboard/stats.tpl -->
|
||||
<div class="col-xs-12">
|
||||
<a class="btn btn-link" href="{config.relative_path}/admin/dashboard">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
[[admin/dashboard:back-to-dashboard]]
|
||||
</a>
|
||||
|
||||
<table class="table table-striped users-list">
|
||||
<thead>
|
||||
<th class="text-muted">[[admin/manage/users:users.uid]]</th>
|
||||
<th class="text-muted">[[admin/manage/users:users.username]]</th>
|
||||
<th class="text-muted">[[admin/manage/users:users.email]]</th>
|
||||
<th data-sort="joindate">[[admin/manage/users:users.joined]]</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{{ each users }}}
|
||||
<tr>
|
||||
<td>{../uid}</td>
|
||||
<td>{../username}</td>
|
||||
<td>{../email}</td>
|
||||
<td><span class="timeago" title="{../joindateISO}"></span></td>
|
||||
</tr>
|
||||
{{{ end }}}
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- IMPORT admin/partials/dashboard/graph.tpl -->
|
||||
<!-- IMPORT admin/partials/dashboard/stats.tpl -->
|
||||
|
||||
<table class="table table-striped users-list">
|
||||
<thead>
|
||||
<th class="text-muted">[[admin/manage/users:users.uid]]</th>
|
||||
<th class="text-muted">[[admin/manage/users:users.username]]</th>
|
||||
<th class="text-muted">[[admin/manage/users:users.email]]</th>
|
||||
<th data-sort="joindate">[[admin/manage/users:users.joined]]</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{{ if !users.length}}}
|
||||
<tr>
|
||||
<td colspan=4" class="text-center"><em>[[admin/dashboard:details.no-logins]]</em></td>
|
||||
</tr>
|
||||
{{{ end }}}
|
||||
{{{ each users }}}
|
||||
<tr>
|
||||
<td>{../uid}</td>
|
||||
<td>{../username}</td>
|
||||
<td>{../email}</td>
|
||||
<td><span class="timeago" title="{../joindateISO}"></span></td>
|
||||
</tr>
|
||||
{{{ end }}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user