diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/base.html | 2 | ||||
-rw-r--r-- | wqflask/wqflask/templates/whats_new.html | 25 | ||||
-rw-r--r-- | wqflask/wqflask/views.py | 5 |
3 files changed, 30 insertions, 2 deletions
diff --git a/wqflask/wqflask/templates/base.html b/wqflask/wqflask/templates/base.html index 4050164d..7d9218ed 100644 --- a/wqflask/wqflask/templates/base.html +++ b/wqflask/wqflask/templates/base.html @@ -112,7 +112,7 @@ <Strong>Help</Strong></Span> | <Span Id= "menu_grp4" onmouseover="A_MENUS[0].onmouseover(grpObj['menu_grp4'])" onmouseout="A_MENUS[0].onmouseout(grpObj['menu_grp4'])" style="font-size:12px;font-family:verdana;color:#0000ae"> - <A Href="/whats_new.html" style="font-size:12px;font-family:verdana;color:#0000ae"> + <A Href="/whats_new" style="font-size:12px;font-family:verdana;color:#0000ae"> <Strong>News</Strong></A></Span> | <Span Id= "menu_grp5" onmouseover="A_MENUS[0].onmouseover(grpObj['menu_grp5'])" onmouseout="A_MENUS[0].onmouseout(grpObj['menu_grp5'])" style="font-size:12px;font-family:verdana;color:#0000ae"> diff --git a/wqflask/wqflask/templates/whats_new.html b/wqflask/wqflask/templates/whats_new.html new file mode 100644 index 00000000..75a08dcd --- /dev/null +++ b/wqflask/wqflask/templates/whats_new.html @@ -0,0 +1,25 @@ +{% extends "base.html" %} +{% block title %}GeneNetwork{% endblock %} +{% block content %} +<!-- Start of body --> + + <TR> + <TD bgColor=#eeeeee class="solidBorder"> + <Table width= "100%" cellSpacing=0 cellPadding=5><TR> + <!-- Body Start from Here --> + <TD valign="top" height="200" width="100%" bgcolor="#eeeeee"> + + <P class="title">Latest Updates and News from Genenetwork <A HREF="/webqtl/main.py?FormID=editHtml"><img src="/images/modify.gif" alt="modify this page" border= 0 valign="middle"></A></P> + + + This is where we will keep what's new + + <p /> + + </TD> + </TR> + + + +<!-- End of body --> +{% endblock %} diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index 06d8227c..34c78f54 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -52,7 +52,10 @@ def search(): return render_template("search_result_page.html", **the_search.__dict__) - +@app.route("/whats_new") +def whats_new(): + #variables = whats_new.whats_new() + return render_template("whats_new.html") @app.route("/showDatabaseBXD") def showDatabaseBXD(): |