forked from Decentrala/website
Compare commits
No commits in common. "e118b49e8e8e79130824033cfb75ad595856aa65" and "e17f94e214da307a40f08538cc03853ee2940f92" have entirely different histories.
e118b49e8e
...
e17f94e214
@ -1,4 +1,4 @@
|
||||
datum, vreme, lokacija, tema, tip, link
|
||||
datum, vreme, lokacija, tema, tip,
|
||||
20-12-2022, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u računarske mreže, ,
|
||||
03-01-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Hackathon žurka, hack,
|
||||
16-01-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Privatnost na internetu, workshop,
|
||||
@ -121,7 +121,7 @@ datum, vreme, lokacija, tema, tip, link
|
||||
19-03-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u PCB, ,
|
||||
25-03-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Arduino, workshop,
|
||||
26-03-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, (La)TeX, lecture,
|
||||
01-04-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, La Jetée (1962), movie, https://en.wikipedia.org/wiki/La_Jet%C3%A9e
|
||||
01-04-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, La Jetée, movie,
|
||||
01-04-2024, 20:00, DC Krov https://www.openstreetmap.org/node/10594728522, Decentrala sastanak (ideološki), meeting,
|
||||
02-04-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Lightning talks, lighting,
|
||||
02-04-2024, 21:00, DC Krov https://www.openstreetmap.org/node/10594728522, Decentrala sastanak (strateški), meeting,
|
||||
@ -137,14 +137,14 @@ datum, vreme, lokacija, tema, tip, link
|
||||
30-04-2024, 20:00, DC Krov https://www.openstreetmap.org/node/10594728522, Radna grupa Konferencija, meeting,
|
||||
06-05-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Sysadmin obuka (proxmox instalacija), workshop,
|
||||
07-05-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Free software vs open source, lecture,
|
||||
13-05-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Alphaville (1965), movie, https://en.wikipedia.org/wiki/Alphaville_(film)
|
||||
13-05-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Alphaville (1965), movie,
|
||||
14-05-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Lightning talks, lighting,
|
||||
20-05-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Sysadmin obuka (ssl cronjob scp), lecture,
|
||||
21-05-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Hakaton (radna akcija), hack,
|
||||
27-05-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Home-made SoC #3, lecture,
|
||||
28-05-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Mesečna revizija, meeting,
|
||||
02-06-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Sysadmin obuka (ejabberd/xmpp server), workshop,
|
||||
03-06-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Pi (1998), movie, https://en.wikipedia.org/wiki/Pi_(film)
|
||||
03-06-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Pi (1998), movie,
|
||||
04-06-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Hardverski hakaton, hack,
|
||||
09-06-2024, 14:00, DC Krov https://www.openstreetmap.org/node/10594728522, Game Jam, hack,
|
||||
10-06-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Obrada prirodnih jezika kroz Python, lecture,
|
||||
@ -153,7 +153,7 @@ datum, vreme, lokacija, tema, tip, link
|
||||
18-06-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Softverski hakaton, hack,
|
||||
24-06-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Home-made SoC #4, lecture,
|
||||
25-06-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Mesečna bleja i revizija, meeting,
|
||||
29-06-2024, 20:00, Dunavski park https://osm.org/go/xf3SLRlmR-, Uticaj tehnologije na prirodu, discussion, https://forum.dmz.rs/t/uticaj-tehnologije-na-prirodu/616
|
||||
29-06-2024, 20:00, Dunavski park https://osm.org/go/xf3SLRlmR-, Uticaj tehnologije na prirodu, discussion,
|
||||
30-06-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Sysadmin obuka (ldap server/nalozi korisnika), workshop,
|
||||
01-07-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, 1984 (1956), movie
|
||||
02-07-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Open-source SoC, lecture,
|
||||
@ -161,8 +161,7 @@ datum, vreme, lokacija, tema, tip, link
|
||||
08-07-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Lightning talks, lighting,
|
||||
09-07-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Hakaton, hack,
|
||||
12-07-2024, 15:00, KC Gnezdo https://osm.org/go/xftd8rbl2, Uticaj tehnologije na kulturu, lecture,
|
||||
14-07-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Napadi na veštačku inteligenciju, lecture discussion
|
||||
29-07-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, OnionShare, lecture, https://forum.dmz.rs/t/plan-za-jul-2024/612/17?u=mkevac
|
||||
30-07-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, CryptoPals #1, workshop, https://forum.dmz.rs/t/cryptopals-u-decentrali/620
|
||||
15-08-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, GETÖSEFÖHN, music
|
||||
15-09-2024, 12:00, KC Magacin https://www.openstreetmap.org/node/1226456745#map=19/44.81314/20.45378, Dekonferencija, conference, https://dmz.rs/deconference
|
||||
14-07-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Napadi na vestacku inteligenciju, lecture discussion
|
||||
29-07-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, OnionShare, lecture
|
||||
30-07-2024, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, CryptoPals #1, workshop
|
||||
15-09-2024, 12:00, KC Magacin https://www.openstreetmap.org/node/1226456745#map=19/44.81314/20.45378, Dekonferencija, conference,
|
||||
|
Can't render this file because it has a wrong number of fields in line 30.
|
11
prep.py
11
prep.py
@ -14,7 +14,6 @@ TYPES_DICT = {
|
||||
"movie": ("film", "movie"),
|
||||
"meeting": ("sastanak", "meeting"),
|
||||
"conference": ("konferencija", "conference"),
|
||||
"music": ("svirka", "gig"),
|
||||
}
|
||||
|
||||
def load_events(csv_path:str) -> list[dict]:
|
||||
@ -29,16 +28,11 @@ def load_events(csv_path:str) -> list[dict]:
|
||||
event_location = event[2]
|
||||
event_title = event[3]
|
||||
types = event[4].split()
|
||||
try:
|
||||
link = event[5]
|
||||
except IndexError:
|
||||
link = ""
|
||||
current_event = {"date":event_date_parsed,
|
||||
"time":event_time,
|
||||
"location": event_location,
|
||||
"title":event_title.strip(),
|
||||
"types": types,
|
||||
"link": link}
|
||||
"types": types }
|
||||
events.append(current_event)
|
||||
return events
|
||||
|
||||
@ -52,9 +46,6 @@ def build_html(events: list[dict], dayNames: list[str], typesNames: dict) -> str
|
||||
time = event["time"]+"h"
|
||||
event_html = []
|
||||
event_html.append(f"<div class='date'>{date} {time}</div>")
|
||||
if event["link"] != "":
|
||||
event_html.append(f"<div class='title'><a href=\"{event['link']}\">{title}</a></div>")
|
||||
else:
|
||||
event_html.append(f"<div class='title'>{title}</div>")
|
||||
if "https://" in location:
|
||||
place,link = location.split("https://")
|
||||
|
Loading…
Reference in New Issue
Block a user