1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-11 15:45:07 +02:00

UI Improvements - Admin Default Theme - Updates #194

This commit is contained in:
Awilum
2014-02-18 23:02:26 +02:00
parent e449381555
commit 32e2890b37
22 changed files with 44 additions and 44 deletions

View File

@@ -1,4 +1,4 @@
<h2 class="margin-bottom-1em"><?php echo __('New Block', 'blocks'); ?></h2>
<h2 class="margin-bottom-1"><?php echo __('New Block', 'blocks'); ?></h2>
<?php if (isset($errors['blocks_empty_name']) or isset($errors['blocks_exists'])) $error_class = 'error'; else $error_class = ''; ?>
@@ -6,7 +6,7 @@
<?php echo (Form::hidden('csrf', Security::token())); ?>
<div class="form-group margin-bottom-1em">
<div class="form-group margin-bottom-1">
<?php echo (Form::label('name', __('Name', 'blocks'))); ?>
<?php echo (Form::input('name', $name, array('class' => (isset($errors['blocks_empty_name']) || isset($errors['blocks_exists'])) ? 'form-control error-field' : 'form-control'))); ?>
<?php
@@ -15,7 +15,7 @@
?>
</div>
<div class="row margin-bottom-1em">
<div class="row margin-bottom-1">
<div class="col-xs-12">
<?php Action::run('admin_editor', array(Html::toText($content))); ?>
</div>

View File

@@ -1,4 +1,4 @@
<h2 class="margin-bottom-1em"><?php echo __('Edit Block', 'blocks'); ?></h2>
<h2 class="margin-bottom-1"><?php echo __('Edit Block', 'blocks'); ?></h2>
<?php
if ($content !== null) {
@@ -11,7 +11,7 @@
?>
<div class="form-group margin-bottom-1em">
<div class="form-group margin-bottom-1">
<?php echo (Form::label('name', __('Name', 'blocks'))); ?>
<?php echo (Form::input('name', $name, array('class' => (isset($errors['blocks_empty_name']) || isset($errors['blocks_exists'])) ? 'form-control error-field' : 'form-control'))); ?>
<?php
@@ -21,7 +21,7 @@
</div>
<div class="row margin-bottom-1em">
<div class="row margin-bottom-1">
<div class="col-xs-12">
<?php Action::run('admin_editor', array(Html::toText($content))); ?>
</div>

View File

@@ -1,4 +1,4 @@
<div class="vertical-align margin-bottom-1em">
<div class="vertical-align margin-bottom-1">
<div class="text-left">
<h2><?php echo __('Blocks', 'blocks'); ?></h2>
</div>