aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorLei Yan2014-11-04 23:18:07 +0000
committerLei Yan2014-11-04 23:18:07 +0000
commit0bb1efcb3f237c7a056c22b3b0964f45d25e5b88 (patch)
treec26bf15482d168de70b9290e00ca8b1faf9f708a /wqflask
parent09fb80e082dc4a9325dc860e72726f6aedcf3588 (diff)
downloadgenenetwork2-0bb1efcb3f237c7a056c22b3b0964f45d25e5b88.tar.gz
Committer: Lei Yan <lei@penguin.uthsc.edu>
On branch master
Diffstat (limited to 'wqflask')
-rwxr-xr-xwqflask/wqflask/templates/environments.html61
-rwxr-xr-xwqflask/wqflask/views.py4
2 files changed, 65 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/environments.html b/wqflask/wqflask/templates/environments.html
new file mode 100755
index 00000000..4d551775
--- /dev/null
+++ b/wqflask/wqflask/templates/environments.html
@@ -0,0 +1,61 @@
+{% extends "base.html" %}
+
+{% block title %}Environments{% endblock %}
+
+{% block content %}
+<div class="container">
+ <h3>System Properties</h3>
+ <table class="table table-bordered table-striped table-hover" style="width: 400px;">
+ <tbody>
+ <tr><td colspan="2">Operating System</td></tr>
+ <tr>
+ <td style="text-align: right;">Ubuntu</td>
+ <td>12.04.5 LTS 64-bit</td>
+ </tr>
+ <tr><td colspan="2">Database</td></tr>
+ <tr>
+ <td style="text-align: right;">MySQL</td>
+ <td>5.5.40</td>
+ </tr>
+ <tr><td colspan="2">Python</td></tr>
+ <tr>
+ <td style="text-align: right;">Python</td>
+ <td>2.7.3</td>
+ </tr>
+ <tr>
+ <td style="text-align: right;">Flask</td>
+ <td>0.9</td>
+ </tr>
+ <tr>
+ <td style="text-align: right;">Jinja2</td>
+ <td>2.6</td>
+ </tr>
+ <tr>
+ <td style="text-align: right;">numpy</td>
+ <td>1.7.0</td>
+ </tr>
+ <tr>
+ <td style="text-align: right;">scipy</td>
+ <td>0.11.0</td>
+ </tr>
+ <tr><td colspan="2">JavaScript / CSS</td></tr>
+ <tr>
+ <td style="text-align: right;">jQuery</td>
+ <td>1.10.2</td>
+ </tr>
+ <tr>
+ <td style="text-align: right;">Bootstrap</td>
+ <td>2.3.1</td>
+ </tr>
+ <tr>
+ <td style="text-align: right;">DataTables</td>
+ <td>1.9.4</td>
+ </tr>
+ <tr>
+ <td style="text-align: right;">CKEditor</td>
+ <td>4.4.5</td>
+ </tr>
+ </tbody>
+ </table>
+</div>
+{% endblock %}
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index d9a28141..55066f77 100755
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -149,6 +149,10 @@ def whats_new_page():
def testhtmleditor_page():
return render_template("testhtmleditor.html")
+@app.route("/environments")
+def environments():
+ return render_template("environments.html")
+
@app.route("/reference")
def reference_page():
return render_template("reference.html")