= htmlspecialchars($event->getName(), ENT_COMPAT, 'utf-8'); ?>
diff --git a/Theme/Backend/css/styles.css b/Theme/Backend/css/styles.css
index 1eb3e5a..a90a1c8 100644
--- a/Theme/Backend/css/styles.css
+++ b/Theme/Backend/css/styles.css
@@ -54,9 +54,13 @@
overflow: hidden; }
.m-calendar .event-time {
font-size: 0.7rem; }
- .m-calendar .other-month {
- background: #f5f5f5;
+ .m-calendar .day {
+ background: #fff;
color: #666; }
+ .m-calendar .day.other-month {
+ background: #dfdfdf; }
+ .m-calendar.m-calendar-mini .days li {
+ height: auto; }
@media (max-width: 768px) {
.m-calendar .weekdays, .m-calendar .other-month {
diff --git a/Theme/Backend/css/styles.scss b/Theme/Backend/css/styles.scss
index 0adb471..fc9b908 100644
--- a/Theme/Backend/css/styles.scss
+++ b/Theme/Backend/css/styles.scss
@@ -77,9 +77,19 @@
font-size: 0.7rem;
}
- .other-month {
- background: #f5f5f5;
+ .day {
+ background: #fff;
color: #666;
+
+ &.other-month {
+ background: #dfdfdf;
+ }
+ }
+
+ &.m-calendar-mini {
+ .days li {
+ height: auto;
+ }
}
}
diff --git a/Theme/Backend/dashboard-calendar.tpl.php b/Theme/Backend/dashboard-calendar.tpl.php
index 4661265..ea6f4c7 100644
--- a/Theme/Backend/dashboard-calendar.tpl.php
+++ b/Theme/Backend/dashboard-calendar.tpl.php
@@ -1,7 +1,7 @@
getData('calendar');
?>
-
getData('calendar');
= $this->getHtml('Friday'); ?>
= $this->getHtml('Saturday'); ?>
- getDate()->format('Y') . '-' . $calendar->getDate()->format('m') . '-' . '01');
- for($i = 0; $i < 6; $i++) : ?>
-
-
+ getDate()->getMonthCalendar(0); $isActiveMonth = false;
+ for($i = 0; $i < 6; $i++) : ?>
+
+
+
+ -
+
= $current[$i*7+$j]; ?>
+
+ -
+
= $current[$i*7+$j]; ?>
+
+ getEventByDate(new \DateTime('now'));
+ foreach($events as $event) : ?>
+
+
= htmlspecialchars($event->getName(), ENT_COMPAT, 'utf-8'); ?>
+
2:00pm to 5:00pm
+
+
+
+
+
+