update 2025-04-14
This commit was merged in pull request #10.
This commit is contained in:
@@ -32,6 +32,15 @@ class Home(rio.Component):
|
||||
margin_bottom=1,
|
||||
margin_right=1
|
||||
),
|
||||
comps.build_news_post(
|
||||
header="Meter-Meister EZ GG !",
|
||||
article_text_path_or_text=from_root("ezgg_website/assets/news_14_04_25.md"),
|
||||
date="14.04.2025",
|
||||
images=[NewsPostImage(
|
||||
from_root("ezgg_website/assets/meterpokal.jpg"),
|
||||
"https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=133f2828-15c6-4105-acdb-272da9774a3f&photo_nr=18"
|
||||
)],
|
||||
),
|
||||
comps.build_news_post(
|
||||
header="Hier kommt die EZ-LAN",
|
||||
article_text_path_or_text=from_root("ezgg_website/assets/news_27_03_25.md"),
|
||||
|
||||
@@ -24,10 +24,11 @@ class Pics(rio.Component):
|
||||
if self.active_picture is None:
|
||||
grid = rio.Grid(row_spacing=0.4, column_spacing=0.5, margin_right=1)
|
||||
for i, link in enumerate(self.session[services.DatabaseService].get_picture_paths()):
|
||||
thumbnail_link = rio.URL(str(link) + "&thumb=1")
|
||||
grid.add(
|
||||
rio.Button(
|
||||
rio.Image(
|
||||
link,
|
||||
thumbnail_link,
|
||||
height=12,
|
||||
width=12
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user