wagtail-bakerydemo/bakerydemo/templates/base.html

167 wiersze
6.4 KiB
HTML
Executable File

{% load navigation_tags static wagtailuserbar %}
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>
{% block title %}
{% block title_prefix %}
Wagtail demo bakery
{% endblock %}
{% if self.seo_title %}
{{ self.seo_title }}
{% else %}
{{ self.title }}
{% endif %}
{% endblock %}
</title>
<meta name="description" content="{% if self.search_description %}{{ self.search_description }}{% endif %}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap Core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Custom Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- Theme CSS -->
{# <link href="css/clean-blog.min.css" rel="stylesheet">#}
<link rel="stylesheet" type="text/css" href="{% static 'css/main.css' %}">
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
{% wagtailuserbar %}
<div class="container">
<div class="row">
<div class="site-title col-lg-7 col-lg-offset-2">
<div class="col-lg-8">
<div class="navbar-header page-scroll">
<h1><a class="title" href="/">Wagtail Bakery Demo 🍞</a></h1>
</div>
</div>
<form class="col-lg-4 navbar-form navbar-right">
<div class="form-group">
<input type="text" class="form-control" placeholder="Search">
</div>
<button type="submit" class="btn btn-default">
<span class="glyphicon glyphicon-search"></span>
</button>
</form>
</div>
</div>
</div>
{% if messages %}
<div>
<ul class="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
<div class="container">
<div class="row">
<div class="col-lg-7 col-lg-offset-2">
{% block main_navigation %}
{% get_site_root as site_root %}
{% top_menu parent=site_root calling_page=self %}
{# main_menu is defined in base/templatetags/navigation_tags.py #}
{% endblock %}
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-7 col-lg-offset-2">
{% block breadcrumbs %}
{% breadcrumbs %}
{# breadcrumbs is defined in base/templatetags/navigation_tags.py #}
{% endblock %}
</div>
</div>
</div>
<content>
<div class="container">
<div class="row">
<div class="col-lg-2"></div>
<div class="col-lg-7">
{% block content %}
{% endblock %}
</div>
</div>
</div>
</content>
<hr>
<!-- Footer -->
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
<li>
<a href="#">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a href="#">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a href="#">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
</ul>
<p class="copyright text-center text-muted">{% get_footer_text %}</p>
</div>
</div>
</div>
</footer>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- Theme JavaScript -->
<script src="{% static 'js/clean-blog.min.js' %}"></script>
</body>
</html>