Implemented new panel-template
This commit is contained in:
parent
6dd6de16ce
commit
94591ec51e
3 changed files with 8 additions and 2 deletions
4
Calendar/AgendaListPanel.py
Normal file
4
Calendar/AgendaListPanel.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
from PanelDesign import PanelDesign
|
||||
|
||||
class AgendaListPanel (PanelDesign):
|
||||
pass
|
|
@ -17,6 +17,7 @@ from settings import *
|
|||
from MonthOvPanel import MonthOvPanel
|
||||
from DayListPanel import DayListPanel
|
||||
from DayViewPanel import DayViewPanel
|
||||
from AgendaListPanel import AgendaListPanel
|
||||
import OwmForecasts
|
||||
import IcalEvents
|
||||
import RssParserPosts
|
||||
|
@ -43,7 +44,8 @@ if render_to_display:
|
|||
available_panels = {
|
||||
"day-list" : DayListPanel,
|
||||
"month-overview" : MonthOvPanel,
|
||||
"day-view" : DayViewPanel
|
||||
"day-view" : DayViewPanel,
|
||||
"agenda-list" : AgendaListPanel
|
||||
}
|
||||
|
||||
loop_timer = LoopTimer(update_interval, run_on_hour=True)
|
||||
|
|
|
@ -24,7 +24,7 @@ update_interval = 60
|
|||
|
||||
"""DESIGN"""
|
||||
font_boldness = "semibold" # extralight, light, regular, semibold, bold, extrabold
|
||||
choosen_design = "month-overview" # month-overview, day-list, day-view
|
||||
choosen_design = "month-overview" # month-overview, day-list, day-view, agenda-list
|
||||
general_settings = { # General settings that designs may use
|
||||
"info-area" : "rss", # empty, events, rss
|
||||
"highlight-event-days" : True
|
||||
|
|
Loading…
Reference in a new issue