17 changed files with 81 additions and 82 deletions
@ -1,6 +1,6 @@
|
||||
include Makefile |
||||
recursive-include img *.png |
||||
recursive-include pretalx_lower_thirds *.py |
||||
recursive-include pretalx_lower_thirds/locale * |
||||
recursive-include pretalx_lower_thirds/static * |
||||
recursive-include pretalx_lower_thirds/templates * |
||||
recursive-include pretalx_broadcast_tools *.py |
||||
recursive-include pretalx_broadcast_tools/locale * |
||||
recursive-include pretalx_broadcast_tools/static * |
||||
recursive-include pretalx_broadcast_tools/templates * |
||||
|
@ -0,0 +1,21 @@
|
||||
from django.apps import AppConfig |
||||
from django.utils.translation import gettext_lazy |
||||
|
||||
|
||||
class PluginApp(AppConfig): |
||||
name = "pretalx_broadcast_tools" |
||||
verbose_name = "Broadcasting Tools" |
||||
|
||||
class PretalxPluginMeta: |
||||
name = gettext_lazy("Broadcasting Tools") |
||||
author = "kunsi" |
||||
description = gettext_lazy( |
||||
"Some tools which can be used for supporting a broadcasting " |
||||
"software, for example a 'lower third' page which can be " |
||||
"embedded into your broadcasting software" |
||||
) |
||||
visible = True |
||||
version = "0.1.2" |
||||
|
||||
def ready(self): |
||||
from . import signals # NOQA |
@ -0,0 +1,27 @@
|
||||
from django.urls import re_path |
||||
from pretalx.event.models.event import SLUG_CHARS |
||||
|
||||
from . import views |
||||
|
||||
urlpatterns = [ |
||||
re_path( |
||||
f"^(?P<event>[{SLUG_CHARS}]+)/p/broadcast-tools/lower-thirds/$", |
||||
views.BroadcastToolsLowerThirdsView.as_view(), |
||||
name="lowerthirds", |
||||
), |
||||
re_path( |
||||
f"^(?P<event>[{SLUG_CHARS}]+)/p/broadcast-tools/event.json$", |
||||
views.BroadcastToolsEventInfoView.as_view(), |
||||
name="event_info", |
||||
), |
||||
re_path( |
||||
f"^(?P<event>[{SLUG_CHARS}]+)/p/broadcast-tools/schedule.json$", |
||||
views.BroadcastToolsScheduleView.as_view(), |
||||
name="schedule", |
||||
), |
||||
re_path( |
||||
f"^orga/event/(?P<event>[{SLUG_CHARS}]+)/settings/p/broadcast-tools/$", |
||||
views.BroadcastToolsOrgaView.as_view(), |
||||
name="orga", |
||||
), |
||||
] |
@ -1,21 +0,0 @@
|
||||
from django.apps import AppConfig |
||||
from django.utils.translation import gettext_lazy |
||||
|
||||
|
||||
class PluginApp(AppConfig): |
||||
name = "pretalx_lower_thirds" |
||||
verbose_name = "Lower Thirds" |
||||
|
||||
class PretalxPluginMeta: |
||||
name = gettext_lazy("Lower Thirds") |
||||
author = "kunsi" |
||||
description = gettext_lazy( |
||||
"Creates lower thirds from your current schedule. Will show " |
||||
"speaker names and talk title using the configured track and " |
||||
"event colours." |
||||
) |
||||
visible = True |
||||
version = "0.0.0" |
||||
|
||||
def ready(self): |
||||
from . import signals # NOQA |
@ -1,27 +0,0 @@
|
||||
from django.urls import re_path |
||||
from pretalx.event.models.event import SLUG_CHARS |
||||
|
||||
from . import views |
||||
|
||||
urlpatterns = [ |
||||
re_path( |
||||
f"^(?P<event>[{SLUG_CHARS}]+)/p/lower-thirds/$", |
||||
views.LowerThirdsView.as_view(), |
||||
name="lowerthirds", |
||||
), |
||||
re_path( |
||||
f"^(?P<event>[{SLUG_CHARS}]+)/p/lower-thirds/event.json$", |
||||
views.EventInfoView.as_view(), |
||||
name="event_info", |
||||
), |
||||
re_path( |
||||
f"^(?P<event>[{SLUG_CHARS}]+)/p/lower-thirds/schedule.json$", |
||||
views.ScheduleView.as_view(), |
||||
name="schedule", |
||||
), |
||||
re_path( |
||||
f"^orga/event/(?P<event>[{SLUG_CHARS}]+)/p/lower-thirds/$", |
||||
views.LowerThirdsOrgaView.as_view(), |
||||
name="orga", |
||||
), |
||||
] |
Loading…
Reference in new issue