diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-02-09 16:48:38 -0500 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-02-09 16:48:38 -0500 |
commit | 3c4c71fc19865bfb75231c425fae31c6b2c211de (patch) | |
tree | 535fc16fef76b1e89e136c3e4a0947fe8613fe01 /templates/user_reputation.html | |
parent | bdf1cc4f9dd3f0ac06ba1af3c7d35c72cc358297 (diff) | |
download | askbot-3c4c71fc19865bfb75231c425fae31c6b2c211de.tar.gz askbot-3c4c71fc19865bfb75231c425fae31c6b2c211de.tar.bz2 askbot-3c4c71fc19865bfb75231c425fae31c6b2c211de.zip |
started working towards skinning forum app - first step - move templates to app
Diffstat (limited to 'templates/user_reputation.html')
-rw-r--r-- | templates/user_reputation.html | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/templates/user_reputation.html b/templates/user_reputation.html deleted file mode 100644 index 16127140..00000000 --- a/templates/user_reputation.html +++ /dev/null @@ -1,42 +0,0 @@ -{% extends "user.html" %} -<!-- user_reputation.html --> -{% load extra_tags %} -{% load extra_filters %} -{% load humanize %} -{% block userjs %} - <script type='text/javascript' src='{% href "/content/js/excanvas.pack.js" %}'></script> - <script type='text/javascript' src='{% href "/content/js/jquery.flot.pack.js" %}'></script> - - <script type="text/javascript"> - $().ready(function(){ - var d = {{ reps }}; - var placeholder = $("#diagram"); - - var plot = $.plot(placeholder, [d], { - xaxis: { mode: "time" }, - points: { show: true }, - lines: { show: true } - }); - }); - - </script> -{% endblock %} -{% block usercontent %} - <div style="padding:5px;font-size:13px;"> - <div id="diagram" style="width:550px;height:250px;float:left"> - - </div> - <div style="float:right; width:385px; height:300px; overflow-y:auto;word-wrap:break-word;" > - {% for rep in reputation %} - <p style="clear:both"> - <div style="float:left;text-align:right;font-family:arial;font-weight:bold;background:#eee;padding:2px 10px 2px 10px;margin-right:5px"> - <div style="float:left;width:20px;color:green;padding-right:5px">{{ rep.positive }}</div> - <div style="float:left;width:20px;color:red">{{ rep.negative }}</div> - - </div> - <a href="{% url question rep.question_id %}{{ rep.title|slugify }}">{{ rep.title }}</a> <span class="small">({{ rep.reputed_at }})</span> - </p> - {% endfor %} - </div> - </div> -{% endblock %}<!-- end user_reputation.html --> |