CSS fixes
[htsworkflow.git] / htsworkflow / frontend / templates / samples / library_index.html
index c0a37e6a9438f4ce7a16becc87f86f6a44e979e4..56c8e79c00634977381388cfb39094646d6397e5 100644 (file)
@@ -1,20 +1,18 @@
 {% extends "base_site.html" %}
 {% load adminmedia admin_list i18n %}
 
-{% block stylesheet %}{{ MEDIA_URL }}css/data-browse-index.css{% endblock %}
-
 {% block bodyclass %}change-list{% endblock %}
 {% block coltype %}flex{% endblock %}
 
 {% block content %}
-<div id="content-main">
+<div id="library-index-div" class="djangocss">
   <div class="module{% if cl.has_filters %} filtered{% endif %}" id="changelist">
     {% block search %}{% search_form cl %}{% endblock %}
 
     {% block filters %}
     {% if cl.has_filters %}
     <div id="changelist-filter">
-      <h2>{% trans 'Filter' %}</h2>
+      <h2 class="djangocss">{% trans 'Filter' %}</h2>
       {% for spec in cl.filter_specs %}
          {% admin_list_filter cl spec %}
          {% endfor %}
  {% block pagination %}{% pagination cl %}{% endblock %}
 
 {% block summary_stats %}
-<table>
-  <thead>
-    <tr>
-    <td>Parent</td>
-    <td>Library ID</td>
-    <td>Species</td>
-    <td>Library Name</td>
-    <td>Total Lanes</td>
-    <td>HD</td>
+<table class="djangocss">
+  <thead class="djangocss">
+    <tr class="djangocss">
+    <td class="djangocss">Parent</td>
+    <td class="djangocss">Library ID</td>
+    <td class="djangocss">Species</td>
+    <td class="djangocss">Library Name</td>
+    <td class="djangocss">Total Lanes</td>
+    <td class="djangocss">HD</td>
     </tr>
   </thead>
-  <tbody>
+  <tbody class="djangocss">
     {% for lib in library_list %}
-    <tr>
-      <td><a href="/library/{{ lib.library_id }}">{{ lib.amplified_from }}</a></td>
-      <td><a href="/library/{{ lib.library_id }}">{{ lib.library_id }}</a></td>
-      <td><a href="/library/{{ lib.library_id }}">{{ lib.species_name }}</a></td>
-      <td><a href="/library/{{ lib.library_id }}">{{ lib.library_name }}</a></td>
-      <td>{{ lib.lanes_run }}</td>
+    <tr class="djangocss">
+      <td class="djangocss"><a href="/library/{{ lib.library_id }}">{{ lib.amplified_from }}</a></td>
+      <td class="djangocss"><a href="/library/{{ lib.library_id }}">{{ lib.library_id }}</a></td>
+      <td class="djangocss"><a href="/library/{{ lib.library_id }}">{{ lib.species_name }}</a></td>
+      <td class="djangocss"><a href="/library/{{ lib.library_id }}">{{ lib.library_name }}</a></td>
+      <td class="djangocss">{{ lib.lanes_run }}</td>
       {% if lib.is_archived %}
-        <td><img src="/static/img/hdd_unmount.png" alt="Archived" /></td>
+        <td class="djangocss"><img src="/static/img/hdd_unmount.png" alt="Archived" /></td>
       {% else %}
-        <td></td>
+        <td class="djangocss"></td>
       {% endif %}
     </tr>
     {% endfor %}