These are the template directories and files.
authorRami Rauch <rrauch@stanford.edu>
Fri, 15 Aug 2008 22:56:06 +0000 (22:56 +0000)
committerRami Rauch <rrauch@stanford.edu>
Fri, 15 Aug 2008 22:56:06 +0000 (22:56 +0000)
htswfrontend/templates/admin/base_site.html [new file with mode: 0644]
htswfrontend/templates/admin/index.html [new file with mode: 0644]
htswfrontend/templates/exptrack/detail.html [new file with mode: 0644]
htswfrontend/templates/exptrack/flowcellSheet.html [new file with mode: 0644]
htswfrontend/templates/exptrack/index.html [new file with mode: 0644]

diff --git a/htswfrontend/templates/admin/base_site.html b/htswfrontend/templates/admin/base_site.html
new file mode 100644 (file)
index 0000000..f58c279
--- /dev/null
@@ -0,0 +1,10 @@
+{% extends "admin/base.html" %}
+{% load i18n %}
+
+{% block title %}{{ title }} | {% trans 'dev site admin' %}{% endblock %}
+
+{% block branding %}
+<h1 id="site-name" style="background-color:#cccccc;color:black">{% trans 'STANFORD ENCODE - Dev Site' %}</h1>
+{% endblock %}
+
+{% block nav-global %}{% endblock %}
diff --git a/htswfrontend/templates/admin/index.html b/htswfrontend/templates/admin/index.html
new file mode 100644 (file)
index 0000000..2f406a1
--- /dev/null
@@ -0,0 +1,67 @@
+{% extends "admin/base_site.html" %}
+{% load i18n %}
+
+{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/dashboard.css{% endblock %}
+{% block coltype %}colMS{% endblock %}
+{% block bodyclass %}dashboard{% endblock %}
+{% block breadcrumbs %}{% endblock %}
+{% block content %}
+<div id="content-main">
+
+{% load adminapplist %}
+
+{% get_admin_app_list as app_list %}
+{% if app_list %}
+    {% for app in app_list %}
+        <div class="module">
+        <table summary="{% blocktrans with app.name as name %}Models available in the {{ name }} application.{% endblocktrans %}">
+        <caption>{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}</caption>
+        {% for model in app.models %}
+            <tr>
+            {% if model.perms.change %}
+                <th scope="row"><a href="{{ model.admin_url }}">{{ model.name }}</a></th>
+            {% else %}
+                <th scope="row">{{ model.name }}</th>
+            {% endif %}
+
+            {% if model.perms.add %}
+                <td><a href="{{ model.admin_url }}add/" class="addlink">{% trans 'Add' %}</a></td>
+            {% else %}
+                <td>&nbsp;</td>
+            {% endif %}
+
+            {% if model.perms.change %}
+                <td><a href="{{ model.admin_url }}" class="changelink">{% trans 'Change' %}</a></td>
+            {% else %}
+                <td>&nbsp;</td>
+            {% endif %}
+            </tr>
+        {% endfor %}
+        </table>
+        </div>
+    {% endfor %}
+{% else %}
+    <p>{% trans "You don't have permission to edit anything." %}</p>
+{% endif %}
+</div>
+{% endblock %}
+
+{% block sidebar %}
+<div id="content-related">
+    <div class="module" id="recent-actions-module">
+        <h2>{% trans 'Recent Actions' %}</h2>
+        <h3>{% trans 'My Actions' %}</h3>
+            {% load log %}
+            {% get_admin_log 10 as admin_log for_user user %}
+            {% if not admin_log %}
+            <p>{% trans 'None available' %}</p>
+            {% else %}
+            <ul class="actionlist">
+            {% for entry in admin_log %}
+            <li class="{% if entry.is_addition %}addlink{% endif %}{% if entry.is_change %}changelink{% endif %}{% if entry.is_deletion %}deletelink{% endif %}">{% if not entry.is_deletion %}<a href="{{ entry.get_admin_url }}">{% endif %}{{ entry.object_repr|escape }}{% if not entry.is_deletion %}</a>{% endif %}<br /><span class="mini quiet">{% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %}</span></li>
+            {% endfor %}
+            </ul>
+            {% endif %}
+    </div>
+</div>
+{% endblock %}
diff --git a/htswfrontend/templates/exptrack/detail.html b/htswfrontend/templates/exptrack/detail.html
new file mode 100644 (file)
index 0000000..65d3c00
--- /dev/null
@@ -0,0 +1,7 @@
+{% if run_f %}
+    <ul>
+        RUN FOLDER:  <li>{{ run_f.run_folder }}</li>
+    </ul>
+{% else %}
+    <p>Run folder not found.</p>
+{% endif %}
diff --git a/htswfrontend/templates/exptrack/flowcellSheet.html b/htswfrontend/templates/exptrack/flowcellSheet.html
new file mode 100644 (file)
index 0000000..66b7b4d
--- /dev/null
@@ -0,0 +1,117 @@
+<html><head><title>{{ fc.flowcell_id }} - GA SEQUENCING (SOLEXA) LOG</title>
+<style type="text/css">
+<!--
+TD
+  {
+  color:black;
+  font-size:9pt;
+  font-face:Arial;
+  }
+-->
+</style>
+</head><body>
+{% if fc %}
+<table border="1" cellspacing="1">
+<tr><td colspan=2 nowrap><b>GA SEQUENCING (SOLEXA) LOG</b></td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr><td>Date Run Started</td><td colspan=2>{{ fc.run_date }}</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr><td>Cluster station used</td><td colspan=2 nowrap>{{ fc.cluster_mac_id }}</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr><td>GA used</td><td colspan=2 nowrap>{{ fc.seq_mac_id }}</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
+
+<tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr><td>Flowcell number</td><td colspan=2 nowrap>{{ fc.flowcell_id }}</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr><td>Number of Tiles per Lane</td><td>100</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr><td>Number of Cycles</td><td>{{ fc.read_length  }}</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr><td><font point-size="9" face="Arial"><b>SAMPLE INFORMATION</b><font></td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr><td>&nbsp;</td><td>FC#</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td colspan=2 nowrap>FC bar code</td></tr>
+
+<tr><td valign=middle nowrap>Lane</td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td></tr>
+<tr><td valign=middle nowrap>Solexa Library Number</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_1_library.library_id }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_2_library.library_id }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_3_library.library_id }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_4_library.library_id }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_5_library.library_id }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_6_library.library_id }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_7_library.library_id }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_8_library.library_id }}</td></tr>
+
+<tr><td valign=middle nowrap>Sample Name</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_1_library.library_name }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_2_library.library_name }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_3_library.library_name }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_4_library.library_name }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_5_library.library_name }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_6_library.library_name }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_7_library.library_name }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_8_library.library_name }}</td>
+</tr>
+
+<tr><td valign=middle nowrap>Organism</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_1_library.library_species.common_name }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_2_library.library_species.common_name }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_3_library.library_species.common_name }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_4_library.library_species.common_name }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_5_library.library_species.common_name }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_6_library.library_species.common_name }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_7_library.library_species.common_name }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_8_library.library_species.common_name }}</td>
+</tr>
+
+<tr><td valign=middle nowrap>Submitter</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_1_library.made_by }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_2_library.made_by }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_3_library.made_by }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_4_library.made_by }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_5_library.made_by }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_6_library.made_by }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_7_library.made_by }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_8_library.made_by }}</td>
+</tr>
+
+
+<tr><td valign=middle nowrap>First time run?</td><td bgcolor=#CCFFCC></td><td bgcolor=#CCFFCC></td><td bgcolor=#CCFFCC></td><td bgcolor=#CCFFCC></td><td bgcolor=#CCFFCC></td><td bgcolor=#CCFFCC></td><td bgcolor=#CCFFCC></td><td bgcolor=#CCFFCC></td></tr>
+
+<tr><td valign=middle nowrap>Average Library Size (bp)</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_1_library.avg_lib_size }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_2_library.avg_lib_size }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_3_library.avg_lib_size }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_4_library.avg_lib_size }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_5_library.avg_lib_size }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_6_library.avg_lib_size }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_7_library.avg_lib_size }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_8_library.avg_lib_size }}</td>
+</tr>  
+
+<tr><td valign=middle nowrap>Template Concentration (ng/ul)</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_1_library.undiluted_concentration }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_2_library.undiluted_concentration }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_3_library.undiluted_concentration }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_4_library.undiluted_concentration }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_5_library.undiluted_concentration }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_6_library.undiluted_concentration }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_7_library.undiluted_concentration }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_8_library.undiluted_concentration }}</td>
+</tr>
+
+<tr><td valign=middle nowrap>Run Concentration (pM)</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_1_pM }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_2_pM }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_3_pM }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_4_pM }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_5_pM }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_6_pM }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_7_pM }}</td>
+<td bgcolor=#CCFFCC>{{ fc.lane_8_pM }}</td>
+</tr>
+
+</table>
+
+{% else %}
+    <p>Flowcell object missing. Can't create sheet.</p>
+{% endif %}
+
+</body></html
diff --git a/htswfrontend/templates/exptrack/index.html b/htswfrontend/templates/exptrack/index.html
new file mode 100644 (file)
index 0000000..1105bec
--- /dev/null
@@ -0,0 +1,9 @@
+{% if data_run_list %}
+    <ul>
+    {% for run in data_run_list %}
+        <li>{{ run.run_folder }}</li>
+    {% endfor %}
+    </ul>
+{% else %}
+    <p>No data runs are available.</p>
+{% endif %}