Changeset 1934
- Timestamp:
- 09/02/08 16:52:14 (3 months ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/admin/Makefile.am (modified) (2 diffs)
- cherokee/trunk/admin/Page.py (modified) (1 diff)
- cherokee/trunk/admin/PageStatus.py (moved) (moved from cherokee/trunk/admin/PageMain.py) (1 diff)
- cherokee/trunk/admin/server.py (modified) (2 diffs)
- cherokee/trunk/admin/static/css/cherokee.css (modified) (1 diff)
- cherokee/trunk/admin/status.help.html (moved) (moved from cherokee/trunk/admin/main.help.html)
- cherokee/trunk/admin/status.template.html (moved) (moved from cherokee/trunk/admin/main.template.html)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r1933 r1934 1 1 2008-09-02 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * admin/server.py, admin/main.template.html, admin/Page.py, 4 admin/main.help.html, admin/PageStatus.py, admin/PageMain.py, 5 admin/static/css/cherokee.css, admin/Makefile.am: Adds a new 6 "Status" menu entry in Cherokee admin. 2 7 3 8 * cherokee/main.c (process_launch): Report whenever the Cherokee cherokee/trunk/admin/Makefile.am
r1732 r1934 30 30 PageGeneral.py \ 31 31 PageIcon.py \ 32 Page Main.py \32 PageStatus.py \ 33 33 PageMime.py \ 34 34 PageVServer.py \ … … 84 84 general.help.html \ 85 85 icon.help.html \ 86 main.help.html \87 main.template.html \86 status.help.html \ 87 status.template.html \ 88 88 mime.help.html \ 89 89 vserver.help.html \ cherokee/trunk/admin/Page.py
r1784 r1934 37 37 PAGE_MENU_MENU = """ 38 38 <ul id="nav"> 39 <li id="status"><a href="/">Status</a></li> 39 40 <li id="general"><a href="/general">General</a></li> 40 41 <li id="vserver"><a href="/vserver">Virtual Servers</a></li> cherokee/trunk/admin/PageStatus.py
r1918 r1934 36 36 """ 37 37 38 class Page Main(PageMenu, FormHelper):38 class PageStatus (PageMenu, FormHelper): 39 39 def __init__ (self, cfg=None): 40 PageMenu.__init__ (self, ' main', cfg)41 FormHelper.__init__ (self, ' main', cfg)40 PageMenu.__init__ (self, 'status', cfg) 41 FormHelper.__init__ (self, 'status', cfg) 42 42 43 43 def _op_render (self): 44 44 self.AddMacroContent ('title', 'Welcome to Cherokee Admin') 45 self.AddMacroContent ('content', self.Read(' main.template'))45 self.AddMacroContent ('content', self.Read('status.template')) 46 46 47 47 manager = cherokee_management_get (self._cfg) cherokee/trunk/admin/server.py
r1920 r1934 16 16 from configured import * 17 17 from Post import * 18 from Page Mainimport *18 from PageStatus import * 19 19 from PageGeneral import * 20 20 from PageIcon import * … … 124 124 page = PageAjaxUpdate (cfg) 125 125 elif uri == '/': 126 page = Page Main(cfg)126 page = PageStatus(cfg) 127 127 else: 128 128 body = "/" cherokee/trunk/admin/static/css/cherokee.css
r1845 r1934 65 65 } 66 66 67 #body-status #status, 67 68 #body-general #general, 68 69 #body-vserver #vserver,