You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
pokercc/news/templates/base.html

93 lines
2.7 KiB

<!DOCTYPE html>
{% load static %}
<html lang="en">
<head>
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
<link rel="stylesheet" type="text/css" href="{% static 'news/css/app.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'news/css/foundation.min.css' %}">
<link rel="shortcut icon" type="image/png" href="{% static 'image/favicon.png' %}"/>
<title>{% block title %}My amazing site{% endblock %}</title>
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//www.pokerrumble.net/matomo/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
</head>
<body>
<!-- Header -->
<!-- <header>
</header> -->
<div class="grid-x">
<div class="cell large-offset-3 large-6 medium-8 medium-offset-2 content container">
<!-- Header -->
<header>
<a href="{% url 'news:index' %}">
<img src="{% static 'image/icon128_transparent.png' %}" alt="Poker Rumble icon" width="96" height="96"/>
</a>
<div class="title">
<h1>
<a href="{% url 'news:index' %}">poker rumble</a>
</h1>
</div>
<nav>
{% if user.is_authenticated %}
<a href="{% url 'news:account' %}">{{ user.username }}</a> |
<!-- <br/> -->
{% if user.is_staff %}
<a href="{% url 'news:submission' %}">Submit</a> |
<!-- <br/> -->
{% endif %}
<a href="{% url 'news:logout_view' %}">Log out</a>
{% else %}
<a href="{% url 'news:signin' %}">Log in</a> |
<!-- <br/> -->
<a href="{% url 'news:register' %}">Create account</a>
{% endif %}
</nav>
</header>
<!-- Body -->
{% block content %}{% endblock %}
</div>
</div>
<!-- Footer -->
<footer>
<a href="{% url 'news:contact' %}">Contact</a>
<br/>
<a href="{% url 'news:about' %}">About</a>
<br/>
<a href="https://twitter.com/pokerrumble">Twitter</a>
<br/>
<a href="https://www.instagram.com/pokerrumble/">Instagram</a>
<p>Copyright © 2019 Poker Rumble</p>
</footer>
<!-- <script id="twitter-wjs" type="text/javascript" async defer src="//platform.twitter.com/widgets.js"></script> -->
</body>
</html>