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

69 lines
1.6 KiB

<!DOCTYPE html>
{% load static %}
<html lang="en">
<head>
<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>
</head>
<body>
<!-- Header -->
<!-- <header>
</header> -->
<div class="grid-x">
<!-- <div class="cell large-2 header">
</div> -->
<div class="cell large-6 large-offset-3 content">
<!-- Header -->
<header>
<div class="title">
<h1>
<!-- <img src="{% static 'image/icon_square.png' %}" alt="Poker Rumble icon" width="64" height="56"/> -->
<a href="{% url 'news:index' %}">poker rumble</a>
</h1>
</div>
<!-- <h2>HOME OF NEWS GRINDERS</h2> -->
<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>
<p>Copyright © 2019 Poker Rumble</p>
</footer>
</body>
</html>