fullscreen mode for events

This commit is contained in:
Mario Vavti 2016-04-03 12:19:49 +02:00
parent b8d8be7013
commit db4e9aeaad
5 changed files with 65 additions and 5 deletions

51
view/css/mod_cal.css Normal file
View File

@ -0,0 +1,51 @@
/* fix borders */
.fc th:first-child,
.fc td:first-child {
border-left-width: 0px;
}
.fc th:last-child,
.fc td:last-child {
border-right-width: 0px;
border-bottom-width: 0px;
}
.fc-unthemed th,
.fc-unthemed td,
.fc-unthemed thead,
.fc-unthemed tbody,
.fc-unthemed .fc-divider,
.fc-unthemed .fc-row,
.fc-unthemed .fc-popover {
border-color: #ccc !important;
}
#events-spinner .spinner {
margin-top: 9px;
margin-bottom: -9px;
}
.bootstrap-tagsinput {
width: 100%;
padding: 6px 12px;
}
.event-wrapper,
.vevent {
max-width: 700px;
}
.event-owner {
padding: 10px;
}
.event-owner img {
margin-right: 5px;
}
.vevent,
.event-buttons {
padding: 10px;
}

View File

@ -1,7 +1,14 @@
/* fix borders */ /* fix borders */
#events-calendar {
margin-left: -1px; .fc th:first-child,
margin-bottom: -1px; .fc td:first-child {
border-left-width: 0px;
}
.fc th:last-child,
.fc td:last-child {
border-right-width: 0px;
border-bottom-width: 0px;
} }
.fc-unthemed th, .fc-unthemed th,

View File

@ -1521,10 +1521,8 @@ nav .dropdown-menu {
.generic-content-wrapper.fullscreen { .generic-content-wrapper.fullscreen {
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100%;
top: 0px; top: 0px;
left: 0px; left: 0px;
border: 0px;
border-radius: 0px; border-radius: 0px;
} }

View File

@ -1,6 +1,8 @@
<div class="generic-content-wrapper"> <div class="generic-content-wrapper">
<div class="section-title-wrapper"> <div class="section-title-wrapper">
<div class="pull-right"> <div class="pull-right">
<button id="fullscreen-btn" type="button" class="btn btn-default btn-xs" onclick="makeFullScreen();"><i class="icon-resize-full"></i></button>
<button id="inline-btn" type="button" class="btn btn-default btn-xs" onclick="makeFullScreen(false);"><i class="icon-resize-small"></i></button>
<button class="btn btn-success btn-xs" onclick="openClose('form');">{{$new_event.1}}</button> <button class="btn btn-success btn-xs" onclick="openClose('form');">{{$new_event.1}}</button>
<div class="btn-group"> <div class="btn-group">
<button class="btn btn-default btn-xs" onclick="changeView('prev', false);" title="{{$prev}}"><i class="icon-backward"></i></button> <button class="btn btn-default btn-xs" onclick="changeView('prev', false);" title="{{$prev}}"><i class="icon-backward"></i></button>

View File

@ -2,6 +2,8 @@
<div class="generic-content-wrapper"> <div class="generic-content-wrapper">
<div class="section-title-wrapper"> <div class="section-title-wrapper">
<div class="pull-right"> <div class="pull-right">
<button id="fullscreen-btn" type="button" class="btn btn-default btn-xs" onclick="makeFullScreen();"><i class="icon-resize-full"></i></button>
<button id="inline-btn" type="button" class="btn btn-default btn-xs" onclick="makeFullScreen(false);"><i class="icon-resize-small"></i></button>
<div class="btn-group"> <div class="btn-group">
<button class="btn btn-default btn-xs" onclick="changeView('prev', false);" title="{{$prev}}"><i class="icon-backward"></i></button> <button class="btn btn-default btn-xs" onclick="changeView('prev', false);" title="{{$prev}}"><i class="icon-backward"></i></button>
<button id="events-spinner" class="btn btn-default btn-xs" onclick="changeView('today', false);" title="{{$today}}"><i class="icon-bullseye"></i></button> <button id="events-spinner" class="btn btn-default btn-xs" onclick="changeView('today', false);" title="{{$today}}"><i class="icon-bullseye"></i></button>