mirror of https://github.com/snachodog/mybuddy.git
Minor dashboard adjustments.
This commit is contained in:
parent
591f2fba52
commit
e1379b0bf4
|
@ -13,7 +13,7 @@
|
||||||
<div class="collapse navbar-collapse" id="navbarsExampleDefault">
|
<div class="collapse navbar-collapse" id="navbarsExampleDefault">
|
||||||
<ul class="navbar-nav mr-auto">
|
<ul class="navbar-nav mr-auto">
|
||||||
<li class="nav-item{% if request.path == '/' %} active{% endif %}">
|
<li class="nav-item{% if request.path == '/' %} active{% endif %}">
|
||||||
<a class="nav-link" href="{% url 'index' %}">
|
<a class="nav-link" href="{% url 'dashboard' %}">
|
||||||
<i class="fa fa-dashboard" aria-hidden="true"></i> Dashboard
|
<i class="fa fa-dashboard" aria-hidden="true"></i> Dashboard
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{% extends 'cards/diaperchange.html' %}
|
{% extends 'cards/diaperchange.html' %}
|
||||||
|
|
||||||
{% block header %}Diaper Change Types{% endblock %}
|
{% block header %}Diaper Changes{% endblock %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
<strong>Past 5 Days</strong>
|
<strong>Past 5 Days</strong>
|
||||||
|
|
|
@ -7,7 +7,7 @@ from . import views
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'^$', views.DashboardRedirect.as_view(), name='dashboard'),
|
url(r'^$', views.DashboardRedirect.as_view(), name='dashboard'),
|
||||||
url(r'^dashboard/$', views.Dashboard.as_view(), name='dashboard'),
|
url(r'^dashboard/$', views.Dashboard.as_view(), name='dashboard-all'),
|
||||||
url(r'children/(?P<slug>[^/.]+)/dashboard/$',
|
url(r'children/(?P<slug>[^/.]+)/dashboard/$',
|
||||||
views.ChildDashboard.as_view(), name='dashboard-child'),
|
views.ChildDashboard.as_view(), name='dashboard-child'),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue