1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2024-11-15 10:05:49 +00:00
pretalx-plugin-broadcast-tools/pretalx_broadcast_tools/urls.py

68 lines
2.2 KiB
Python
Raw Normal View History

from django.urls import include, path
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
2024-11-03 13:44:12 +00:00
from .views.static_html import (
BroadcastToolsLowerThirdsView,
BroadcastToolsRoomInfoView,
BroadcastToolsRoomTimerView,
)
from .views.voctomix_export import BroadcastToolsLowerThirdsVoctomixDownloadView
urlpatterns = [
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(
"lower-thirds.voctomix.tar.gz",
BroadcastToolsLowerThirdsVoctomixDownloadView.as_view(),
name="lowerthirds_voctomix_download",
),
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",
),
2024-11-03 13:44:12 +00:00
path(
"room-timer/",
BroadcastToolsRoomTimerView.as_view(),
name="room_timer",
),
],
),
),
path(
"orga/event/<slug:event>/settings/p/broadcast-tools/",
2023-09-30 10:39:30 +00:00
BroadcastToolsOrgaView.as_view(),
name="orga",
),
]