2024-10-31 20:22:35 +00:00
|
|
|
from django.urls import include, path
|
2021-11-22 11:09:01 +00:00
|
|
|
|
2023-09-30 10:39:30 +00:00
|
|
|
from .views.event_info import BroadcastToolsEventInfoView
|
|
|
|
from .views.orga import BroadcastToolsOrgaView
|
|
|
|
from .views.qr import BroadcastToolsFeedbackQrCodeSvg, BroadcastToolsPublicQrCodeSvg
|
|
|
|
from .views.schedule import BroadcastToolsScheduleView
|
|
|
|
from .views.static_html import BroadcastToolsLowerThirdsView, BroadcastToolsRoomInfoView
|
2021-11-22 11:09:01 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2024-10-31 20:22:35 +00:00
|
|
|
path(
|
|
|
|
"<slug:event>/p/broadcast-tools/",
|
|
|
|
include(
|
|
|
|
[
|
|
|
|
path(
|
|
|
|
"event.json",
|
|
|
|
BroadcastToolsEventInfoView.as_view(),
|
|
|
|
name="event_info",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"schedule.json",
|
|
|
|
BroadcastToolsScheduleView.as_view(),
|
|
|
|
name="schedule",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"lower-thirds/",
|
|
|
|
BroadcastToolsLowerThirdsView.as_view(),
|
|
|
|
name="lowerthirds",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"feedback-qr/<talk>.svg",
|
|
|
|
BroadcastToolsFeedbackQrCodeSvg.as_view(),
|
|
|
|
name="feedback_qr_id",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"public-qr/<talk>.svg",
|
|
|
|
BroadcastToolsPublicQrCodeSvg.as_view(),
|
|
|
|
name="public_qr_id",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"room-info/",
|
|
|
|
BroadcastToolsRoomInfoView.as_view(),
|
|
|
|
name="room_info",
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
2021-11-22 11:09:01 +00:00
|
|
|
),
|
2024-10-31 20:22:35 +00:00
|
|
|
path(
|
|
|
|
"orga/event/<slug:event>/settings/p/broadcast-tools/",
|
2023-09-30 10:39:30 +00:00
|
|
|
BroadcastToolsOrgaView.as_view(),
|
2021-11-22 11:09:01 +00:00
|
|
|
name="orga",
|
|
|
|
),
|
|
|
|
]
|