1
0
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:
Awilum
2014-01-09 00:52:37 +02:00
parent ca65abd10c
commit 7c0a4d7a50

View File

@@ -2,14 +2,22 @@
<br>
<?php if ($menu->count() == 0) { ?>
<h3><?php echo __('Category', 'menu'); ?>: <?php echo 'default'; ?></h3>
<br>
<?php
<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'))
);
?>
<br><br>
?>
</div>
<div class="clearfix"></div>
</div>
<br>
<?php } ?>
<?php
@@ -22,14 +30,23 @@
?>
<h3><?php echo __('Category', 'menu'); ?>: <?php echo ($category == '') ? 'default' : $category; ?></h3>
<br>
<?php
<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'))
);
?>
<br><br>
?>
</div>
<div class="clearfix"></div>
</div>
<br>
<table class="table table-bordered">
<thead>