1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 18:30:20 +02:00

Monstra Installer - Frontend Improvements

This commit is contained in:
Awilum
2014-01-02 02:29:14 +02:00
parent 76f216f516
commit 42e807db22
2 changed files with 5 additions and 5 deletions

View File

@@ -24,7 +24,7 @@
<?php <?php
echo ( echo (
Form::label('content', __('Snippet content', 'snippets')). Form::label('content', __('Snippet content', 'snippets')).
Form::textarea('content', $content, array('style' => 'width:100%;height:400px;', 'class'=>'source-editor')) Form::textarea('content', $content, array('style' => 'width:100%;height:400px;', 'class'=>'source-editor form-control'))
); );
?> ?>
@@ -32,7 +32,7 @@
echo ( echo (
Html::br(2). Html::br(2).
Form::submit('add_snippets_and_exit', __('Save and Exit', 'snippets'), array('class' => 'btn btn-primary')).Html::nbsp(2). Form::submit('add_snippets_and_exit', __('Save and Exit', 'snippets'), array('class' => 'btn btn-primary')).Html::nbsp(2).
Form::submit('add_snippets', __('Save', 'snippets'), array('class' => 'btn')). Form::submit('add_snippets', __('Save', 'snippets'), array('class' => 'btn btn-default')).
Form::close() Form::close()
); );
?> ?>

View File

@@ -33,10 +33,10 @@
echo ( echo (
Form::label('content', __('Snippet content', 'snippets')). Form::label('content', __('Snippet content', 'snippets')).
Form::textarea('content', Html::toText($content), array('style' => 'width:100%;height:400px;', 'class' => 'source-editor')). Form::textarea('content', Html::toText($content), array('style' => 'width:100%;height:400px;', 'class' => 'source-editor form-control')).
Html::br(2). Html::br(2).
Form::submit('edit_snippets_and_exit', __('Save and Exit', 'snippets'), array('class' => 'btn default')).Html::nbsp(2). Form::submit('edit_snippets_and_exit', __('Save and Exit', 'snippets'), array('class' => 'btn btn-primary')).Html::nbsp(2).
Form::submit('edit_snippets', __('Save', 'snippets'), array('class' => 'btn default')). Html::nbsp(). Form::submit('edit_snippets', __('Save', 'snippets'), array('class' => 'btn btn-default')). Html::nbsp().
Form::close() Form::close()
); );