From fd6a2895bd8b8b675e33fcb3e3bdf006d9f2b4a2 Mon Sep 17 00:00:00 2001 From: Cameron Date: Fri, 14 Aug 2015 18:12:19 -0700 Subject: [PATCH] Admin-area styling, including TinyMce. --- e107_admin/includes/infopanel.php | 2 +- e107_admin/newspost.php | 4 ++-- e107_themes/bootstrap/admin_style.css | 5 +++++ e107_themes/bootstrap3/admin_style.css | 2 +- e107_themes/bootstrap3/admin_template.php | 4 ++-- e107_themes/bootstrap3/admin_theme.php | 14 ++++++++++++++ e107_themes/bootstrap3/css/bootstrap-dark.min.css | 11 ++++++----- 7 files changed, 31 insertions(+), 11 deletions(-) diff --git a/e107_admin/includes/infopanel.php b/e107_admin/includes/infopanel.php index d78a3b0f6..35423fa50 100644 --- a/e107_admin/includes/infopanel.php +++ b/e107_admin/includes/infopanel.php @@ -376,7 +376,7 @@ class adminstyle_infopanel $panelOnline = " - +
diff --git a/e107_admin/newspost.php b/e107_admin/newspost.php index aac801f00..fec851c10 100644 --- a/e107_admin/newspost.php +++ b/e107_admin/newspost.php @@ -404,10 +404,10 @@ class news_admin_ui extends e_admin_ui 'news_class' => array('title' => LAN_VISIBILITY, 'type' => 'userclasses','tab'=>2, 'inline'=>true, 'width' => 'auto', 'thclass' => '', 'class' => null, 'batch'=>true, 'filter'=>true), 'news_render_type' => array('title' => LAN_TEMPLATE, 'type' => 'dropdown', 'tab'=>0, 'data'=> 'str', 'inline'=>false, 'width' => 'auto', 'thclass' => 'left', 'class' => 'left', 'nosort' => false, 'batch'=>true, 'filter'=>true), 'news_sticky' => array('title' => LAN_NEWS_28, 'type' => 'boolean', 'tab'=>2, 'data' => 'int' , 'width' => 'auto', 'thclass' => 'center', 'class' => 'center', 'nosort' => false, 'batch'=>true, 'filter'=>true), - 'news_allow_comments' => array('title' => LAN_COMMENTS, 'type' => 'boolean', 'tab'=>2, 'writeParms'=>'inverse=1', 'data' => 'int', 'width' => 'auto', 'thclass' => 'center', 'class' => 'center', 'nosort' => false,'batch'=>true, 'filter'=>true,'readParms'=>'reverse=1','writeParms'=>'inverse=1'), + 'news_allow_comments' => array('title' => LAN_COMMENTS, 'type' => 'boolean', 'tab'=>2, 'writeParms'=>'inverse=1', 'data' => 'int', 'width' => 'auto', 'thclass' => 'center', 'class' => 'center', 'nosort' => false,'batch'=>true, 'filter'=>true,'readParms'=>'reverse=1'), 'news_comment_total' => array('title' => LAN_NEWS_60, 'type' => 'number', 'tab'=>2, 'noedit'=>true, 'width' => '10%', 'thclass' => '', 'class' => null, 'nosort' => false), // admin_news_notify - 'news_email_notify' => array('title' => "Email notification", 'type' => 'checkbox', 'tab'=>2, 'data'=>false, 'writeParms'=>array('show'=>1), 'help'=>'Trigger an email notification when you submit this form.'), + 'news_email_notify' => array('title' => "Email notification", 'type' => 'checkbox', 'tab'=>2, 'data'=>false, 'writeParms'=>array('show'=>1, 'tdClassRight'=>'form-inline'), 'help'=>'Trigger an email notification when you submit this form.'), 'submitted_id' => array('title' => LAN_NEWS_68, 'type' => 'hidden', 'tab'=>2, 'data'=>false, 'writeParms'=>'show=0'), 'options' => array('title' => LAN_OPTIONS, 'type' => null, 'width' => '10%', 'thclass' => 'center last', 'class' => 'center', 'nosort' => true, 'forced' => TRUE) diff --git a/e107_themes/bootstrap/admin_style.css b/e107_themes/bootstrap/admin_style.css index efe650122..6fbbf8792 100644 --- a/e107_themes/bootstrap/admin_style.css +++ b/e107_themes/bootstrap/admin_style.css @@ -58,6 +58,11 @@ a.core-mainpanel-link-icon:hover { text-decoration: none; filter: none; } #admin-ui-edit-db-language { margin-bottom: -30px; margin-top:-10px; padding-bottom:5px; padding-right:5px } + + + +#e-online table { width:96%;margin-left:auto; margin-right:auto } + div.bbcode-panel { background-color: rgb(245, 245, 245); diff --git a/e107_themes/bootstrap3/admin_style.css b/e107_themes/bootstrap3/admin_style.css index fd4cfdc60..46eb19484 100644 --- a/e107_themes/bootstrap3/admin_style.css +++ b/e107_themes/bootstrap3/admin_style.css @@ -1178,7 +1178,7 @@ li.rssRow > div { .admin-theme-cell-site { background-color: #d9edf7; border: 1px solid #bce8f1; } .admin-theme-cell-admin { background-color:#FFFFD5; border: 1px solid #FFCC00; } - +#e-online table { margin-top:10px; margin-left:auto; margin-right:auto } /* diff --git a/e107_themes/bootstrap3/admin_template.php b/e107_themes/bootstrap3/admin_template.php index 9d8f794d0..224bd3244 100644 --- a/e107_themes/bootstrap3/admin_template.php +++ b/e107_themes/bootstrap3/admin_template.php @@ -52,9 +52,9 @@ $E_ADMIN_NAVIGATION['button_active'] = ' // Leave Admin Area. $E_ADMIN_NAVIGATION['button_home'] = '