mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-02 03:10:25 +02:00
UI Improvements - Admin Default Theme - Updates #194
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
<script>$().ready(function(){$('[name=create_backup]').click(function(){$(this).button('loading');});});</script>
|
||||
|
||||
<div>
|
||||
<div class="pull-left">
|
||||
<div class="vertical-align margin-bottom-1em">
|
||||
<div class="text-left">
|
||||
<h2><?php echo __('Backups', 'backup'); ?></h2>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<br>
|
||||
<div class="text-right">
|
||||
<?php
|
||||
echo (
|
||||
Form::open(null, array('class' => 'form-inline')) .
|
||||
@@ -15,11 +14,8 @@
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<!-- Backup_list -->
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<h2><?php echo __('New Block', 'blocks'); ?></h2>
|
||||
<br>
|
||||
<h2 class="margin-bottom-1em"><?php echo __('New Block', 'blocks'); ?></h2>
|
||||
|
||||
<?php if (isset($errors['blocks_empty_name']) or isset($errors['blocks_exists'])) $error_class = 'error'; else $error_class = ''; ?>
|
||||
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<h2><?php echo __('Edit Block', 'blocks'); ?></h2>
|
||||
<br>
|
||||
<h2 class="margin-bottom-1em"><?php echo __('Edit Block', 'blocks'); ?></h2>
|
||||
|
||||
<?php
|
||||
if ($content !== null) {
|
||||
|
@@ -1,20 +1,16 @@
|
||||
<div>
|
||||
<div class="pull-left">
|
||||
<div class="vertical-align margin-bottom-1em">
|
||||
<div class="text-left">
|
||||
<h2><?php echo __('Blocks', 'blocks'); ?></h2>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<br>
|
||||
<div class="text-right">
|
||||
<?php
|
||||
echo (
|
||||
Html::anchor(__('Create New Block', 'blocks'), 'index.php?id=blocks&action=add_block', array('title' => __('Create New Block', 'blocks'), 'class' => 'btn btn-primary')). Html::nbsp(3)
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<!-- Blocks_list -->
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<h2><?php echo __('Edit Email Template', 'emails'); ?></h2>
|
||||
<br>
|
||||
<h2 class="margin-bottom-1em"><?php echo __('Edit Email Template', 'emails'); ?></h2>
|
||||
|
||||
<?php
|
||||
if ($content !== null) {
|
||||
echo (Form::open());
|
||||
|
@@ -1,20 +1,16 @@
|
||||
<div>
|
||||
<div class="pull-left">
|
||||
<div class="vertical-align margin-bottom-1em">
|
||||
<div class="text-left">
|
||||
<h2><?php echo __('Emails', 'emails'); ?></h2>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<br>
|
||||
<div class="text-right">
|
||||
<?php
|
||||
echo (
|
||||
Html::anchor(__('Edit Layout', 'emails'), 'index.php?id=emails&action=edit_email_template&filename=layout', array('title' => __('Edit Layout', 'emails'), 'class' => 'btn btn-primary'))
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<h2><?php echo __('Files', 'filesmanager'); ?></h2>
|
||||
<br>
|
||||
<h2 class="margin-bottom-1em"><?php echo __('Files', 'filesmanager'); ?></h2>
|
||||
|
||||
<input type="hidden" id="fUploaderInit" value='<?php echo json_encode($fileuploader); ?>' />
|
||||
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<h2><?php echo __('Information', 'information'); ?></h2>
|
||||
<br>
|
||||
<h2 class="margin-bottom-1em"><?php echo __('Information', 'information'); ?></h2>
|
||||
|
||||
<div class="tabbable">
|
||||
<ul class="nav nav-tabs">
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<h2><?php echo __('New item', 'menu'); ?></h2>
|
||||
<br>
|
||||
<h2 class="margin-bottom-1em"><?php echo __('New item', 'menu'); ?></h2>
|
||||
|
||||
<?php echo (Form::open()); ?>
|
||||
<?php echo (Form::hidden('csrf', Security::token())); ?>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<h2><?php echo __('Edit item', 'menu'); ?></h2>
|
||||
<br>
|
||||
<h2 class="margin-bottom-1em"><?php echo __('Edit item', 'menu'); ?></h2>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<h2><?php echo __('Menu', 'menu'); ?></h2>
|
||||
<br>
|
||||
<h2 class="margin-bottom-1em"><?php echo __('Menu', 'menu'); ?></h2>
|
||||
|
||||
<?php if ($menu->count() == 0) { ?>
|
||||
<div>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<h2><?php echo __('New Page', 'pages'); ?></h2>
|
||||
<br>
|
||||
<h2 class="margin-bottom-1em"><?php echo __('New Page', 'pages'); ?></h2>
|
||||
|
||||
<?php
|
||||
echo (
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<h2><?php if (Request::get('name') == 'error404') { echo __('Edit 404 Page', 'pages'); } else { echo __('Edit Page', 'pages'); } ?></h2>
|
||||
<br>
|
||||
<h2 class="margin-bottom-1em"><?php if (Request::get('name') == 'error404') { echo __('Edit 404 Page', 'pages'); } else { echo __('Edit Page', 'pages'); } ?></h2>
|
||||
|
||||
<?php
|
||||
echo (
|
||||
|
@@ -1,9 +1,8 @@
|
||||
<div>
|
||||
<div class="pull-left">
|
||||
<div class="vertical-align margin-bottom-1em">
|
||||
<div class="text-left">
|
||||
<h2><?php echo __('Pages', 'pages'); ?></h2>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<br>
|
||||
<div class="text-right">
|
||||
<?php
|
||||
echo (
|
||||
Html::anchor(__('Create New Page', 'pages'), 'index.php?id=pages&action=add_page', array('title' => __('Create New Page', 'pages'), 'class' => 'btn btn-primary')). Html::nbsp(3).
|
||||
@@ -11,12 +10,8 @@
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<h2><?php echo __('Plugins', 'plugins'); ?></h2>
|
||||
<br>
|
||||
<h2 class="margin-bottom-1em"><?php echo __('Plugins', 'plugins'); ?></h2>
|
||||
|
||||
<input type="hidden" id="fUploaderInit" value='<?php echo json_encode($fileuploader); ?>' />
|
||||
|
||||
|
@@ -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 = ''; ?>
|
||||
|
||||
|
@@ -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) {
|
||||
|
@@ -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>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
<?php } ?>
|
||||
<?php Action::run('admin_system_extra_buttons'); ?>
|
||||
|
||||
<hr />
|
||||
<hr>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
|
@@ -1,8 +1,7 @@
|
||||
<!-- Users_add -->
|
||||
<h2><?php echo __('New User Registration', 'users'); ?></h2>
|
||||
<h2 class="margin-bottom-1em"><?php echo __('New User Registration', 'users'); ?></h2>
|
||||
<?php
|
||||
echo (
|
||||
Html::br().
|
||||
Form::open().
|
||||
Form::hidden('csrf', Security::token())
|
||||
);
|
||||
|
@@ -2,9 +2,7 @@
|
||||
// Show template for exist user else show error
|
||||
if ($user !== null) {
|
||||
?>
|
||||
<h2><?php echo __('Edit profile', 'users'); ?></h2>
|
||||
|
||||
<br>
|
||||
<h2 class="margin-bottom-1em"><?php echo __('Edit profile', 'users'); ?></h2>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
|
@@ -1,9 +1,8 @@
|
||||
<h2><?php echo __('Users', 'users'); ?></h2>
|
||||
<br>
|
||||
<h2 class="margin-bottom-1em"><?php echo __('Users', 'users'); ?></h2>
|
||||
|
||||
<?php echo Html::anchor(__('Register New User', 'users'), 'index.php?id=users&action=add', array('title' => __('Register New User', 'users'), 'class' => 'btn btn-primary')); ?>
|
||||
|
||||
<div class="pull-right">
|
||||
<div class="pull-right margin-bottom-1em">
|
||||
<?php echo Form::open(null, array('name' => 'users_frontend')); ?>
|
||||
<?php echo Form::hidden('csrf', Security::token()); ?>
|
||||
<div class="checkbox">
|
||||
@@ -15,8 +14,6 @@
|
||||
<?php echo Form::close();?>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
<!-- Users_list -->
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
|
Reference in New Issue
Block a user