fix panel layout on dashboard

v1.18.x
psychobunny 10 years ago
parent 4126fcfce4
commit ce30379c25

@ -13,73 +13,78 @@
</div>
</div>
<!-- BEGIN stats -->
<div class="panel panel-default col-lg-6">
<div class="panel-heading">{stats.name}</div>
<div class="panel-body">
<div id="unique-visitors">
<div class="text-center pull-left">
<div>{stats.day}</div>
<div>Day</div>
</div>
<div class="text-center pull-left">
<div>{stats.week}</div>
<div>Week</div>
</div>
<div class="text-center pull-left">
<div>{stats.month}</div>
<div>Month</div>
</div>
<div class="text-center pull-left">
<div>{stats.alltime}</div>
<div>All Time</div>
<div class="row">
<!-- BEGIN stats -->
<div class="col-lg-6">
<div class="panel panel-default">
<div class="panel-heading">{stats.name}</div>
<div class="panel-body">
<div id="unique-visitors">
<div class="text-center pull-left">
<div>{stats.day}</div>
<div>Day</div>
</div>
<div class="text-center pull-left">
<div>{stats.week}</div>
<div>Week</div>
</div>
<div class="text-center pull-left">
<div>{stats.month}</div>
<div>Month</div>
</div>
<div class="text-center pull-left">
<div>{stats.alltime}</div>
<div>All Time</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END stats -->
<!-- END stats -->
<div class="panel panel-default">
<div class="panel-heading">Welcome to NodeBB</div>
<div class="panel-body">
<p>
<a target="_blank" href="http://community.nodebb.org" class="btn btn-default btn-sm btn-block"><i class="fa fa-comment"></i> NodeBB Community Forum</a>
<a target="_blank" href="http://www.twitter.com/NodeBB" class="btn btn-default btn-sm btn-block"><i class="fa fa-twitter"></i> Follow @NodeBB</a>
<a target="_blank" href="https://docs.nodebb.org/en/latest" class="btn btn-default btn-sm btn-block"><i class="fa fa-question-circle"></i> NodeBB Documentation</a>
</p>
</div>
</div>
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">Welcome to NodeBB</div>
<div class="panel-body">
<p>
<a target="_blank" href="http://community.nodebb.org" class="btn btn-default btn-sm btn-block"><i class="fa fa-comment"></i> NodeBB Community Forum</a>
<a target="_blank" href="http://www.twitter.com/NodeBB" class="btn btn-default btn-sm btn-block"><i class="fa fa-twitter"></i> Follow @NodeBB</a>
<a target="_blank" href="https://docs.nodebb.org/en/latest" class="btn btn-default btn-sm btn-block"><i class="fa fa-question-circle"></i> NodeBB Documentation</a>
</p>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">Notices</div>
<div class="panel-body">
<!-- BEGIN notices -->
<div>
<!-- IF notices.done --><i class="fa fa-fw fa-check text-success"></i> {notices.doneText}<!-- ELSE --><i class="fa fa-fw fa-times text-danger"></i> {notices.notDoneText}<!-- ENDIF notices.done -->
<div class="panel panel-default">
<div class="panel-heading">Notices</div>
<div class="panel-body">
<!-- BEGIN notices -->
<div>
<!-- IF notices.done --><i class="fa fa-fw fa-check text-success"></i> {notices.doneText}<!-- ELSE --><i class="fa fa-fw fa-times text-danger"></i> {notices.notDoneText}<!-- ENDIF notices.done -->
</div>
<!-- END notices -->
</div>
</div>
<!-- END notices -->
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">Updates</div>
<div class="panel-body">
<div class="alert alert-info version-check">
<p>You are running <strong>NodeBB v<span id="version">{version}</span></strong>.</p>
<div class="panel panel-default">
<div class="panel-heading">Updates</div>
<div class="panel-body">
<div class="alert alert-info version-check">
<p>You are running <strong>NodeBB v<span id="version">{version}</span></strong>.</p>
</div>
<p>
Always make sure that your NodeBB is up to date for the latest security patches and bug fixes.
</p>
<p class="text-center">
<button class="btn btn-warning reload">Reload</button>
<button class="btn btn-danger restart">Restart</button>
</p>
<p class="help-block text-center">
Restarting your NodeBB will drop all existing connections. A reload is lighter and is probably
what you want 99% of the time.
</p>
</div>
</div>
<p>
Always make sure that your NodeBB is up to date for the latest security patches and bug fixes.
</p>
<p class="text-center">
<button class="btn btn-warning reload">Reload</button>
<button class="btn btn-danger restart">Restart</button>
</p>
<p class="help-block text-center">
Restarting your NodeBB will drop all existing connections. A reload is lighter and is probably
what you want 99% of the time.
</p>
</div>
</div>
</div>

Loading…
Cancel
Save