mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-06 13:16:54 +02:00
UI Improvements - Menu Plugin - Fixes #194
This commit is contained in:
@@ -2,14 +2,22 @@
|
|||||||
<br>
|
<br>
|
||||||
|
|
||||||
<?php if ($menu->count() == 0) { ?>
|
<?php if ($menu->count() == 0) { ?>
|
||||||
<h3><?php echo __('Category', 'menu'); ?>: <?php echo 'default'; ?></h3>
|
<div>
|
||||||
|
<div class="pull-left">
|
||||||
|
<h3><?php echo __('Category', 'menu'); ?>: <?php echo 'default'; ?></h3>
|
||||||
|
</div>
|
||||||
|
<div class="pull-right">
|
||||||
|
<br>
|
||||||
|
<?php
|
||||||
|
echo (
|
||||||
|
Html::anchor(__('Create New Item', 'menu'), 'index.php?id=menu&action=add', array('title' => __('Create New Item', 'menu'), 'class' => 'btn btn-primary'))
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<?php
|
|
||||||
echo (
|
|
||||||
Html::anchor(__('Create New Item', 'menu'), 'index.php?id=menu&action=add', array('title' => __('Create New Item', 'menu'), 'class' => 'btn btn-primary'))
|
|
||||||
);
|
|
||||||
?>
|
|
||||||
<br><br>
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@@ -22,14 +30,23 @@
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h3><?php echo __('Category', 'menu'); ?>: <?php echo ($category == '') ? 'default' : $category; ?></h3>
|
|
||||||
|
<div>
|
||||||
|
<div class="pull-left">
|
||||||
|
<h3><?php echo __('Category', 'menu'); ?>: <?php echo ($category == '') ? 'default' : $category; ?></h3>
|
||||||
|
</div>
|
||||||
|
<div class="pull-right">
|
||||||
|
<br>
|
||||||
|
<?php
|
||||||
|
echo (
|
||||||
|
Html::anchor(__('Create New Item', 'menu'), 'index.php?id=menu&action=add'.$category_to_add , array('title' => __('Create New Item', 'menu'), 'class' => 'btn btn-primary'))
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<?php
|
|
||||||
echo (
|
|
||||||
Html::anchor(__('Create New Item', 'menu'), 'index.php?id=menu&action=add'.$category_to_add , array('title' => __('Create New Item', 'menu'), 'class' => 'btn btn-primary'))
|
|
||||||
);
|
|
||||||
?>
|
|
||||||
<br><br>
|
|
||||||
|
|
||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
|
Reference in New Issue
Block a user