- Add framework loader back until calendar templates are loaded

- Use pointer cursor for week view so it looks clickable
This commit is contained in:
Nathan Gray 2016-04-05 21:38:49 +00:00
parent 1b4deda76f
commit 51be1aa2a9
3 changed files with 13 additions and 3 deletions

View File

@ -94,6 +94,13 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
// call parent
this._super.apply(this, arguments);
// Show loading div
egw.loading_prompt(
this.appname,true,egw.lang('please wait...'),
framework.applications.calendar.tab.contentDiv,
egwIsMobile()?'horizental':'spinner'
);
// Scroll
jQuery(jQuery.proxy(this._scroll,this));
@ -3273,6 +3280,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
{
$j(window).trigger('resize');
this.setState({state:this.state});
egw.loading_prompt(this.appname,false);
}
},

View File

@ -581,7 +581,8 @@ Hide subsequent headers in week view with non-consolidated owners
#calendar-view_view tbody.ui-sortable .calendar_calGridHeader {
cursor: ns-resize;
}
#calendar-view_view tbody.ui-sortable-disabled .calendar_calGridHeader {
#calendar-view_view tbody.ui-sortable-disabled .calendar_calGridHeader,
#calendar-view_view tbody.ui-sortable-disabled .calendar_calGridHeader label {
cursor: pointer;
}

View File

@ -11,7 +11,7 @@
* @package calendar
* @version $Id$
*/
/* $Id: app.css 55613 2016-04-04 16:38:23Z nathangray $ */
/* $Id: app.css 55614 2016-04-04 17:55:49Z nathangray $ */
/*Media print classes*/
@media print {
#calendar-view.et2_container,
@ -584,7 +584,8 @@ Hide subsequent headers in week view with non-consolidated owners
#calendar-view_view tbody.ui-sortable .calendar_calGridHeader {
cursor: ns-resize;
}
#calendar-view_view tbody.ui-sortable-disabled .calendar_calGridHeader {
#calendar-view_view tbody.ui-sortable-disabled .calendar_calGridHeader,
#calendar-view_view tbody.ui-sortable-disabled .calendar_calGridHeader label {
cursor: pointer;
}
/* contains (multiple) events's