Add basic structure for public dashboard
This commit is contained in:
parent
2a3ef33f62
commit
2f9adbb11c
|
@ -72,6 +72,7 @@
|
||||||
{% block head %}{% endblock %}
|
{% block head %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body class="is-flex is-flex-direction-column">
|
<body class="is-flex is-flex-direction-column">
|
||||||
|
{% block everything %}
|
||||||
<nav class="navbar">
|
<nav class="navbar">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-brand">
|
<div class="navbar-brand">
|
||||||
|
@ -143,5 +144,6 @@
|
||||||
}, false);
|
}, false);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
{% endblock %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block everything %}
|
||||||
|
{% endblock %}
|
|
@ -3,4 +3,6 @@ from django.urls import path
|
||||||
from . import views
|
from . import views
|
||||||
|
|
||||||
app_name = "signage"
|
app_name = "signage"
|
||||||
urlpatterns = []
|
urlpatterns = [
|
||||||
|
path("public/", views.public_dashboard, name="public_dashboard"),
|
||||||
|
]
|
||||||
|
|
|
@ -1 +1,4 @@
|
||||||
|
from django.shortcuts import render
|
||||||
|
|
||||||
|
def public_dashboard(request):
|
||||||
|
return render(request, "public_dashboard.html", {})
|
||||||
|
|
|
@ -21,7 +21,7 @@ urlpatterns = [
|
||||||
path("", include("shiftregister.app.urls")),
|
path("", include("shiftregister.app.urls")),
|
||||||
path("", include("shiftregister.pages.urls")),
|
path("", include("shiftregister.pages.urls")),
|
||||||
path("team/", include("shiftregister.team.urls")),
|
path("team/", include("shiftregister.team.urls")),
|
||||||
path("team/", include("shiftregister.signage.urls")),
|
|
||||||
path("team/", include("shiftregister.fallback.urls")),
|
path("team/", include("shiftregister.fallback.urls")),
|
||||||
|
path("dashboard/", include("shiftregister.signage.urls")),
|
||||||
path("admin/", admin.site.urls),
|
path("admin/", admin.site.urls),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue