symposion_app/pinaxcon/templates/site_base.html
Sachi King e86a811f38 Bootstrapification: SiteTree Nav Bar
Make sitetree a bootstrap navbar.

Remove mobile menu, bootstrap provides this.
2017-04-16 16:29:19 +10:00

83 lines
2.4 KiB
HTML
Executable file

<!-- site_base.html -->
{% load staticfiles %}
{% load metron_tags %}
{% load i18n %}
{% load sitetree %}
<!DOCTYPE html>
<html lang="en" class="no-js" manifest="{% static 'manifest.appcache' %}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<title>{% block head_title_base %}{% if SITE_NAME %}{{ SITE_NAME }} | {% endif %}{% block head_title %}{% endblock %}{% endblock %}</title>
{% block styles %}
<link href="{% static 'pyconau2017/css/bootstrap.css' %}" rel="stylesheet">
<link rel="stylesheet" href="{% static 'pyconau2017/css/app.css' %}">
<link rel="stylesheet" href="{% static 'pyconau2017/css/print.css' %}" media="print">
<link href="{% static 'pyconau2017/css/pyconau.css' %}" rel="stylesheet">
<link rel="icon" href="{% static 'pyconau2017/images/favicon.png' %}">
{% endblock %}
{% block extra_head_base %}
{% block extra_head %}{% endblock %}
{% endblock %}
</head>
<body class="{% block body_class %}{% endblock %}">
<div class="container">
{% block topbar_base %}
{% block nav %}
{% sitetree_menu from "main" include "trunk" template "sitetree_header.html" %}
{% endblock %}
{% endblock %}
<!-- site_base block body_base -->
{% block body_base %}
<!--div style="height: 100px;" /-->
<!--main role="main"-->
<!-- site_base block body -->
{% block body %}
<div class="container">
<div class="row">
<div class="col-md-1">
{% block body_outer %}
{% endblock %}
</div>
<div class="col-md-10" >
{% block content %}
{% endblock %}
</div>
</div>
</div>
{% endblock %}
<!-- site_base endblock body -->
<!--/main-->
<!--/div-->
{% endblock %}
<!-- site_base endblock body_base -->
{% block footer_base %}
<!-- footer class="l-footer l-footer__alt" -->
{% block footer %}
{% endblock %}
<!-- /footer -->
{% endblock %}
{% block scripts %}
{% block extra_script %}
{% endblock %}
{% endblock %}
{% block extra_body_base %}
{% block extra_body %}
{% endblock %}
{% endblock %}
</div>
</body>
</html>
<!-- end site_base.html -->