1 {% extends "admin/base_site.html" %}
4 {% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% load staticfiles %}{% static "css/dashboard.css" %}"/>{% endblock %}
6 {% block coltype %}colMS{% endblock %}
8 {% block bodyclass %}dashboard{% endblock %}
10 {% block breadcrumbs %}{% endblock %}
13 <div id="content-main">
17 <caption>Frequently Used</caption>
19 <th scope="row"><a href="/admin/samples/library/">Libraries</a></th>
20 <td><a href="/admin/samples/library/add/" class="addlink">{% trans 'Add' %}</a></td>
23 <th scope="row"><a href="/admin/experiments/flowcell/">Flowcells</a></th>
24 <td><a href="/admin/experiments/flowcell/add/" class="addlink">{% trans 'Add' %}</a></td>
30 <caption>Label Printing</caption>
32 <th scope="row"><a href="/admin/labels/labelcontent/">Label Contents</a></th>
33 <td><a href="/admin/labels/labelcontent/add/" class="addlink">{% trans 'Add' %}</a></td>
36 <th scope="row"><a href="/admin/labels/labeltemplate/">Label Templates</a></th>
37 <td><a href="/admin/labels/labeltemplate/add/" class="addlink">{% trans 'Add' %}</a></td>
42 {% for app in app_list %}
44 <table summary="{% blocktrans with app.name as name %}Models available in the {{ name }} application.{% endblocktrans %}">
45 <caption><a href="{{ app.app_url }}" class="section">{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}</a></caption>
46 {% for model in app.models %}
48 {% if model.perms.change %}
49 <th scope="row"><a href="{{ model.admin_url }}">{{ model.name }}</a></th>
51 <th scope="row">{{ model.name }}</th>
54 {% if model.perms.add %}
55 <td><a href="{{ model.admin_url }}add/" class="addlink">{% trans 'Add' %}</a></td>
65 <p>{% trans "You don't have permission to edit anything." %}</p>
71 <div id="content-related">
72 <div class="module" id="recent-actions-module">
73 <h2>{% trans 'Recent Actions' %}</h2>
74 <h3>{% trans 'My Actions' %}</h3>
76 {% get_admin_log 10 as admin_log for_user user %}
77 {% if not admin_log %}
78 <p>{% trans 'None available' %}</p>
80 <ul class="actionlist">
81 {% for entry in admin_log %}
82 <li class="{% if entry.is_addition %}addlink{% endif %}{% if entry.is_change %}changelink{% endif %}{% if entry.is_deletion %}deletelink{% endif %}">
83 {% if entry.is_deletion %}
84 {{ entry.object_repr }}
86 <a href="{{ entry.get_admin_url }}">{{ entry.object_repr }}</a>
89 {% if entry.content_type %}
90 <span class="mini quiet">{% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %}</span>
92 <span class="mini quiet">{% trans 'Unknown content' %}</span>