symposion_app/pinaxcon/templates/site_base.html
Joel Addison 149b7c8a54 Improve proposal/review styling
Use correct block for page titles. Fix element styles to be consistent
across site. Use fluid layout for review to enable sidebar.
2019-07-24 21:03:50 +10:00

129 lines
4.8 KiB
HTML

{% load staticfiles %}
{% load i18n %}
{% load sitetree %}
{% load sass_tags %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block head_title_base %}{% if SITE_NAME %}{{ SITE_NAME }} | {% endif %}{% block head_title %}{% endblock %}{% endblock %}</title>
<meta property="og:type" content="website" />
<meta property="og:title" content="linux.conf.au 2020" />
<meta property="og:image" content="{{ request.scheme }}://{{ request.get_host }}{% static 'assets/social.png' %}" />
<meta property="og:image:alt" content="linux.conf.au 2020 - Jan 13-17 2020, Gold Coast, Australia" />
{% block styles %}
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
<link href="{% sass_src 'scss/app.scss' %}" rel="stylesheet" type="text/css" />
{% block extra_style %}{% endblock %}
{% endblock %}
{% block extra_head_base %}
{% block extra_head %}{% endblock %}
{% endblock %}
</head>
<body class="{% block body_class %}{% endblock %}">
{% block template_overrides %}{% endblock %}
<header class="clearfix hidden-print">
{% block alert %}{% endblock %}
{% block navbar %}{% include 'nav.html' %}{% endblock %}
</header>
{% if messages %}
<div class="container my-5 alert alert-primary">
<ul class="messagelist hidden-print list-unstyled">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
<main role="main" class="{% block main_class %}container{% endblock %}">
<h1 class="page-title mb-5">{% block page_title %}{% endblock %}</h1>
{% block body_base %}
{% block body_out %}
<div class="row">
<div class="col-md-12">
{% block body_outer %}
{% endblock %}
</div>
</div>
{% block content %}
{% endblock %}
{% endblock %}
{% endblock %}
{% block footer_base %}
{% block footer %}
{% endblock %}
{% endblock %}
{% block scripts %}
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="{% static 'js/app.js' %}" type="text/javascript"></script>
<script src="{% static 'js/jquery.formset.js' %}"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="{% static 'bootstrap/js/bootstrap.bundle.min.js' %}"></script>
{% if settings.ANALYTICS_KEY %}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ settings.ANALYTICS_KEY }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ settings.ANALYTICS_KEY }}');
</script>
{% else %}
<!--no-analytics-->
{% endif %}
{% block extra_script %}
{% endblock %}
{% block scripts_extra %}{% endblock %}
{% endblock %}
{% block extra_body_base %}
{% block extra_body %}
{% endblock %}
{% endblock %}
</main>
<footer class="footer mt-4">
<div class="container py-4">
<div class="row">
<div class="col-md-4 pb-4">
<strong>linux.conf.au 2020</strong> <br>
Jan 13-17 2020 <br>
Gold Coast, Australia <br>
<a href="mailto:contact@lca2020.linux.org.au" alt="Email"><i class="far fa-envelope"></i></a>&nbsp;&nbsp;
<a href="https://twitter.com/linuxconfau" alt="Twitter"><i class="fab fa-twitter"></i></a>&nbsp;&nbsp;
<a href="https://www.facebook.com/linuxconferenceaustralia/" alt="Facebook"><i class="fab fa-facebook"></i></a>
</div>
<div class="col-md-4 pb-4 text-center">
<img src="{% static 'lca/lca_horiz_colour.svg' %}" alt="linux.conf.au logo" class="footer-logo">
<a href="https://linux.org.au"><img src="{% static 'lca/la_logo.svg' %}" alt="Linux Australia logo" class="footer-image"></a>
</div>
<div class="col-md-4 pb-4 text-right">
<small>
<a href="#">Back to top</a><br>
&copy; 2019 linux.conf.au and <a href="http://linux.org.au/">Linux Australia</a><br>
Linux is a registered trademark of Linus Torvalds <br>
<a href="/colophon/">Colophon</a>
</small>
</div>
</div>
</div>
</footer>
</body>
</html>