logout and refresh buttons in navigation_bar work. Cleaned some old stuff.
This commit is contained in:
parent
18405f247a
commit
2630332479
5 changed files with 30 additions and 21 deletions
|
@ -41,7 +41,7 @@ def main(req,form):
|
|||
"""
|
||||
display selected goban and manage user input.
|
||||
"""
|
||||
req.write(str(form.keys())+"<hr>")
|
||||
helper.debug(req,form,str(form.keys())+"<hr>")
|
||||
|
||||
try:
|
||||
gamename = form["game"]
|
||||
|
@ -61,8 +61,6 @@ def main(req,form):
|
|||
if foundx:
|
||||
if is_my_turn(req,form,gobandict):
|
||||
(gobandict,retstring) = goban.process_form(req,form,gobandict)
|
||||
else:
|
||||
pass
|
||||
|
||||
#do stuff
|
||||
data = helper.header()
|
||||
|
@ -81,7 +79,7 @@ def main(req,form):
|
|||
|
||||
#print goban
|
||||
data += goban.display_goban(gobandict,req,form)
|
||||
data += login.navigation_bar(form["username"],form["sessionid"])
|
||||
data += login.navigation_bar(req,form)
|
||||
data += helper.footer()
|
||||
req.write(data)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue