From b1ce3b3fed85b470cd178d725417e47105f0736f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Laufk=C3=B6tter?= Date: Thu, 21 Jan 2016 18:43:30 +0100 Subject: [PATCH] rudimentary webpage for displaying biobox data. refs #1 --- app/templates/bioboxes.html | 76 ++++++++++++++++++++++++++++++++++++- app/templates/index.html | 4 +- 2 files changed, 77 insertions(+), 3 deletions(-) diff --git a/app/templates/bioboxes.html b/app/templates/bioboxes.html index 838edc7..7132ef5 100644 --- a/app/templates/bioboxes.html +++ b/app/templates/bioboxes.html @@ -1,5 +1,77 @@ {% extends "base.html" %} {% block content %} -

Bioboxes

- +
+

Bioboxes

+
+ {% for box in boxes %} +
+ +
+
+ + + + + + + + + + + {% if box.image.source %} + + + + + {% endif %} + + + + + {% if box.homepage %} + + + + + {% endif %} + {% if box.mailing_list %} + + + + + {% endif %} + + + + + + + + + {% for task in box.tasks %} + + + + + + + + + {% endfor %} + +
Dockerhub + {{ box.image.dockerhub }} +
Repo{{ box.image.repo }}
Source{{ box.image.source }}
pmid{{ box.pmid }}
Homepage{{ box.homepage }}
Mailing list{{ box.mailing_list }}
Description

{{ box.description }}

Tasks
name: {{ task.name }}
interface: {{ task.interface }}
+
+
+
+ {% endfor %} +
+
{% endblock %} \ No newline at end of file diff --git a/app/templates/index.html b/app/templates/index.html index ca5b659..a089eae 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1,4 +1,6 @@ {% extends "base.html" %} {% block content %} -

{{ title }}

+
+

{{ title }}

+
{% endblock %} \ No newline at end of file