I need to add a confirm box when I click on logout or restart buttons in my following python/html script. This script is just summary of large one and its work fine with me.any suggestion please?Thanks in advance.\[code\]#!/usr/bin/pythonimport cherrypyimport os.pathimport structfrom auth import AuthController, require, member_of, name_isimport subprocessimport commandsclass Server(object): led_logout=0 led_restart=0 _cp_config = { 'tools.sessions.on': True, 'tools.auth.on': True } auth = AuthController() @cherrypy.expose @require() def index(self,logout='', restart=''): html = """ <html> <head> </head> <body> <p>{htmlText} <p> <a href="http://stackoverflow.com/questions/14423452/?logout=1"><img src="http://stackoverflow.com/questions/14423452/images/Logout.png"><a href="http://stackoverflow.com/questions/14423452/?restart=1"><img src="http://stackoverflow.com/questions/14423452/images/Restart.png"></a> </ul> </body> </html> """ myText = '' myText = "Hello" if logout: self.led_logout = int(logout) if self.led_logout: print "Logout !!!!!" AuthController().logout('/?logout=0') if restart: self.led_restart = int(restart) #subprocess.call(['sudo shutdown -r now'], shell=True) myText = "The system is restarting" return html.format(htmlText=myText) index.exposed = True#configurationconf = { 'global' : { 'server.socket_host': '0.0.0.0', #0.0.0.0 or specific IP 'server.socket_port': 8085 #server port }, '/images': { #images served as static files 'tools.staticdir.on': True, 'tools.staticdir.dir': os.path.abspath('/home/ubuntu/webserver/images') } }cherrypy.quickstart(Server(), config=conf)\[/code\]