1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-03 03:37:52 +02:00

UI Improvements - Admin Default Theme - Updates #194

This commit is contained in:
Awilum
2014-02-14 21:35:56 +02:00
parent e436317d7e
commit e3d0da1047
22 changed files with 34 additions and 74 deletions

View File

@@ -1,6 +1,4 @@
<h2><?php echo __('New Snippet', 'snippets'); ?></h2>
<br>
<h2 class="margin-bottom-1em"><?php echo __('New Snippet', 'snippets'); ?></h2>
<?php if (isset($errors['snippets_empty_name']) or isset($errors['snippets_exists'])) $error_class = 'error'; else $error_class = ''; ?>

View File

@@ -1,5 +1,4 @@
<h2><?php echo __('Edit Snippet', 'snippets'); ?></h2>
<br>
<h2 class="margin-bottom-1em"><?php echo __('Edit Snippet', 'snippets'); ?></h2>
<?php
if ($content !== null) {

View File

@@ -1,20 +1,16 @@
<div>
<div class="pull-left">
<div class="vertical-align margin-bottom-1em">
<div class="text-left">
<h2><?php echo __('Snippets', 'snippets'); ?></h2>
</div>
<div class="pull-right">
<br>
<div class="text-right">
<?php
echo (
Html::anchor(__('Create New Snippet', 'snippets'), 'index.php?id=snippets&action=add_snippet', array('title' => __('Create New Snippet', 'snippets'), 'class' => 'btn btn-primary')). Html::nbsp(3)
);
?>
</div>
<div class="clearfix"></div>
</div>
<br>
<!-- Snippets_list -->
<table class="table table-bordered">
<thead>