reorganizing project directories, part 1
This commit is contained in:
9
dr_botzo/ircbot/old-web/templates/karma/givers.html
Executable file
9
dr_botzo/ircbot/old-web/templates/karma/givers.html
Executable file
@@ -0,0 +1,9 @@
|
||||
{% autoescape on %}
|
||||
<ul>
|
||||
{% for user in users %}
|
||||
<li>
|
||||
{{ user.who }} - {{ user.pos }} positive, {{ user.neg }} negative, {{ user.total }} total
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endautoescape %}
|
||||
6
dr_botzo/ircbot/old-web/templates/karma/index.html
Executable file
6
dr_botzo/ircbot/old-web/templates/karma/index.html
Executable file
@@ -0,0 +1,6 @@
|
||||
{% autoescape on %}
|
||||
<ul>
|
||||
<li><a href="/karma/stats/">Karma Stats</a> ({{ value_count }} karma entries)</li>
|
||||
<li><a href="/karma/givers/">Karma Giver Stats</a> ({{ user_count }} karma givers)</li>
|
||||
</ul>
|
||||
{% endautoescape %}
|
||||
31
dr_botzo/ircbot/old-web/templates/karma/key_detail.html
Normal file
31
dr_botzo/ircbot/old-web/templates/karma/key_detail.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{% autoescape on %}
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>dr.botzo — Karma — {{ key }}</title>
|
||||
</head>
|
||||
<body>
|
||||
{% if messages %}
|
||||
<div id="messages">
|
||||
<ul class="messagelist">
|
||||
{% for message in messages %}
|
||||
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div id="container">
|
||||
<ul>
|
||||
{% for delta in deltas %}
|
||||
<li>{{ delta }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<!--
|
||||
vi:tabstop=2:expandtab:autoindent
|
||||
-->
|
||||
{% endautoescape %}
|
||||
9
dr_botzo/ircbot/old-web/templates/karma/stats.html
Executable file
9
dr_botzo/ircbot/old-web/templates/karma/stats.html
Executable file
@@ -0,0 +1,9 @@
|
||||
{% autoescape on %}
|
||||
<ol>
|
||||
{% for value in values %}
|
||||
<li>
|
||||
<a href="{% url key_detail value.key %}">{{ value.key }}</a> ({{ value.value }})
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
{% endautoescape %}
|
||||
Reference in New Issue
Block a user