forked from rc/aircox
work hard on this
This commit is contained in:
34
aircox_web/templates/aircox_web/base.html
Normal file
34
aircox_web/templates/aircox_web/base.html
Normal file
@ -0,0 +1,34 @@
|
||||
{% load static thumbnail %}
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="application-name" content="aircox">
|
||||
<meta name="description" content="{{ site_settings.description }}">
|
||||
<meta name="keywords" content="{{ site_settings.tags }}">
|
||||
<link rel="icon" href="{% thumbnail site_settings.favicon 32x32 crop %}" />
|
||||
|
||||
{% block assets %}
|
||||
<link rel="stylesheet" type="text/css" href="{% static "aircox_web/assets/main.css" %}"/>
|
||||
<link rel="stylesheet" type="text/css" href="{% static "aircox_web/assets/vendor.css" %}"/>
|
||||
|
||||
<script src="{% static "aircox_web/assets/main.js" %}"></script>
|
||||
<script src="{% static "aircox_web/assets/vendor.js" %}"></script>
|
||||
{% endblock %}
|
||||
|
||||
<title>{% block title %}{{ site_settings.title }}{% endblock %}</title>
|
||||
|
||||
{% block extra_head %}{% endblock %}
|
||||
</head>
|
||||
<body id="app">
|
||||
<nav class="navbar" role="navigation" aria-label="main navigation">
|
||||
</nav>
|
||||
|
||||
<main>
|
||||
{% block main %}
|
||||
|
||||
{% endblock main %}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
8
aircox_web/templates/aircox_web/page.html
Normal file
8
aircox_web/templates/aircox_web/page.html
Normal file
@ -0,0 +1,8 @@
|
||||
{% extends "aircox_web/base.html" %}
|
||||
|
||||
{% block title %}{{ page.title }} -- {{ block.super }}{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<h1 class="title">{{ page.title }}</h1>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user