about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSam Ockman2012-08-13 17:42:28 -0400
committerSam Ockman2012-08-13 17:42:28 -0400
commit8c7a90ac6aef00d4ed64ed1789cf4722a8465a8e (patch)
tree60fbbfe660c692df50cc841591f92936f8ab1a45
parenta01f09ef2d008f6232e50d13da2080c0d0556cf6 (diff)
downloadgenenetwork2-8c7a90ac6aef00d4ed64ed1789cf4722a8465a8e.tar.gz
Added whats_new template
-rw-r--r--wqflask/wqflask/templates/base.html2
-rw-r--r--wqflask/wqflask/templates/whats_new.html25
-rw-r--r--wqflask/wqflask/views.py5
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>
 					&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
 					<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>
 					&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
 					<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():