Display the pM on the public library detail page.
[htsworkflow.git] / htsworkflow / frontend / templates / samples / library_index.html
index cb91b691a2951d9c42545596861a7649177468f9..4263846c9c3574366c32b722d6072e8077c1f9f0 100644 (file)
@@ -1,24 +1,29 @@
-{% load i18n %}
-{% load admin_list %}
+{% extends "base_site.html" %}
+{% load adminmedia admin_list i18n %}
 
-<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL}}css/changelists.css" />
-<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL}}css/click-table.css" />
+{% block stylesheet %}{{ MEDIA_URL }}css/data-browse-index.css{% endblock %}
 
-<div id="content" class="flex>
-  <form action="" method="get">
+{% block bodyclass %}change-list{% endblock %}
+{% block coltype %}flex{% endblock %}
+
+{% block content %}
+<div id="content-main">
+  <div class="module{% if cl.has_filters %} filtered{% endif %}" id="changelist">
     {% block search %}{% search_form cl %}{% endblock %}
-    {% block pagination %}{% pagination cl %}{% endblock %}
-  </form>
-  {% block filters %}
-  {% if cl.has_filters %}
-  <div id="changelist-filter">
-    <h2>{% trans 'Filter' %}</h2>
-    {% for spec in cl.filter_specs %}
-       {% admin_list_filter cl spec %}
-    {% endfor %}
-  </div>
-  {% endif %}
-  {% endblock %}
+
+    {% block filters %}
+    {% if cl.has_filters %}
+    <div id="changelist-filter">
+      <h2>{% trans 'Filter' %}</h2>
+      {% for spec in cl.filter_specs %}
+         {% admin_list_filter cl spec %}
+         {% endfor %}
+       </div>
+       {% endif %}
+       {% endblock %}
+
+  
+ {% block pagination %}{% pagination cl %}{% endblock %}
 
 {% block summary_stats %}
 <table>
@@ -43,3 +48,4 @@
 </table>
 </div>
 {% endblock %}
+{% endblock %}