title = "The page number one" pageid = "page1" import PyWebApp as PWA PWA.addBlock("Welcome, Neo") PWA.addText( "I'm going to tell you a secret: the answer to life, the universe, and everything is ..." ) PWA.addButton("CLICK ME FOR THE ANSWER", "alert", "42", "red") PWA.endBlock()
title = "WELCOME HOME" pageid = "home" import PyWebApp as PWA PWA.addBlock("Hello world") PWA.addText( "Welcome to my very good PyWebApp WebApp. Test it on your (i)Phone, you'll be amazed !" ) PWA.addText("<a href='#_page1'>Go to The Page 1</a>") PWA.endBlock()
title = "The page number one" pageid = "page1" import PyWebApp as PWA PWA.addBlock("Welcome, Neo") PWA.addText("I'm going to tell you a secret: the answer to life, the universe, and everything is ...") PWA.addButton("CLICK ME FOR THE ANSWER","alert","42","red") PWA.endBlock()