def get(self): values={} curstatus = status() admindata = AdminData() values['status']=admindata.get() values['datastoremapcount'] = curstatus.datstoremapcount() values['currentmapcount'] = curstatus.currentmapcount() values['resultcount'] = curstatus.resultcount() #values['status'] = curstatus.whatsgoinon() values['lastresult'] = curstatus.resultobject() path = os.path.join(os.path.dirname(__file__), 'templates/mapview.html') self.response.out.write(template.render(path, values))
def get(self): self.response.out.write(""" <html> <head> <title>Viewer - Big Kahuna</title> <meta http-equiv="refresh" content="600"> </head> <body>""") curstatus = status() #write code here self.response.out.write(""" </body> </html>""")