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 MonthOvPanel import MonthOvPanel
|
||||||
from DayListPanel import DayListPanel
|
from DayListPanel import DayListPanel
|
||||||
from DayViewPanel import DayViewPanel
|
from DayViewPanel import DayViewPanel
|
||||||
|
from AgendaListPanel import AgendaListPanel
|
||||||
import OwmForecasts
|
import OwmForecasts
|
||||||
import IcalEvents
|
import IcalEvents
|
||||||
import RssParserPosts
|
import RssParserPosts
|
||||||
|
@ -43,7 +44,8 @@ if render_to_display:
|
||||||
available_panels = {
|
available_panels = {
|
||||||
"day-list" : DayListPanel,
|
"day-list" : DayListPanel,
|
||||||
"month-overview" : MonthOvPanel,
|
"month-overview" : MonthOvPanel,
|
||||||
"day-view" : DayViewPanel
|
"day-view" : DayViewPanel,
|
||||||
|
"agenda-list" : AgendaListPanel
|
||||||
}
|
}
|
||||||
|
|
||||||
loop_timer = LoopTimer(update_interval, run_on_hour=True)
|
loop_timer = LoopTimer(update_interval, run_on_hour=True)
|
||||||
|
|
|
@ -24,7 +24,7 @@ update_interval = 60
|
||||||
|
|
||||||
"""DESIGN"""
|
"""DESIGN"""
|
||||||
font_boldness = "semibold" # extralight, light, regular, semibold, bold, extrabold
|
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
|
general_settings = { # General settings that designs may use
|
||||||
"info-area" : "rss", # empty, events, rss
|
"info-area" : "rss", # empty, events, rss
|
||||||
"highlight-event-days" : True
|
"highlight-event-days" : True
|
||||||
|
|
Loading…
Reference in a new issue