def getView(): form = cgi.FieldStorage() f = open(get_template('change_password_controller')) view= f.read() f.close() return view
def getView(): form = cgi.FieldStorage() f = open(get_template('change_password_controller')) view = f.read() f.close() return view
def main(): form = cgi.FieldStorage() f = open(get_template('gpio_controller')) html_tables = f.read() f.close() view.setContent('GPIO Controller', html_tables) output(view, form)
def main(): form = cgi.FieldStorage() f = open(get_template('gpio_controller')) html_tables= f.read() f.close() view.setContent('GPIO Controller', html_tables) output(view, form)
def main(): ''' Application to display the iptables of raspberry to the user ''' form = cgi.FieldStorage() f = open(get_template('firewall_controller')) html_tables= f.read() f.close() view.setContent('IPTables', html_tables) output(view, form)
def main(): ''' Application to display the iptables of raspberry to the user ''' form = cgi.FieldStorage() f = open(get_template('firewall_controller')) html_tables = f.read() f.close() view.setContent('IPTables', html_tables) output(view, form)
def main(): ''' Services application to manage levels of each service. It will support only enable/disable for a service. Unfinished. ''' form = cgi.FieldStorage() f = open(get_template('services_controller')) html_tables= f.read() f.close() view.setContent('Services Management App', html_tables) output(view, form)
def main(): ''' Services application to manage levels of each service. It will support only enable/disable for a service. Unfinished. ''' form = cgi.FieldStorage() f = open(get_template('services_controller')) html_tables = f.read() f.close() view.setContent('Services Management App', html_tables) output(view, form)
def getNormalView(self): tFile = open(get_template('camera_controller')) html = tFile.read() tFile.close() return html
def getView(self): tFile = open(get_template('startup_controller')) html = tFile.read() tFile.close() return html
def get_view(): with open(get_template("disk_analyzer_controller")) as template: return template.read()
def get_view(): with open(get_template("update_controller")) as template: return template.read()
def main(): tFile = open(get_template('file_manager_controller')) content = tFile.read() tFile.close() view.setContent('File manager', content) output(view, cgi.FieldStorage())
def get_view(): try: with open(get_template("mplayer")) as template: return template.read() except: return "<p>Unexpected error:" + sys.exc_info()[0] + "</p>"
def get_view(): try: with open(get_template("mplayer")) as template: return template.read() except: return "<p>Unexpected error:"+ sys.exc_info()[0]+"</p>"