forked from mirrors/easyappointments
Group insert buttons in the backend calendar to a button dropdown so that more space is available in the toolbar.
This commit is contained in:
parent
10ed734139
commit
b56073c071
2 changed files with 24 additions and 17 deletions
|
@ -42,7 +42,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="calendar-page" class="container-fluid">
|
<div id="calendar-page" class="container-fluid">
|
||||||
<div id="calendar-toolbar">
|
<div class="row" id="calendar-toolbar">
|
||||||
<div id="calendar-filter" class="form-inline col-xs-12 col-sm-5">
|
<div id="calendar-filter" class="form-inline col-xs-12 col-sm-5">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="select-filter-item"><?= lang('display_calendar') ?></label>
|
<label for="select-filter-item"><?= lang('display_calendar') ?></label>
|
||||||
|
@ -68,20 +68,28 @@
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if ($privileges[PRIV_APPOINTMENTS]['add'] == TRUE): ?>
|
<?php if ($privileges[PRIV_APPOINTMENTS]['add'] == TRUE): ?>
|
||||||
<button id="insert-appointment" class="btn btn-default" title="<?= lang('new_appointment_hint') ?>">
|
<div class="btn-group">
|
||||||
|
<button class="btn btn-default" type="button" id="insert-appointment">
|
||||||
<span class="glyphicon glyphicon-plus"></span>
|
<span class="glyphicon glyphicon-plus"></span>
|
||||||
<?= lang('appointment') ?>
|
<?= lang('appointment') ?>
|
||||||
</button>
|
</button>
|
||||||
|
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||||
<button id="insert-unavailable" class="btn btn-default" title="<?= lang('unavailable_periods_hint') ?>">
|
<span class="caret"></span>
|
||||||
<span class="glyphicon glyphicon-plus"></span>
|
<span class="sr-only">Toggle Dropdown</span>
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="#" id="insert-unavailable">
|
||||||
<?= lang('unavailable') ?>
|
<?= lang('unavailable') ?>
|
||||||
</button>
|
</a>
|
||||||
|
</li>
|
||||||
<button id="insert-extra-period" class="btn btn-default" title="<?= lang('extra_periods_hint') ?>">
|
<li>
|
||||||
<span class="glyphicon glyphicon-plus"></span>
|
<a href="#" id="insert-extra-period">
|
||||||
<?= lang('extra_period') ?>
|
<?= lang('extra_period') ?>
|
||||||
</button>
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<button id="reload-appointments" class="btn btn-default" title="<?= lang('reload_appointments_hint') ?>">
|
<button id="reload-appointments" class="btn btn-default" title="<?= lang('reload_appointments_hint') ?>">
|
||||||
|
|
|
@ -278,8 +278,7 @@ body legend {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background: #3A3A3A;
|
background: #3A3A3A;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
margin-bottom: 15px;
|
margin: 0 0 15px;
|
||||||
overflow: auto;
|
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue