-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rudimentary webpage for displaying biobox data. refs #1
- Loading branch information
Tobias Laufkötter
committed
Jan 21, 2016
1 parent
5e34f59
commit b1ce3b3
Showing
2 changed files
with
77 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,77 @@ | ||
{% extends "base.html" %} | ||
{% block content %} | ||
<h1>Bioboxes</h1> | ||
|
||
<div class="container"> | ||
<h1>Bioboxes</h1> | ||
<div class="panel-group" id="bioboxes"> | ||
{% for box in boxes %} | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h4 class="panel-title"> | ||
<a data-toggle="collapse" data-parent="#bioboxes" href="#{{ box.pmid }}"> | ||
{{ box.title }} | ||
</a> | ||
</h4> | ||
</div> | ||
<div id="{{ box.pmid }}" class="panel-collapse collapse"> | ||
<div class="panel-body"> | ||
<table class="table table-striped"> | ||
<tbody> | ||
<tr> | ||
<td>Dockerhub</td> | ||
<td> | ||
<a href="https://hub.docker.com/r/{{ box.image.dockerhub }}">{{ box.image.dockerhub }}</a> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Repo</td> | ||
<td><a href="{{ box.image.repo }}">{{ box.image.repo }}</a></td> | ||
</tr> | ||
{% if box.image.source %} | ||
<tr> | ||
<td>Source</td> | ||
<td><a href="{{ box.image.source }}">{{ box.image.source }}</a></td> | ||
</tr> | ||
{% endif %} | ||
<tr> | ||
<td>pmid</td> | ||
<td>{{ box.pmid }}</td> | ||
</tr> | ||
{% if box.homepage %} | ||
<tr> | ||
<td>Homepage</td> | ||
<td><a href="{{ box.homepage }}">{{ box.homepage }}</a></td> | ||
</tr> | ||
{% endif %} | ||
{% if box.mailing_list %} | ||
<tr> | ||
<td>Mailing list</td> | ||
<td><a href="{{ box.mailing_list }}">{{ box.mailing_list }}</a></td> | ||
</tr> | ||
{% endif %} | ||
<tr> | ||
<td>Description</td> | ||
<td><p>{{ box.description }}</p></td> | ||
</tr> | ||
<tr> | ||
<td>Tasks</td> | ||
<td></td> | ||
</tr> | ||
{% for task in box.tasks %} | ||
<tr> | ||
<td></td> | ||
<td>name: {{ task.name }}</td> | ||
</tr> | ||
<tr> | ||
<td></td> | ||
<td>interface: {{ task.interface }}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
{% extends "base.html" %} | ||
{% block content %} | ||
<h1>{{ title }}</h1> | ||
<div class="container"> | ||
<h1>{{ title }}</h1> | ||
</div> | ||
{% endblock %} |