diff options
-rwxr-xr-x | wqflask/wqflask/templates/environments.html | 61 | ||||
-rwxr-xr-x | wqflask/wqflask/views.py | 4 |
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") |