diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-02-29 13:37:32 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-02-29 13:37:32 +0000 |
| commit | a1261cc20c3287b6c5b60dd7852bbd78f90e975d (patch) | |
| tree | 78559be7b79ef3fc5c7f20a13bad718022e67ab3 | |
| parent | 48ac7c4a1ecb2b9e10e9b8984a1ac52646e2d351 (diff) | |
- V4
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5370 0d5edaf7-2b12-4e95-93f4-047927463d4b
| -rw-r--r-- | views/admin/index.phtml | 2 | ||||
| -rw-r--r-- | views/admin/konfiguration.phtml | 2 | ||||
| -rw-r--r-- | views/admin/module.phtml | 17 | ||||
| -rw-r--r-- | views/css/admin.css | 2 |
4 files changed, 20 insertions, 3 deletions
diff --git a/views/admin/index.phtml b/views/admin/index.phtml index 5633453..848da7f 100644 --- a/views/admin/index.phtml +++ b/views/admin/index.phtml @@ -4,7 +4,7 @@ * Templatedatei für die Startseite/Konfiguration im Backend
* Normalerweise sollte hier nichts angepasst werden
*/
-
+
?>
<div class="wpsg_admin" id="wpsg-bs">
diff --git a/views/admin/konfiguration.phtml b/views/admin/konfiguration.phtml index e65a944..2febb89 100644 --- a/views/admin/konfiguration.phtml +++ b/views/admin/konfiguration.phtml @@ -8,7 +8,7 @@ <div class="wpsg_admin_submenu">
<div class="list-group">
- <span class="list-group-head list-group-item">asdasd</span>
+ <span class="list-group-head list-group-item"><?php echo __('Konfiguration'); ?></span>
<?php foreach ($this->view['arSubAction'] as $k => $v) { ?>
<a class="list-group-item <?php echo (($k == $this->view['subAction'])?'active':''); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=<?php echo $k; ?>"><?php echo $v['Menutext']; ?></a>
<?php } ?>
diff --git a/views/admin/module.phtml b/views/admin/module.phtml index faa84d2..3537718 100644 --- a/views/admin/module.phtml +++ b/views/admin/module.phtml @@ -9,6 +9,21 @@ <div class="wpsg_admin_submenu">
<?php foreach ($this->view['groups'] as $group_name => $g) { ?>
+ <div class="list-group">
+ <span class="list-group-head list-group-item"><?php echo $group_name; ?></span>
+ <?php foreach ($g as $mod_key => $m) { ?>
+ <a class="<?php echo (($this->get_option($mod_key, $this->view['global']) > 0)?'modul_akt':''); ?> list-group-item <?php echo (($mod_key == $_REQUEST['modul'])?'active':''); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=<?php echo $mod_key; ?>">
+ <?php echo $m->name; ?>
+ <?php if (($this->get_option($mod_key, $this->view['global']) > 0)?'modul_akt':'') { ?>
+ <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
+ <?php } ?>
+ </a>
+ <?php } ?>
+ </div>
+ <?php } ?>
+
+ <?php /* ?>
+ <?php foreach ($this->view['groups'] as $group_name => $g) { ?>
<div class="head">
<div class="title"><?php echo $group_name; ?></div>
<div style="clear:both;"></div>
@@ -20,7 +35,7 @@ <?php } ?>
</ul>
<div style="clear:both; height:10px; margin-left:0px; margin-right:8px;"></div>
- <?php } ?>
+ <?php } ?> */ ?>
</div>
diff --git a/views/css/admin.css b/views/css/admin.css index 9ab33ce..62fac6f 100644 --- a/views/css/admin.css +++ b/views/css/admin.css @@ -21,6 +21,7 @@ .tooltip { text-decoration:none; color:inherit; cursor:inherit; }
.tooltip:hover { color:inherit; }
.sortable_handler { cursor:move; }
+.toplevel_page_wpsg-Admin .settings-error { display:none; }
/*
* Datepicker
@@ -249,6 +250,7 @@ table.wpsg_admin_laender_list tr.even td {} .navbar-nav li { margin-bottom:0px; }
.wpsg_admin { padding-top:75px; }
.wpsg_admin_submenu .list-group-item { padding-top:3px; padding-bottom:3px; }
+.wpsg_admin_submenu .list-group-item .glyphicon { float:right; color:#2b542c; }
.wpsg_admin_submenu .list-group-head { background-color:#E1E1E1 !important; padding-top:10px; padding-bottom:10px; }
.wpsg_admin_content { margin-left:15px; }
|
