dms/templates/base.html

83 lines
3.1 KiB
HTML

{% load static %}<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}DMS{% endblock %}</title>
<link ref="stylesheet" href="{% static 'semantic/semantic.css' %}">
<link ref="stylesheet" href="{% static 'semantic/components/reset.css' %}">
<link ref="stylesheet" href="{% static 'semantic/components/site.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'semantic/components/container.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'semantic/components/grid.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'semantic/components/header.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'semantic/components/image.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'semantic/components/menu.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'semantic/components/divider.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'semantic/components/list.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'semantic/components/segment.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'semantic/components/dropdown.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'semantic/components/icon.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'semantic/components/card.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'semantic/components/progress.css' %}">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
{% block stylesheet %}{% endblock %}
<style type="text/css">
body {
background-color: #FFFFFF;
}
.ui.menu .item img.logo {
margin-right: 1.5em;
}
.main {
margin-top: 7em;
}
.wireframe {
margin-top: 2em;
}
.ui.footer.segment {
margin: 5em 0em 0em;
padding: 5em 0em;
}
</style>
</head>
<body>
<div class="ui fixed menu">
<a href="#" class="header item">
DMS
</a>
<a class="item" href="/jci">Dashboard</a>
<a class="item" href="/docs">Documents</a>
<a class="item" href="{% url 'user_tasks' %}">Tâches</a>
{% block "navigation" %} {% endblock %}
<div class="ui right search item">
<div class="ui transparent icon input">
<form action="{% url 'docs_home' %}" method="get">
<input class="prompt" placeholder="Rechercher..." type="text" name="q">
<i class="search link icon"></i>
</form>
</div>
<div class="results"></div>
</div>
</div>
</div>
<div class="main">
<div class="ui two column stackable grid">
<div class="three wide column">
{% block "content_navigation" %}{% endblock %}
</div>
<div class="nine wide colum">
{% block "content" %}{% endblock %}
</div>
</div>
</div>
<script src="{% static 'semantic/semantic.min.js' %}"></script>
{% block javascript %}{% endblock %} <!-- Add this empty block here! -->
</body>
</html>