From 1043ba015434cb0a10829c0e0974184f919bb593 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 9 Mar 2015 15:06:16 -0700 Subject: [PATCH] Admin-UI Toggle sidebar experimental option added. --- e107_themes/bootstrap/admin_style.css | 4 ++++ e107_themes/bootstrap/admin_template.php | 4 ++++ e107_themes/bootstrap/admin_theme.php | 2 +- e107_web/js/core/admin.jquery.js | 11 +++++++++++ 4 files changed, 20 insertions(+), 1 deletion(-) diff --git a/e107_themes/bootstrap/admin_style.css b/e107_themes/bootstrap/admin_style.css index 77278d159..dedb99ea2 100644 --- a/e107_themes/bootstrap/admin_style.css +++ b/e107_themes/bootstrap/admin_style.css @@ -982,6 +982,10 @@ li.rssRow > div { .core-mainpanel-link-icon img { margin-bottom: 5px } +.sidebar-toggle { width: 50px; display: inline-block; position: absolute; margin-left: -20px; } +.sidebar-toggle a {color:#C6C6C6;} +#left-panel.toggled { display: none } + /* body { background-color: rgb(68, 68, 68); } diff --git a/e107_themes/bootstrap/admin_template.php b/e107_themes/bootstrap/admin_template.php index b803c6a1c..243bbde1b 100644 --- a/e107_themes/bootstrap/admin_template.php +++ b/e107_themes/bootstrap/admin_template.php @@ -188,8 +188,12 @@ $ADMIN_HEADER = ''; $ADMIN_HEADER .= '
+ +
+
+ {SETSTYLE=admin_menu} {ADMIN_MENU} diff --git a/e107_themes/bootstrap/admin_theme.php b/e107_themes/bootstrap/admin_theme.php index 6588fe205..18abf85cb 100644 --- a/e107_themes/bootstrap/admin_theme.php +++ b/e107_themes/bootstrap/admin_theme.php @@ -154,7 +154,7 @@ class bootstrap_admintheme case 'admin_menu' : echo ' -