diff options
| author | Greg Roach <fisharebest@gmail.com> | 2017-10-27 19:19:16 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2017-10-27 19:19:16 +0100 |
| commit | e0e3529a3b111b43b613a815143c1548a5460aa3 (patch) | |
| tree | 6fe33b4b44d8499c1aaef9f2ea67e8f875cda4b8 | |
| parent | 635fe22f270a6df3b233b42d9dbfe7093ef7bafe (diff) | |
| download | webtrees-e0e3529a3b111b43b613a815143c1548a5460aa3.tar.gz webtrees-e0e3529a3b111b43b613a815143c1548a5460aa3.tar.bz2 webtrees-e0e3529a3b111b43b613a815143c1548a5460aa3.zip | |
Dashboard
| -rw-r--r-- | app/FontAwesome.php | 2 | ||||
| -rw-r--r-- | resources/views/admin/dashboard.php | 13 |
2 files changed, 11 insertions, 4 deletions
diff --git a/app/FontAwesome.php b/app/FontAwesome.php index 572d0e29cf..54463ae097 100644 --- a/app/FontAwesome.php +++ b/app/FontAwesome.php @@ -55,7 +55,7 @@ class FontAwesome extends Html { 'chart' => 'fa fa-share-alt wt-icon-chart', 'menu' => 'fa fa-list-ul wt-icon-menu', 'report' => 'fa fa-file wt-icon-report', - 'sidebar' => 'fa fa-th-large wt-icon-sidebar', + 'sidebar' => 'fa fa-pause wt-icon-sidebar', 'tab' => 'fa fa-folder wt-icon-tab', 'theme' => 'fa fa-paint-brush wt-icon-theme', // GEDCOM records diff --git a/resources/views/admin/dashboard.php b/resources/views/admin/dashboard.php index 27a65faeba..390e6c6be3 100644 --- a/resources/views/admin/dashboard.php +++ b/resources/views/admin/dashboard.php @@ -1,4 +1,5 @@ <?php use Fisharebest\Webtrees\Auth; ?> +<?php use Fisharebest\Webtrees\FontAwesome; ?> <?php use Fisharebest\Webtrees\Html; ?> <?php use Fisharebest\Webtrees\I18N; ?> @@ -57,7 +58,7 @@ <h2 class="mb-0"> <?= I18N::translate('Family trees') ?> <a href="admin_trees_manage.php" class="badge badge-primary"> - <?= \Fisharebest\Webtrees\FontAwesome::decorativeIcon('preferences') ?> + <?= FontAwesome::decorativeIcon('preferences') ?> </a> </h2> </div> @@ -306,33 +307,39 @@ <a href="admin_modules.php"> <?= I18N::translate('Module administration') ?> </a> - <ul> + <ul class="fa-ul"> <li> + <?= FontAwesome::decorativeIcon('menu', ['class' => 'fa-li']) ?> <a href="admin_module_menus.php"> <?= I18N::translate('Menus') ?> </a> </li> <li> + <?= FontAwesome::decorativeIcon('tab', ['class' => 'fa-li']) ?> <a href="admin_module_tabs.php"> <?= I18N::translate('Tabs') ?> </a> </li> <li> + <?= FontAwesome::decorativeIcon('block', ['class' => 'fa-li']) ?> <a href="admin_module_blocks.php"> <?= I18N::translate('Blocks') ?> </a> </li> <li> + <?= FontAwesome::decorativeIcon('sidebar', ['class' => 'fa-li']) ?> <a href="admin_module_sidebar.php"> <?= I18N::translate('Sidebars') ?> </a> </li> <li> + <?= FontAwesome::decorativeIcon('chart', ['class' => 'fa-li']) ?> <a href="admin_module_charts.php"> <?= I18N::translate('Charts') ?> </a> </li> <li> + <?= FontAwesome::decorativeIcon('report', ['class' => 'fa-li']) ?> <a href="admin_module_repots.php"> <?= I18N::translate('Reports') ?> </a> @@ -344,7 +351,7 @@ <ul class="fa-ul"> <?php foreach ($config_modules as $module): ?> <li> - <i class="fa-li fa fa-cogs"></i> + <?= FontAwesome::decorativeIcon('preferences', ['class' => 'fa-li']) ?> <a href="<?= Html::escape($module->getConfigLink()) ?>"> <?= $module->getTitle() ?> </a> |
