From 42e807db2215e2081706a66565f9058443cdf75d Mon Sep 17 00:00:00 2001 From: Awilum Date: Thu, 2 Jan 2014 02:29:14 +0200 Subject: [PATCH] Monstra Installer - Frontend Improvements --- plugins/box/snippets/views/backend/add.view.php | 4 ++-- plugins/box/snippets/views/backend/edit.view.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/box/snippets/views/backend/add.view.php b/plugins/box/snippets/views/backend/add.view.php index 635eef4..95f83b0 100644 --- a/plugins/box/snippets/views/backend/add.view.php +++ b/plugins/box/snippets/views/backend/add.view.php @@ -24,7 +24,7 @@ '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 ( 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', __('Save', 'snippets'), array('class' => 'btn')). + Form::submit('add_snippets', __('Save', 'snippets'), array('class' => 'btn btn-default')). Form::close() ); ?> diff --git a/plugins/box/snippets/views/backend/edit.view.php b/plugins/box/snippets/views/backend/edit.view.php index 4e32ff0..32631d1 100644 --- a/plugins/box/snippets/views/backend/edit.view.php +++ b/plugins/box/snippets/views/backend/edit.view.php @@ -33,10 +33,10 @@ echo ( 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). - Form::submit('edit_snippets_and_exit', __('Save and Exit', 'snippets'), array('class' => 'btn default')).Html::nbsp(2). - Form::submit('edit_snippets', __('Save', 'snippets'), array('class' => 'btn default')). Html::nbsp(). + 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 btn-default')). Html::nbsp(). Form::close() );