{% extends dashboardmixin_super_template %}

{% load adminmedia admin_list i18n %}

{% block extrastyle %}
 	{{ block.super }}
 	<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}utilities/admin/css/dashboard.css" />
{% endblock %}

{% block extrahead %}
	{{ block.super }}
	<script src="{{ STATIC_URL }}utilities/js/jquery-1.6.4-min.js" type="text/javascript"></script>
	<script src="{{ STATIC_URL }}utilities/admin/js/jquery.colorbox-min.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(document).ready(function() {
	    	$(".dashboard-link").colorbox({inline:true, href:"#dashboard",opacity: 0.7, scrolling: false});
	    });  
	</script>
{% endblock extrahead %}

{% block object-tools-items %}
    <li><a href="" class="dashboard-link">{% trans 'Statistika' %}</a></li>
    {{block.super}}
{% endblock %}

{% block content %}
	{{ block.super }}
	<div style="display: none;">
		<div class="dashboard mycolorbox" id="dashboard">
			<table>
				<tr>
					{% for row in dashboard_table %}
						<tr>
							{% for col in row %}
								<td>{{ col }}</td>
							{% endfor %}
						</tr>
					{% endfor %}
				</tr>
			</table>
		</div>
	</div>
{% endblock %}



