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 '