add hamburger menu
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
{% load static %}
|
||||
|
||||
<!doctype html>
|
||||
<html class="no-js" lang="en">
|
||||
<head>
|
||||
@@ -8,18 +8,27 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>FET</title>
|
||||
<link rel="stylesheet" href="{% static 'app.css' %}">
|
||||
{% csrf_token %}
|
||||
{% block header %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body style="min-height:100%; position:relative">
|
||||
|
||||
<div class="top-bar" id="main-menu">
|
||||
<div class="top-bar-left"><a href="{% url 'home' %}">
|
||||
<img style="height:40px; width:40px" src="/assets/img/logo2014_64.png"/></a>
|
||||
|
||||
<div class="title-bar" data-responsive-toggle="example-menu" data-hide-for="large">
|
||||
<button class="menu-icon" type="button" data-toggle="example-menu"></button>
|
||||
<a href="{% url 'home' %}">
|
||||
<img style="height:40px; width:40px" src="/assets/img/logo2014_64.png"/>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="top-bar" id="example-menu">
|
||||
|
||||
<div class="top-bar-left show-for-large">
|
||||
<a href="{% url 'home' %}">
|
||||
<img style="height:40px; width:40px" src="/assets/img/logo2014_64.png"/>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="top-bar-right">
|
||||
<ul class="menu vertical medium-horizontal expanded medium-text-center">
|
||||
<ul class="dropdown vertical medium-horizontal menu" data-responsive-menu="drilldown medium-dropdown" data-animate-heigt="true">
|
||||
{% if request.user.is_authenticated %}
|
||||
Hallo {{request.user.username}}
|
||||
<li class=""><a href="/admin">Admin</a></li>
|
||||
@@ -35,17 +44,19 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
|
||||
<div class="grid-y footer" style="height:8em; bottom:-8em; position: absolute; right:0; left:0">
|
||||
|
||||
<div class="grid-x medium-padding-1 large-padding-left-2" style="">
|
||||
<div class="grid-x medium-padding-1 large-padding-left-2">
|
||||
<div class="cell">
|
||||
<ul class="no-bullet">
|
||||
<li><a href="{% url 'posts.show' 'impressum'%}">Impressum</a></li>
|
||||
</div>
|
||||
|
||||
<li><a href="{% url 'posts.show' 'impressum'%}">Impressum</a></li>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- App.js -->
|
||||
<script src="{%static 'app.js' %}"></script>
|
||||
|
||||
Reference in New Issue
Block a user