mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-01 10:50:37 +02:00
#64 Admin Responsive - Next Round
This commit is contained in:
@@ -554,10 +554,17 @@ td, th {
|
|||||||
float: left!important;
|
float: left!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.btn-phone {
|
.btn-phone {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.row-phone {
|
||||||
|
display: block!important;
|
||||||
|
width: 100%!important;
|
||||||
|
text-align: left!important;
|
||||||
|
}
|
||||||
|
|
||||||
/* Users */
|
/* Users */
|
||||||
.users-btns > div {
|
.users-btns > div {
|
||||||
display: block;
|
display: block;
|
||||||
|
@@ -23,9 +23,9 @@ if ($content !== null) {
|
|||||||
<?php
|
<?php
|
||||||
echo (
|
echo (
|
||||||
|
|
||||||
Form::submit('edit_email_template_and_exit', __('Save and Exit', 'emails'), array('class' => 'btn btn-primary')).Html::nbsp(2).
|
Form::submit('edit_email_template_and_exit', __('Save and Exit', 'emails'), array('class' => 'btn btn-phone btn-primary')).Html::nbsp(2).
|
||||||
Form::submit('edit_email_template', __('Save', 'emails'), array('class' => 'btn btn-primary')). Html::nbsp(2).
|
Form::submit('edit_email_template', __('Save', 'emails'), array('class' => 'btn btn-phone btn-primary')). Html::nbsp(2).
|
||||||
Html::anchor(__('Cancel', 'blocks'), 'index.php?id=emails', array('title' => __('Cancel', 'emails'), 'class' => 'btn btn-default')).
|
Html::anchor(__('Cancel', 'blocks'), 'index.php?id=emails', array('title' => __('Cancel', 'emails'), 'class' => 'btn btn-phone btn-default')).
|
||||||
Form::close()
|
Form::close()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@@ -4,8 +4,9 @@
|
|||||||
<?php echo (Form::hidden('csrf', Security::token())); ?>
|
<?php echo (Form::hidden('csrf', Security::token())); ?>
|
||||||
<?php if (isset($errors['menu_item_name_empty'])) $error_class = ' error'; else $error_class = ''; ?>
|
<?php if (isset($errors['menu_item_name_empty'])) $error_class = ' error'; else $error_class = ''; ?>
|
||||||
|
|
||||||
<a href="#" class="btn btn-default" data-toggle="modal" data-target="#selectPageModal"><?php echo __('Select page', 'menu'); ?></a>
|
<a href="#" class="btn btn-phone btn-default" data-toggle="modal" data-target="#selectPageModal"><?php echo __('Select page', 'menu'); ?></a>
|
||||||
<a href="#" class="btn btn-default" data-toggle="modal" data-target="#selectCategoryModal"><?php echo __('Select category', 'menu'); ?></a>
|
<?php echo Html::nbsp(2); ?>
|
||||||
|
<a href="#" class="btn btn-phone btn-default" data-toggle="modal" data-target="#selectCategoryModal"><?php echo __('Select category', 'menu'); ?></a>
|
||||||
|
|
||||||
<div class="row margin-top-2">
|
<div class="row margin-top-2">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
@@ -52,8 +53,8 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
echo (
|
echo (
|
||||||
Form::submit('menu_add_item', __('Save', 'menu'), array('class' => 'btn btn-primary')).Html::nbsp(2).
|
Form::submit('menu_add_item', __('Save', 'menu'), array('class' => 'btn btn-phone btn-primary')).Html::nbsp(2).
|
||||||
Html::anchor(__('Cancel', 'menu'), 'index.php?id=menu', array('title' => __('Cancel', 'menu'), 'class' => 'btn btn-default')).
|
Html::anchor(__('Cancel', 'menu'), 'index.php?id=menu', array('title' => __('Cancel', 'menu'), 'class' => 'btn btn-phone btn-default')).
|
||||||
Form::close()
|
Form::close()
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
@@ -9,8 +9,9 @@
|
|||||||
|
|
||||||
<?php if (isset($errors['menu_item_name_empty'])) $error_class = ' error'; else $error_class = ''; ?>
|
<?php if (isset($errors['menu_item_name_empty'])) $error_class = ' error'; else $error_class = ''; ?>
|
||||||
|
|
||||||
<a href="#" class="btn btn-default" data-toggle="modal" data-toggle="modal" data-target="#selectPageModal"><?php echo __('Select page', 'menu'); ?></a>
|
<a href="#" class="btn btn-phone btn-default" data-toggle="modal" data-toggle="modal" data-target="#selectPageModal"><?php echo __('Select page', 'menu'); ?></a>
|
||||||
<a href="#" class="btn btn-default" data-toggle="modal" data-toggle="modal" data-target="#selectCategoryModal"><?php echo __('Select category', 'menu'); ?></a>
|
<?php echo Html::nbsp(2); ?>
|
||||||
|
<a href="#" class="btn btn-phone btn-default" data-toggle="modal" data-toggle="modal" data-target="#selectCategoryModal"><?php echo __('Select category', 'menu'); ?></a>
|
||||||
|
|
||||||
<div class="form-group margin-top-2">
|
<div class="form-group margin-top-2">
|
||||||
<?php
|
<?php
|
||||||
@@ -54,8 +55,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
echo (
|
echo (
|
||||||
Form::submit('menu_add_item', __('Save', 'menu'), array('class' => 'btn btn-primary')).Html::nbsp(2).
|
Form::submit('menu_add_item', __('Save', 'menu'), array('class' => 'btn btn-phone btn-primary')).Html::nbsp(2).
|
||||||
Html::anchor(__('Cancel', 'menu'), 'index.php?id=menu', array('title' => __('Cancel', 'menu'), 'class' => 'btn btn-default')).
|
Html::anchor(__('Cancel', 'menu'), 'index.php?id=menu', array('title' => __('Cancel', 'menu'), 'class' => 'btn btn-phone btn-default')).
|
||||||
Form::close()
|
Form::close()
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
@@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
<?php if ($menu->count() == 0) { ?>
|
<?php if ($menu->count() == 0) { ?>
|
||||||
<div class="vertical-align margin-bottom-1">
|
<div class="vertical-align margin-bottom-1">
|
||||||
<div class="text-left">
|
<div class="text-left row-phone">
|
||||||
<h3><?php echo __('Category', 'menu'); ?>: <?php echo 'default'; ?></h3>
|
<h3><?php echo __('Category', 'menu'); ?>: <?php echo 'default'; ?></h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-right">
|
<div class="text-right row-phone">
|
||||||
<?php
|
<?php
|
||||||
echo (
|
echo (
|
||||||
Html::anchor(__('Create New Item', 'menu'), 'index.php?id=menu&action=add', array('title' => __('Create New Item', 'menu'), 'class' => 'btn btn-primary'))
|
Html::anchor(__('Create New Item', 'menu'), 'index.php?id=menu&action=add', array('title' => __('Create New Item', 'menu'), 'class' => 'btn btn-phone btn-primary'))
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
@@ -22,14 +22,14 @@
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="vertical-align margin-bottom-1">
|
<div class="vertical-align margin-bottom-1">
|
||||||
<div class="text-left">
|
<div class="text-left row-phone">
|
||||||
<h3><?php echo __('Category', 'menu'); ?>: <?php echo ($category == '') ? 'default' : $category; ?></h3>
|
<h3><?php echo __('Category', 'menu'); ?>: <?php echo ($category == '') ? 'default' : $category; ?></h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-right">
|
<div class="text-right row-phone">
|
||||||
<br>
|
<br>
|
||||||
<?php
|
<?php
|
||||||
echo (
|
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'))
|
Html::anchor(__('Create New Item', 'menu'), 'index.php?id=menu&action=add'.$category_to_add , array('title' => __('Create New Item', 'menu'), 'class' => 'btn btn-phone btn-primary'))
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -27,9 +27,9 @@
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
echo (
|
echo (
|
||||||
Form::submit('add_snippets_and_exit', __('Save and Exit', 'snippets'), array('class' => 'btn btn-primary')).Html::nbsp(2).
|
Form::submit('add_snippets_and_exit', __('Save and Exit', 'snippets'), array('class' => 'btn btn-phone btn-primary')).Html::nbsp(2).
|
||||||
Form::submit('add_snippets', __('Save', 'snippets'), array('class' => 'btn btn-primary')).Html::nbsp(2).
|
Form::submit('add_snippets', __('Save', 'snippets'), array('class' => 'btn btn-phone btn-primary')).Html::nbsp(2).
|
||||||
Html::anchor(__('Cancel', 'snippets'), 'index.php?id=snippets', array('title' => __('Cancel', 'snippets'), 'class' => 'btn btn-default')).
|
Html::anchor(__('Cancel', 'snippets'), 'index.php?id=snippets', array('title' => __('Cancel', 'snippets'), 'class' => 'btn btn-phone btn-default')).
|
||||||
Form::close()
|
Form::close()
|
||||||
);
|
);
|
||||||
?>
|
?>
|
@@ -35,9 +35,9 @@
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
echo (
|
echo (
|
||||||
Form::submit('edit_snippets_and_exit', __('Save and Exit', 'snippets'), array('class' => 'btn btn-primary')).Html::nbsp(2).
|
Form::submit('edit_snippets_and_exit', __('Save and Exit', 'snippets'), array('class' => 'btn btn-phone btn-primary')).Html::nbsp(2).
|
||||||
Form::submit('edit_snippets', __('Save', 'snippets'), array('class' => 'btn btn-primary')). Html::nbsp(2).
|
Form::submit('edit_snippets', __('Save', 'snippets'), array('class' => 'btn btn-phone btn-primary')). Html::nbsp(2).
|
||||||
Html::anchor(__('Cancel', 'snippets'), 'index.php?id=snippets', array('title' => __('Cancel', 'snippets'), 'class' => 'btn btn-default')).
|
Html::anchor(__('Cancel', 'snippets'), 'index.php?id=snippets', array('title' => __('Cancel', 'snippets'), 'class' => 'btn btn-phone btn-default')).
|
||||||
Form::close()
|
Form::close()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
<div class="vertical-align margin-bottom-1">
|
<div class="vertical-align margin-bottom-1">
|
||||||
<div class="text-left">
|
<div class="text-left row-phone">
|
||||||
<h2><?php echo __('Snippets', 'snippets'); ?></h2>
|
<h2><?php echo __('Snippets', 'snippets'); ?></h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-right">
|
<div class="text-right row-phone">
|
||||||
<?php
|
<?php
|
||||||
echo (
|
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)
|
Html::anchor(__('Create New Snippet', 'snippets'), 'index.php?id=snippets&action=add_snippet', array('title' => __('Create New Snippet', 'snippets'), 'class' => 'btn btn-phone btn-primary'))
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user