2016-01-03 15:33:51 +01:00
|
|
|
from django.conf.urls import url
|
2013-03-01 17:13:12 +01:00
|
|
|
|
2013-09-25 10:01:01 +02:00
|
|
|
from . import views
|
2013-03-01 17:13:12 +01:00
|
|
|
|
2016-01-03 15:33:51 +01:00
|
|
|
urlpatterns = [
|
2015-09-24 21:28:30 +02:00
|
|
|
url(r'^core/servertime/$',
|
|
|
|
views.ServerTime.as_view(),
|
|
|
|
name='core_servertime'),
|
|
|
|
|
2015-06-18 21:48:20 +02:00
|
|
|
url(r'^core/version/$',
|
|
|
|
views.VersionView.as_view(),
|
|
|
|
name='core_version'),
|
2015-06-17 09:45:00 +02:00
|
|
|
|
2016-09-09 00:50:27 +02:00
|
|
|
url(r'^webclient/(?P<realm>site|projector)/$',
|
|
|
|
views.WebclientJavaScriptView.as_view(),
|
|
|
|
name='core_webclient_javascript'),
|
2015-07-01 17:48:41 +02:00
|
|
|
|
2016-08-25 16:40:34 +02:00
|
|
|
# View for the projectors are handled by angular.
|
2016-09-12 11:05:34 +02:00
|
|
|
url(r'^projector/(\d+)/$', views.ProjectorView.as_view()),
|
2015-06-17 09:45:00 +02:00
|
|
|
|
2016-08-25 16:40:34 +02:00
|
|
|
# Original view without resolutioncontrol for the projectors are handled by angular.
|
2016-09-12 11:05:34 +02:00
|
|
|
url(r'^real-projector/(\d+)/$', views.RealProjectorView.as_view()),
|
2016-08-25 16:40:34 +02:00
|
|
|
|
2015-06-17 09:45:00 +02:00
|
|
|
# Main entry point for all angular pages.
|
|
|
|
# Has to be the last entry in the urls.py
|
2018-01-16 16:02:23 +01:00
|
|
|
url(r'^.*$', views.IndexView.as_view(), name="index"),
|
2016-08-19 14:44:58 +02:00
|
|
|
|
2016-01-03 15:33:51 +01:00
|
|
|
]
|