feature #534, modernize admin homepage {wip}

* add tab
* display the pending comments as a "message" (new blue box)
* remove anything related to environment #532
* display stats as big icon + big number + caption
* new stat "storage used"
This commit is contained in:
plegall
2016-10-07 14:30:54 +02:00
parent 41fe517590
commit 5dbc6c85a9
5 changed files with 200 additions and 121 deletions
+4
View File
@@ -27,6 +27,10 @@ function add_core_tabs($sheets, $tab_id)
{
switch($tab_id)
{
case 'admin_home':
$sheets[''] = array('caption' => l10n('Administration Home'), 'url' => 'admin.php');
break;
case 'album':
global $admin_album_base_url;
$sheets['properties'] = array('caption' => '<span class="icon-pencil"></span>'.l10n('Properties'), 'url' => $admin_album_base_url.'-properties');