move templates aroudn to satisfy packaging now that it's being tested
This commit is contained in:
9
dr_botzo/templates/403.html
Normal file
9
dr_botzo/templates/403.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}403 Forbidden{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
<p>Sorry, you do not have permission to take that action. Please contact
|
||||
support with the page with the link you clicked to get here if you believe
|
||||
this is in error.</p>
|
||||
{% endblock content %}
|
||||
8
dr_botzo/templates/404.html
Normal file
8
dr_botzo/templates/404.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}404 Not Found{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
<p>Path <tt>{{ request_path }}</tt> not found. Please contact support with
|
||||
the listed path and the page with the link you clicked to get here.</p>
|
||||
{% endblock content %}
|
||||
8
dr_botzo/templates/500.html
Normal file
8
dr_botzo/templates/500.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}500 Server Error{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
<p>Please contact support with the current URL and date/time and what you
|
||||
were doing that brought you to this page.</p>
|
||||
{% endblock content %}
|
||||
71
dr_botzo/templates/base.html
Normal file
71
dr_botzo/templates/base.html
Normal file
@@ -0,0 +1,71 @@
|
||||
{% extends 'bootstrap.html' %}
|
||||
{% load bootstrap3 %}
|
||||
{% load static %}
|
||||
|
||||
{% block bootstrap3_extra_head %}
|
||||
{% block extra_meta %}{% endblock %}
|
||||
<link href="{% get_static_prefix %}css/core.css" rel="stylesheet" type='text/css' />
|
||||
<link href='//fonts.googleapis.com/css?family=Oxygen' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
|
||||
{% block extra_media %}{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
{% block bootstrap3_content %}
|
||||
<div id="header" class="navbar navbar-fixed-top navbar-inverse">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
{% block navbarbrand %}
|
||||
<a class="navbar-brand" href="{% url 'index' %}">{{ site.domain }}</a>
|
||||
{% endblock %}
|
||||
|
||||
<!-- .navbar-toggle is used as the toggle for collapsed navbar content -->
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="navbar-collapse collapse" aria-expanded="false" style="height: 1px;">
|
||||
{% block navbar_menu %}
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="{% url 'facts_index' %}">Item Sets</a></li>
|
||||
<li><a href="{% url 'karma_index' %}">Karma</a></li>
|
||||
<li><a href="{% url 'markov_index' %}">Markov</a></li>
|
||||
<li><a href="{% url 'races_index' %}">Races</a></li>
|
||||
</ul>
|
||||
{% endblock %}
|
||||
<div class="navbar-right">
|
||||
<ul class="nav navbar-nav">
|
||||
{% if user.is_authenticated %}
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
{{ user }}
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
{% if user.is_authenticated and user.is_staff %}
|
||||
<li>
|
||||
<a href="{% url 'admin:index' %}">
|
||||
<i class="fa fa-database"></i>
|
||||
Admin
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% autoescape off %}{% bootstrap_messages %}{% endautoescape %}
|
||||
|
||||
<div id="content">
|
||||
{% block content %}(no content){% endblock %}
|
||||
</div>
|
||||
|
||||
{% block footer %}<div id="footer" class="container">{% block extrafooter %}{% endblock %}</div>{% endblock %}
|
||||
{% endblock %}
|
||||
3
dr_botzo/templates/bootstrap.html
Normal file
3
dr_botzo/templates/bootstrap.html
Normal file
@@ -0,0 +1,3 @@
|
||||
{% extends 'bootstrap3/bootstrap3.html' %}
|
||||
|
||||
{% block bootstrap3_title %}{% block title %}{% endblock %} - {{ site.domain }}{% endblock %}
|
||||
10
dr_botzo/templates/index.html
Normal file
10
dr_botzo/templates/index.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}{{ site.domain }}{% endblock %}
|
||||
|
||||
{% block navbarbrand %}
|
||||
<a class="navbar-brand navbar-brand-active" href="{% url 'index' %}">{{ site.domain }}</a>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% endblock content %}
|
||||
Reference in New Issue
Block a user