diff options
author | Lei Yan | 2015-02-13 18:18:49 +0000 |
---|---|---|
committer | Lei Yan | 2015-02-13 18:18:49 +0000 |
commit | 723fcb3723d16e4ef476b0fc7471f7a770ed01be (patch) | |
tree | 19e12a1e8e3f9b552ec1e1d1d33942b31edd57d4 /wqflask/wqflask/templates | |
parent | 4ea8b8a5efc848c99767894cbdbef2f135e3b83c (diff) | |
download | genenetwork2-723fcb3723d16e4ef476b0fc7471f7a770ed01be.tar.gz |
Committer: Lei Yan <lei@penguin.uthsc.edu>
On branch master
Diffstat (limited to 'wqflask/wqflask/templates')
-rwxr-xr-x | wqflask/wqflask/templates/news.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/news.html b/wqflask/wqflask/templates/news.html new file mode 100755 index 00000000..0a19dcee --- /dev/null +++ b/wqflask/wqflask/templates/news.html @@ -0,0 +1,21 @@ +{% extends "base.html" %} + +{% block title %}{{title}}{% endblock %} + +{% block content %} +<div class="container"> + <h3>{{title}}</h3> + <table class="table table-hover table-striped"> + <tbody> + {% for newsitem in newslist %} + <tr> + <td style="width: 100px;"> + <span style="font-weight: bold;">{{newsitem.date}}</span> + </td> + <td>{{newsitem.details|safe}}</td> + </tr> + {% endfor %} + </tbody> + </table> +</div> +{% endblock %} |