mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
Move calendar header's buttons on the left
This commit is contained in:
parent
054e157ee6
commit
b45b0ed942
@ -166,9 +166,9 @@ Application.Controllers.controller('CalendarController', ['$scope', '$state', '$
|
||||
$scope.calendarConfig = CalendarConfig({
|
||||
slotEventOverlap: true,
|
||||
header: {
|
||||
left: 'month agendaWeek agendaDay',
|
||||
left: 'month agendaWeek agendaDay today prev,next',
|
||||
center: 'title',
|
||||
right: 'today prev,next'
|
||||
right: ''
|
||||
},
|
||||
minTime: moment.duration(moment(bookingWindowStart.setting.value).format('HH:mm:ss')),
|
||||
maxTime: moment.duration(moment(bookingWindowEnd.setting.value).format('HH:mm:ss')),
|
||||
|
@ -13,9 +13,9 @@ Application.Services.factory('CalendarConfig', [() =>
|
||||
timezone: Fablab.timezone,
|
||||
locale: Fablab.fullcalendar_locale,
|
||||
header: {
|
||||
left: 'month agendaWeek',
|
||||
left: 'month agendaWeek today prev,next',
|
||||
center: 'title',
|
||||
right: 'today prev,next'
|
||||
right: ''
|
||||
},
|
||||
firstDay: Fablab.weekStartingDay,
|
||||
scrollTime: DEFAULT_CALENDAR_POSITION,
|
||||
|
@ -55,10 +55,14 @@
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
margin: 0;
|
||||
margin-right: 0.5rem;
|
||||
height: 40px;
|
||||
line-height: 18px;
|
||||
padding: 10px;
|
||||
}
|
||||
.fc-button-group .fc-button {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.fc-toolbar h2 {
|
||||
font-size: 15px;
|
||||
|
@ -77,7 +77,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="widget panel b-a m-t-lg" ng-if="availability" ng-hide="availability.available_type == 'event'">
|
||||
<div class="widget panel b-a" ng-if="availability" ng-hide="availability.available_type == 'event'">
|
||||
<div class="panel-heading b-b small">
|
||||
<h3 translate>{{ 'app.admin.calendar.ongoing_reservations' }}</h3>
|
||||
</div>
|
||||
@ -96,7 +96,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="widget panel b-a m-t-lg" ng-if="availability.machine_ids.length > 0">
|
||||
<div class="widget panel b-a" ng-if="availability.machine_ids.length > 0">
|
||||
<div class="panel-heading b-b small">
|
||||
<h3 translate>{{ 'app.admin.calendar.machines' }}</h3>
|
||||
</div>
|
||||
@ -110,7 +110,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="widget panel b-a m-t-lg" ng-if="availability.plan_ids.length > 0">
|
||||
<div class="widget panel b-a" ng-if="availability.plan_ids.length > 0">
|
||||
<div class="panel-heading b-b small">
|
||||
<h3 translate>{{ 'app.admin.calendar.plans' }}</h3>
|
||||
</div>
|
||||
@ -129,7 +129,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="widget panel b-a m-t-lg" ng-if="availability" >
|
||||
<div class="widget panel b-a" ng-if="availability" >
|
||||
<div class="panel-heading b-b small">
|
||||
<h3 translate>{{ 'app.admin.calendar.actions' }}</h3>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user