1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-06 21:26:58 +02:00

Themes - boostrap 3 fixes

This commit is contained in:
Евгений
2014-01-09 07:46:15 +06:00
parent 31e0616a42
commit 1c42312010
2 changed files with 14 additions and 14 deletions

View File

@@ -12,12 +12,12 @@
<?php echo (Form::label('name', __('Name', 'themes'))); ?> <?php echo (Form::label('name', __('Name', 'themes'))); ?>
<div class="input-append"> <div class="input-group">
<?php echo (Form::input('name', $name, array('class' => (isset($errors['file_empty_name']) || isset($errors['file_exists'])) ? 'input-xxlarge error-field' : 'input-xxlarge'))); ?> <?php echo (Form::input('name', $name, array('class' => (isset($errors['file_empty_name']) || isset($errors['file_exists'])) ? 'form-control error-field' : 'form-control'))); ?>
<?php if ($action == 'chunk') { ?><span class="add-on">.chunk.php</span><?php } ?> <?php if ($action == 'chunk') { ?><span class="input-group-addon">.chunk.php</span><?php } ?>
<?php if ($action == 'template') { ?><span class="add-on">.template.php</span><?php } ?> <?php if ($action == 'template') { ?><span class="input-group-addon">.template.php</span><?php } ?>
<?php if ($action == 'styles') { ?><span class="add-on">.css</span><?php } ?> <?php if ($action == 'styles') { ?><span class="input-group-addon">.css</span><?php } ?>
<?php if ($action == 'script') { ?><span class="add-on">.js</span><?php } ?> <?php if ($action == 'script') { ?><span class="input-group-addon">.js</span><?php } ?>
</div> </div>
<?php <?php
@@ -25,7 +25,7 @@
if (isset($errors['file_exists'])) echo '&nbsp;&nbsp;&nbsp;<span style="color:red">'.$errors['file_exists'].'</span>'; if (isset($errors['file_exists'])) echo '&nbsp;&nbsp;&nbsp;<span style="color:red">'.$errors['file_exists'].'</span>';
?> ?>
<br><br> <br>
<?php <?php

View File

@@ -21,12 +21,12 @@
<?php echo (Form::label('name', __('Name', 'themes'))); ?> <?php echo (Form::label('name', __('Name', 'themes'))); ?>
<div class="input-append"> <div class="input-group">
<?php echo (Form::input('name', $name, array('class' => (isset($errors['file_empty_name']) || isset($errors['file_exists'])) ? 'input-xxlarge error-field' : 'input-xxlarge'))); ?> <?php echo (Form::input('name', $name, array('class' => (isset($errors['file_empty_name']) || isset($errors['file_exists'])) ? 'form-control error-field' : 'form-control'))); ?>
<?php if ($action == 'chunk') { ?><span class="add-on">.chunk.php</span><?php } ?> <?php if ($action == 'chunk') { ?><span class="input-group-addon">.chunk.php</span><?php } ?>
<?php if ($action == 'template') { ?><span class="add-on">.template.php</span><?php } ?> <?php if ($action == 'template') { ?><span class="input-group-addon">.template.php</span><?php } ?>
<?php if ($action == 'styles') { ?><span class="add-on">.css</span><?php } ?> <?php if ($action == 'styles') { ?><span class="input-group-addon">.css</span><?php } ?>
<?php if ($action == 'script') { ?><span class="add-on">.js</span><?php } ?> <?php if ($action == 'script') { ?><span class="input-group-addon">.js</span><?php } ?>
</div> </div>
<?php <?php
@@ -34,7 +34,7 @@
if (isset($errors['file_exists'])) echo '&nbsp;&nbsp;&nbsp;<span style="color:red">'.$errors['file_exists'].'</span>'; if (isset($errors['file_exists'])) echo '&nbsp;&nbsp;&nbsp;<span style="color:red">'.$errors['file_exists'].'</span>';
?> ?>
<br><br> <br>
<?php <?php