Ejemplo n.º 1
0
 def showAPDetails(self, apID):
     repo = DataRepo(self.dbpath)
     scripts = "<script type='text/javascript' src='/html/js/showAPDetails.js'></script>"
     scripts += "<script type='text/javascript' src='/html/js/jquery.slidePicker.min.js'></script>"
     html = self._header(scripts)
     html += "<h2> Details for " + repo.get_ap_details(apID)[0][1] + " access point"
     html += open(os.path.join(os.curdir,'html','pages','showAPDetails.html'),'r').read()
     html += self._footer()
     return html