~oubiwann/txloadbalancer/0.9.0

« back to all changes in this revision

Viewing changes to pydirector/web/admin.py

  • Committer: Duncan McGreggor
  • Date: 2008-06-21 07:31:55 UTC
  • Revision ID: oubiwann@lorien-20080621073155-muyud2p9gihp3ok4
Added rendering of stored xml config in twisted-based admin web ui.

Show diffs side-by-side

added added

removed removed

Lines of Context:
224
224
    """
225
225
 
226
226
    """
 
227
    def getPage(self, request):
 
228
        """
 
229
 
 
230
        """
 
231
        request.setHeader('Content-type', 'text/plain')
 
232
        return self.parent.director.conf.dom.toxml()
227
233
 
228
234
class DeleteHost(BasePage):
229
235
    """