1 {% extends "admin/base_site.html" %}
4 {% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% load adminmedia %}{% admin_media_prefix %}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>
29 {% for app in app_list %}
31 <table summary="{% blocktrans with app.name as name %}Models available in the {{ name }} application.{% endblocktrans %}">
32 <caption><a href="{{ app.app_url }}" class="section">{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}</a></caption>
33 {% for model in app.models %}
35 {% if model.perms.change %}
36 <th scope="row"><a href="{{ model.admin_url }}">{{ model.name }}</a></th>
38 <th scope="row">{{ model.name }}</th>
41 {% if model.perms.add %}
42 <td><a href="{{ model.admin_url }}add/" class="addlink">{% trans 'Add' %}</a></td>
52 <p>{% trans "You don't have permission to edit anything." %}</p>
58 <div id="content-related">
59 <div class="module" id="recent-actions-module">
60 <h2>{% trans 'Recent Actions' %}</h2>
61 <h3>{% trans 'My Actions' %}</h3>
63 {% get_admin_log 10 as admin_log for_user user %}
64 {% if not admin_log %}
65 <p>{% trans 'None available' %}</p>
67 <ul class="actionlist">
68 {% for entry in admin_log %}
69 <li class="{% if entry.is_addition %}addlink{% endif %}{% if entry.is_change %}changelink{% endif %}{% if entry.is_deletion %}deletelink{% endif %}">
70 {% if entry.is_deletion %}
71 {{ entry.object_repr }}
73 <a href="{{ entry.get_admin_url }}">{{ entry.object_repr }}</a>
76 {% if entry.content_type %}
77 <span class="mini quiet">{% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %}</span>
79 <span class="mini quiet">{% trans 'Unknown content' %}</span>