aboutsummaryrefslogtreecommitdiffstats
path: root/templates/registration/base.html
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2020-08-31 13:46:00 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2020-08-31 13:46:00 +0200
commitc46671ed9306eebb66322487ab600e070b2a81c6 (patch)
tree9fb917db87c003642f94c459a172fe36b19fea82 /templates/registration/base.html
parentdynamicaly check for commit id (diff)
downloadscout-subs-c46671ed9306eebb66322487ab600e070b2a81c6.tar.gz
scout-subs-c46671ed9306eebb66322487ab600e070b2a81c6.zip
graghics improvement for mobile, and more modular
Diffstat (limited to 'templates/registration/base.html')
-rw-r--r--templates/registration/base.html45
1 files changed, 0 insertions, 45 deletions
diff --git a/templates/registration/base.html b/templates/registration/base.html
deleted file mode 100644
index e2885cd..0000000
--- a/templates/registration/base.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- {% load static %}
- <link rel="stylesheet" type="text/css" href="{% static 'material_icons.css' %}">
- <link rel="stylesheet" type="text/css" href="{% static 'materialize.min.css' %}">
- <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
- <meta charset="utf-8">
- <title>{% block title %}Scout Brega{% endblock %}</title>
-</head>
-<body>
- <nav>
- <div class="nav-wrapper red lighten-1">
- {% block nav %}
- {% endblock %}
- <ul class="right">
- {% if user.is_staff or perms.client.staff %}
- <li><a href="{% url 'server' %}">Pannello Admin</a></li>
- {% endif %}
- {% if user.is_authenticated %}
- <li><a href="{% url 'personal' %}">{{ user.username }}</a></li>
- {% endif %}
- {% if user.username != "" %}
- <li>
- <a href="{% url 'logout' %}"><i class="material-icons">exit_to_app</i></a>
- </li>
- {% else %}
- <li><a href="{% url 'signup' %}">Registrazione</a></li>
- <li><a href="{% url 'login' %}">Login</a></li>
- {% endif %}
- </ul>
- </div>
- </nav>
- <main style="margin-left: 10px;margin-right: 10px;margin-top: 10px;">
- {% block content %}
- {% endblock %}
- </main>
- <script type="text/javascript" src="{% static 'jquery-3.5.1.min.js' %}"></script>
- <script type="text/javascript" src="{% static 'materialize.min.js' %}"></script>
- <script>
- {% block script %}
- {% endblock%}
- </script>
-</body>
-</html> \ No newline at end of file