Started adding stats (broken)

This commit is contained in:
nikolark committed 2012-04-15 01:28:15 +02:00
1 parent 3b2389094d
commit da554ff9da
9 files changed
+50 -12

No files matched your search

+1 -2
View File
@@ -1,5 +1,4 @@
{% extends "base.html" %}
{% load gravatar %}
{% block header %}
{% include "nav.html" with active="deposit" %}
{% endblock %}
@@ -30,7 +29,7 @@
{% if user.get_profile.image %}
  <img class="profile" src="{{ user.get_profile.image }}" alt="Profile picture"/><br />
{% else %}
  <img class="profile" src="{% gravatar_for_user user 50 %}" alt="Profile picture" /><br />
  <img class="profile" src="{{ STATIC_URL }}gaute/img/unknown_person.png" alt="Profile picture" /><br />
{% endif %}
<span class="name">{{ user.first_name }} {{ user.last_name|slice:":1"}}</span><br />
<span class="balance">{{ user.get_profile.balance }}</span>
-1
View File
@@ -1,5 +1,4 @@
{% extends "base.html" %}
{% load gravatar %}
{% block header %}
{% include "nav.html" with active="log" %}
{% endblock %}
+1 -2
View File
@@ -1,5 +1,4 @@
{% extends "base.html" %}
{% load gravatar %}
{% block header %}
{% include "nav.html" with active="register" %}
{% endblock %}
@@ -37,7 +36,7 @@
{% if user.get_profile.image %}
  <img class="profile" src="{{ user.get_profile.image }}" alt="Profile picture" /><br />
{% else %}
  <img class="profile" src="{% gravatar_for_user user 50 %}" alt="Profile picture" /><br />
  <img class="profile" src="{{ STATIC_URL }}gaute/img/unknown_person.png" alt="Profile picture" /><br />
{% endif %}
<span class="name">{{ user.first_name }} {{ user.last_name|slice:":1"}}</span><br />
<span class="balance">{{ user.get_profile.balance }}</span>
+10 -1
View File
@@ -1,5 +1,4 @@
{% extends "base.html" %}
{% load gravatar %}
{% block header %}
{% include "nav.html" with active="stats" %}
{% endblock %}
@@ -13,6 +12,16 @@
<!--<div id="container" style="width: 800px; height: 400px; margin: 0 auto;"></div> -->
</div>
</section>
{% for product in products %}
<section id="product_{{ product.id }}" class="row-fluid">
<div class="span12">
<h2>{{ product }}</h2>
<div id="product_{{ product.id }}_chart"></div>
<!--<div id="container" style="width: 800px; height: 400px; margin: 0 auto;"></div> -->
</div>
</section>
{% endfor %}
</section>
{% endblock %}
{% block tailinc %}