bludit/admin/views/dashboard.php

55 lines
1.4 KiB
PHP
Raw Normal View History

2015-07-03 22:44:26 +02:00
<h2 class="title"><?php $Language->p('Dashboard') ?> </h2>
2015-06-26 06:31:53 +02:00
<div class="units-row">
<div class="unit-40">
<div class="dashboardBox">
<div class="content contentBlue">
<div class="bigContent"><?php echo $dbPosts->count() ?></div>
2015-07-03 22:44:26 +02:00
<div class="littleContent"><?php $Language->p('Posts') ?></div>
2015-06-26 06:31:53 +02:00
<i class="iconContent fa fa-pie-chart"></i>
</div>
</div>
<div class="dashboardBox">
<div class="content contentGreen">
<div class="bigContent"><?php echo $dbUsers->count() ?></div>
2015-07-03 22:44:26 +02:00
<div class="littleContent"><?php $Language->p('Users') ?></div>
2015-06-26 06:31:53 +02:00
<i class="iconContent fa fa-user"></i>
</div>
</div>
</div>
<div class="unit-60">
<?php if($_newPosts || $_newPages) { ?>
<div class="dashboardBox">
<div class="content contentGreen">
2015-07-04 00:36:37 +02:00
<div class="bigContent"><?php $Language->p('database-regenerated') ?></div>
<div class="littleContent"><?php $Language->p('new-posts-and-pages-synchronized') ?></div>
2015-06-26 06:31:53 +02:00
<i class="iconContent fa fa-pie-chart"></i>
</div>
</div>
<?php } ?>
<div class="dashboardBox">
2015-07-04 00:36:37 +02:00
<h2><?php $Language->p('notifications') ?></h2>
2015-06-26 06:31:53 +02:00
<div class="content">
<nav class="nav">
<ul>
<li>New comment</li>
<li>Admin session started at 07:00pm</li>
<li>Failed login with username diego</li>
<li>Database regenerated</li>
<li>New session started at 01:00pm</li>
<li>New post added</li>
<li>New page added</li>
</ul>
</nav>
</div>
</div>
</div>
2015-07-04 00:36:37 +02:00
</div>