reorganizing project directories, part 1
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 %}
|
||||
33
dr_botzo/templates/base.html
Normal file
33
dr_botzo/templates/base.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
{% load url from future %}
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>{% load static %}
|
||||
<title>{% block title %}{% endblock %} - dr.botzo</title>
|
||||
<link href="{% get_static_prefix %}css/core.css" rel="stylesheet" type='text/css' />
|
||||
{% block extra_media %}{% endblock %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="mainwrapper">
|
||||
<div id="body">
|
||||
{% if messages %}
|
||||
<div id="messages">
|
||||
<ul class="messages">
|
||||
{% for message in messages %}
|
||||
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div id="content"><div class="inner">
|
||||
{% block content %}{% endblock %}
|
||||
</div></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<!--
|
||||
vi:tabstop=4:expandtab:autoindent
|
||||
-->
|
||||
6
dr_botzo/templates/index.html
Normal file
6
dr_botzo/templates/index.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}index{% endblock %}
|
||||
<!--
|
||||
vi:tabstop=4:expandtab:autoindent
|
||||
-->
|
||||
11
dr_botzo/templates/markov/context.html
Normal file
11
dr_botzo/templates/markov/context.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}context: {{ context.name }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>{{ chain }}</p>
|
||||
<p>in: {{ elapsed }}s</p>
|
||||
{% endblock %}
|
||||
<!--
|
||||
vi:tabstop=4:expandtab:autoindent
|
||||
-->
|
||||
16
dr_botzo/templates/markov/import_file.html
Normal file
16
dr_botzo/templates/markov/import_file.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}markov import{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form id="markov_import_file_form" enctype="multipart/form-data" action="{% url 'markov_import_file' %}" method="post">
|
||||
{% csrf_token %}
|
||||
<table>
|
||||
{{ form }}
|
||||
</table>
|
||||
<input class="submit-button" type="submit" value="Import"/>
|
||||
</form>
|
||||
{% endblock %}
|
||||
<!--
|
||||
vi:tabstop=4:expandtab:autoindent
|
||||
-->
|
||||
16
dr_botzo/templates/markov/teach_line.html
Normal file
16
dr_botzo/templates/markov/teach_line.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}markov teach{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form id="markov_teach_line_form" action="{% url 'markov_teach_line' %}" method="post">
|
||||
{% csrf_token %}
|
||||
<table>
|
||||
{{ form }}
|
||||
</table>
|
||||
<input class="submit-button" type="submit" value="Teach"/>
|
||||
</form>
|
||||
{% endblock %}
|
||||
<!--
|
||||
vi:tabstop=4:expandtab:autoindent
|
||||
-->
|
||||
14
dr_botzo/templates/races/index.html
Normal file
14
dr_botzo/templates/races/index.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}races{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<ul>
|
||||
{% for race in races %}
|
||||
<li><a href="{% url 'race_detail' race.key %}">{{ race.name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
<!--
|
||||
vi:tabstop=4:expandtab:autoindent
|
||||
-->
|
||||
14
dr_botzo/templates/races/race_detail.html
Normal file
14
dr_botzo/templates/races/race_detail.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}race: {{ race.name }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<ul>
|
||||
{% for update in race.raceupdate_set.all %}
|
||||
<li>{{ update.racer.nick }} — {{ update.update }} — {{ update.event_time }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
<!--
|
||||
vi:tabstop=4:expandtab:autoindent
|
||||
-->
|
||||
Reference in New Issue
Block a user