diff --git a/bl-kernel/admin/themes/booty/css/bludit.css b/bl-kernel/admin/themes/booty/css/bludit.css index fdfff2a6..cd51db8e 100644 --- a/bl-kernel/admin/themes/booty/css/bludit.css +++ b/bl-kernel/admin/themes/booty/css/bludit.css @@ -43,6 +43,42 @@ div.sidebar .nav-item span.oi { padding-right: 5px; } +/* + PLUGINS +*/ +.plugin-form label { + display: block; + margin-top: 1rem !important; +} + +.plugin-form input[type="text"], +.plugin-form textarea, +.plugin-form select { + display: block; + width: 100%; + padding: .375rem .75rem; + font-size: 1rem; + line-height: 1.5; + color: #495057; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #ced4da; + border-radius: .25rem; + transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; +} + +.plugin-form textarea { + min-height: 120px; +} + +.plugin-form span.tip { + display: block; + font-size: 80%; + font-weight: 400; + margin-top: .25rem; + color: #6c757d !important; +} + /* NEW CONTENT / EDIT CONTENT */ diff --git a/bl-kernel/admin/views/configure-plugin.php b/bl-kernel/admin/views/configure-plugin.php index a6f3d275..58fc0f9a 100644 --- a/bl-kernel/admin/views/configure-plugin.php +++ b/bl-kernel/admin/views/configure-plugin.php @@ -1,11 +1,10 @@ -$plugin->name(), 'icon'=>'puzzle-piece')); +echo Bootstrap::pageTitle(array('title'=>$plugin->name(), 'icon'=>'person')); -HTML::formOpen(array('id'=>'jsformplugin')); +echo Bootstrap::formOpen(array('class'=>'plugin-form')); - // Security token - HTML::formInputHidden(array( + echo Bootstrap::formInputHidden(array( 'name'=>'tokenCSRF', 'value'=>$Security->getTokenCSRF() )); @@ -13,12 +12,13 @@ HTML::formOpen(array('id'=>'jsformplugin')); // Print the plugin form echo $plugin->form(); - if($plugin->formButtons()) { - // Form buttons - echo '
- - '.$L->g('Cancel').' -
'; + if ($plugin->formButtons()) { + echo ' +
+ + '.$L->g('Cancel').' +
+ '; } -HTML::formClose(); +echo Bootstrap::formClose(); diff --git a/bl-plugins/about/plugin.php b/bl-plugins/about/plugin.php index 30d4ecee..a472f725 100644 --- a/bl-plugins/about/plugin.php +++ b/bl-plugins/about/plugin.php @@ -16,7 +16,7 @@ class pluginAbout extends Plugin { $html = '
'; $html .= ''; - $html .= ''; + $html .= ''; $html .= ''.$Language->get('This title is almost always used in the sidebar of the site').''; $html .= '
'; diff --git a/things-to-do b/things-to-do index a72ffe74..daaac612 100644 --- a/things-to-do +++ b/things-to-do @@ -10,11 +10,15 @@ Search and select a page not implementd - manage->users->edit user -not implementd +Change profile image - add more users roles - Dashboard not implemented -- if you are editing a page autosave, the autosave need to be the same \ No newline at end of file +- if you are editing a page autosave, the autosave need to be the same + +- new content -> options -> Advanced +-- date, javascript for select the date +-- \ No newline at end of file