Adds basic order status

This commit is contained in:
nikolark committed 2012-03-26 04:18:27 +02:00
1 parent edf1426ed2
commit f1d7516341
6 files changed
+293

No files matched your search

+1
View File
@@ -14,6 +14,7 @@
<li class="{% if active = "register" %}active{% endif %}"><a href="/register"><i class="icon-home icon-white"></i> Kjøp drikke</a></li>
<li class="{% if active = "deposit" %}active{% endif %}"><a href="/deposit">Sett inn penger</a></li>
<li class="{% if active = "log" %}active{% endif %}"><a href="/log"> Vis logg</a></li>
<li class="{% if active = "stats" %}active{% endif %}"><a href="/stats"> Vis statistikk</a></li>
{% if request.user.is_superuser %}
<li><a href="/admin">Administrasjon</a></li>
{% endif %}
+24
View File
@@ -0,0 +1,24 @@
{% extends "base.html" %}
{% load gravatar %}
{% block header %}
{% include "nav.html" with active="stats" %}
{% endblock %}
{% block content %}
<section id="stats" class="row-fluid">
<section id="order" class="row-fluid">
<div class="span12">
<h2>Ordrer</h2>
<div id="order_chart"></div>
<!--<div id="container" style="width: 800px; height: 400px; margin: 0 auto;"></div> -->
</div>
</section>
</section>
{% endblock %}
{% block tailinc %}
<script src="{{ STATIC_URL }}js/bootstrap-typeahead.js"></script>
<script src="{{ STATIC_URL }}js/bootstrap-tooltip.js"></script>
<script src="{{ STATIC_URL }}js/highcharts.js"></script>
<script src="{{ STATIC_URL }}js/stats.js"></script>
{% endblock %}