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

UI Improvements - Admin Default Theme - Updates #194

This commit is contained in:
Awilum
2014-02-18 00:45:31 +02:00
parent ac3c4e6ac8
commit e449381555
11 changed files with 48 additions and 57 deletions

View File

@@ -10,16 +10,19 @@ if ($content !== null) {
<div class="input-group">
<?php echo (Form::input('name', Request::get('filename'), array('disabled', 'class' => 'form-control'))); ?><span class="input-group-addon">.email.php</span>
</div>
<br>
<?php
<div class="margin-top-2em margin-bottom-2em">
<?php
echo (
Form::label('content', __('Email template content', 'emails')).
Form::textarea('content', Html::toText($content), array('style' => 'width:100%;height:400px;', 'class' => 'source-editor form-control'))
);
?>
</div>
<?php
echo (
Html::br().
Form::submit('edit_email_template_and_exit', __('Save and Exit', 'emails'), array('class' => 'btn btn-primary')).Html::nbsp(2).
Form::submit('edit_email_template', __('Save', 'emails'), array('class' => 'btn btn-primary')). Html::nbsp(2).
Html::anchor(__('Cancel', 'blocks'), 'index.php?id=emails', array('title' => __('Cancel', 'emails'), 'class' => 'btn btn-default')).