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 <style type="text/css">
26 div.positiveReputation {
32 div.negativeReputation {
39 {% block usercontent %}
40 <div style="padding:5px;font-size:13px;">
41 <div id="diagram" style="width:550px;height:250px;float:left">
44 <div style="float:right; width:385px; height:300px; overflow-y:auto;word-wrap:break-word;" >
45 {% for rep in reputation %}
46 <p style="clear:both">
47 <div style="float:left;text-align:right;font-family:arial;font-weight:bold;background:#eee;padding:2px 10px 2px 10px;margin-right:5px">
48 <div class="positiveReputation">{{ rep.positive }}</div>
49 <div class="negativeReputation">{{ rep.negative }}</div>
52 {% activity_item rep.action request.user %}<br/>
57 {% endblock %}<!-- end user_reputation.html -->