1 {% extends "user.html" %}
2 <!-- user_reputation.html -->
4 {% load extra_filters %}
8 <script type='text/javascript' src='{% media "/media/js/excanvas.min.js" %}'></script>
9 <script type='text/javascript' src='{% media "/media/js/jquery.flot.min.js" %}'></script>
11 <script type="text/javascript">
13 var d = {{ graph_data }};
14 var placeholder = $("#diagram");
16 var plot = $.plot(placeholder, [d], {
17 xaxis: { mode: "time" },
18 points: { show: true },
25 {% block usercontent %}
26 <div style="padding:5px;font-size:13px;">
27 <div id="diagram" style="width:550px;height:250px;float:left">
30 <div style="float:right; width:385px; height:300px; overflow-y:auto;word-wrap:break-word;" >
31 {% for rep in reputation %}
32 <p style="clear:both">
33 <div style="float:left;text-align:right;font-family:arial;font-weight:bold;background:#eee;padding:2px 10px 2px 10px;margin-right:5px">
34 <div style="float:left;width:20px;color:green;padding-right:5px">{{ rep.positive }}</div>
35 <div style="float:left;width:20px;color:red">{{ rep.negative }}</div>
38 {% activity_item rep.action request.user %}<br/>
43 {% endblock %}<!-- end user_reputation.html -->