(self)
| 289 | |
| 290 | @cherrypy.expose |
| 291 | def index(self): |
| 292 | yield '<h1>Choose your document</h1>\n' |
| 293 | yield '<ul>\n' |
| 294 | for id, contents in self.documents.items(): |
| 295 | yield ( |
| 296 | " <li><a href='/divorce/get?ID=%s'>%s</a>:" |
| 297 | ' %s</li>\n' % (id, id, contents)) |
| 298 | yield '</ul>' |
| 299 | |
| 300 | @cherrypy.expose |
| 301 | def get(self, ID): |