diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css index 57768a7b68..a97fbc04b6 100644 --- a/api/templates/default/etemplate2.css +++ b/api/templates/default/etemplate2.css @@ -1826,6 +1826,7 @@ div.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button { vertical-align: top; width:auto; padding-left: 3px; + background-image: none; } .et2_toolbar button, .nextmatch_header_row button, .et2_toolbar div.et2_progress, .nextmatch_header_row div.et2_progress { margin: 1px 4px 1px 0; diff --git a/calendar/inc/class.calendar_uiviews.inc.php b/calendar/inc/class.calendar_uiviews.inc.php index 6551a07096..3471221875 100644 --- a/calendar/inc/class.calendar_uiviews.inc.php +++ b/calendar/inc/class.calendar_uiviews.inc.php @@ -319,7 +319,7 @@ class calendar_uiviews extends calendar_ui ), 'planner_category' => array( 'caption' => 'Planner by category', - 'icon' => 'planner', + 'icon' => 'planner_category', 'group' => $group, 'onExecute' => 'javaScript:app.calendar.toolbar_action', 'hint' => 'Planner by category', @@ -388,7 +388,20 @@ class calendar_uiviews extends calendar_ui 'toolbarDefault' => true, ), ); - + if (html::$ua_mobile) + { + foreach (array_keys($actions) as $key) + { + if (!in_array($key, array('add','weekend','next', 'today','previous'))) { + $actions[$key]['toolbarDefault'] = false; + } + else { + $actions[$key]['toolbarDefault'] = true; + } + } + $actions['weekend']['data'] = array('toggle_off' => '7', 'toggle_on' => '5'); + unset($actions['pgp']); + } return $actions; } @@ -1717,7 +1730,7 @@ class calendar_uiviews extends calendar_ui } return ''; } - + /** * Calculates a brighter color for a given color * diff --git a/calendar/templates/pixelegg/images/cal4.svg b/calendar/templates/pixelegg/images/cal4.svg index 9e8f15e094..29fd381ed8 100644 --- a/calendar/templates/pixelegg/images/cal4.svg +++ b/calendar/templates/pixelegg/images/cal4.svg @@ -1,15 +1,15 @@ - + - - + + + - diff --git a/calendar/templates/pixelegg/images/day.svg b/calendar/templates/pixelegg/images/day.svg index 656cb1b514..47bbb59932 100644 --- a/calendar/templates/pixelegg/images/day.svg +++ b/calendar/templates/pixelegg/images/day.svg @@ -1,17 +1,22 @@ - - - - + + + + + + + + - diff --git a/calendar/templates/pixelegg/images/list.svg b/calendar/templates/pixelegg/images/list.svg new file mode 100644 index 0000000000..40020451d4 --- /dev/null +++ b/calendar/templates/pixelegg/images/list.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/calendar/templates/pixelegg/images/mutliweek.svg b/calendar/templates/pixelegg/images/multiweek.svg similarity index 98% rename from calendar/templates/pixelegg/images/mutliweek.svg rename to calendar/templates/pixelegg/images/multiweek.svg index 917a9b2060..19af0085ca 100644 --- a/calendar/templates/pixelegg/images/mutliweek.svg +++ b/calendar/templates/pixelegg/images/multiweek.svg @@ -1,7 +1,7 @@ - + diff --git a/calendar/templates/pixelegg/images/planner.svg b/calendar/templates/pixelegg/images/planner.svg new file mode 100644 index 0000000000..339300c64a --- /dev/null +++ b/calendar/templates/pixelegg/images/planner.svg @@ -0,0 +1,23 @@ + + + + + + + + + + diff --git a/calendar/templates/pixelegg/images/today.svg b/calendar/templates/pixelegg/images/today.svg new file mode 100644 index 0000000000..656cb1b514 --- /dev/null +++ b/calendar/templates/pixelegg/images/today.svg @@ -0,0 +1,17 @@ + + + + + + + + + + +