Add lunch menus dashboard with week-view school calendars.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
# Lunch Menus — school cafeteria calendars (one week each)
|
||||
#
|
||||
# Three Google Calendar entities, each shown in listWeek so the wall/panel
|
||||
# view stays focused on the current week instead of a full month grid.
|
||||
title: Lunch Menus
|
||||
theme: cubecraft
|
||||
views:
|
||||
- title: Lunch Menus
|
||||
path: lunch-menus
|
||||
icon: mdi:food-apple
|
||||
theme: cubecraft
|
||||
type: masonry
|
||||
cards:
|
||||
- type: markdown
|
||||
content: |
|
||||
# School Lunch Menus
|
||||
## Week of {{ now().strftime("%B %d, %Y") }}
|
||||
card_mod:
|
||||
style: |
|
||||
ha-card {
|
||||
background: var(--cc-gradient);
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: var(--cc-radius-brand);
|
||||
box-shadow: var(--cc-shadow-brand);
|
||||
padding: 6px 12px;
|
||||
text-align: center;
|
||||
}
|
||||
ha-card h1 {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.02em;
|
||||
opacity: 0.85;
|
||||
color: #fff;
|
||||
}
|
||||
ha-card h2 {
|
||||
margin: 2px 0 0 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.01em;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
- type: calendar
|
||||
title: BHS Lunch Menu
|
||||
initial_view: listWeek
|
||||
entities:
|
||||
- calendar.bhs_lunch_menu
|
||||
card_mod: &cc_calendar
|
||||
style: |
|
||||
ha-card {
|
||||
--calendar-day-color: var(--cc-text, var(--primary-text-color));
|
||||
--calendar-day-weekday-color: var(--cc-text-muted, var(--secondary-text-color));
|
||||
--fc-today-bg-color: var(--cc-accent-soft);
|
||||
--fc-event-bg-color: var(--cc-accent);
|
||||
--fc-event-border-color: var(--cc-accent);
|
||||
}
|
||||
|
||||
- type: calendar
|
||||
title: BIS School Lunches
|
||||
initial_view: listWeek
|
||||
entities:
|
||||
- calendar.bis_school_lunches
|
||||
card_mod: *cc_calendar
|
||||
|
||||
- type: calendar
|
||||
title: HMS Lunch Menu
|
||||
initial_view: listWeek
|
||||
entities:
|
||||
- calendar.hms_lunch_menu
|
||||
card_mod: *cc_calendar
|
||||
Reference in New Issue
Block a user