diff options
author | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-09-19 18:54:51 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-09-19 18:54:51 -0400 |
commit | f7830d3c145c0ed4068fc2eb24f9473583ef9c2a (patch) | |
tree | 330e63a7b2cf365616cd0a147afa8c9f213e0f35 /cobbler | |
parent | a7db44fab1b5418921b9d57574f588d416724699 (diff) | |
download | third_party-cobbler-f7830d3c145c0ed4068fc2eb24f9473583ef9c2a.tar.gz third_party-cobbler-f7830d3c145c0ed4068fc2eb24f9473583ef9c2a.tar.xz third_party-cobbler-f7830d3c145c0ed4068fc2eb24f9473583ef9c2a.zip |
Added some "about" documentation to the WebUI and also placed a copy of the current manpage (as built)
in the web directory for easy reference.
Diffstat (limited to 'cobbler')
-rw-r--r-- | cobbler/webui/master.py | 68 |
1 files changed, 35 insertions, 33 deletions
diff --git a/cobbler/webui/master.py b/cobbler/webui/master.py index b29bb8c..c33478b 100644 --- a/cobbler/webui/master.py +++ b/cobbler/webui/master.py @@ -33,10 +33,10 @@ VFN=valueForName currentTime=time.time __CHEETAH_version__ = '2.0rc8' __CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8) -__CHEETAH_genTime__ = 1190241010.2348001 -__CHEETAH_genTimestamp__ = 'Wed Sep 19 18:30:10 2007' +__CHEETAH_genTime__ = 1190242431.165633 +__CHEETAH_genTimestamp__ = 'Wed Sep 19 18:53:51 2007' __CHEETAH_src__ = 'webui_templates/master.tmpl' -__CHEETAH_srcLastModified__ = 'Tue Sep 18 15:11:43 2007' +__CHEETAH_srcLastModified__ = 'Wed Sep 19 18:46:09 2007' __CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine' if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple: @@ -69,7 +69,7 @@ class master(Template): - ## CHEETAH: generated from #block body at line 55, col 1. + ## CHEETAH: generated from #block body at line 57, col 1. trans = KWS.get("trans") if (not trans and not self._CHEETAH__isBuffering and not callable(self.transaction)): trans = self.transaction # is None unless self.awake() was called @@ -144,70 +144,72 @@ class master(Template): <div id="sidebar"> <ul id="nav"> + <li><a href="/cobbler/webui/wui.html" class="menu">Docs</a></li> + <li><hr/></li> <li><a href="''') - _v = VFFSL(SL,"base_url",True) # '$base_url' on line 27, col 22 - if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 27, col 22. + _v = VFFSL(SL,"base_url",True) # '$base_url' on line 29, col 22 + if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 29, col 22. write('''/settings_view" class="menu">Settings</a></li> <li><hr/></li> <li>LIST</li> <li><a href="''') - _v = VFFSL(SL,"base_url",True) # '$base_url' on line 30, col 22 - if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 30, col 22. - write('''/distro_list" class="menu">Distros</a></li> - <li><a href="''') - _v = VFFSL(SL,"base_url",True) # '$base_url' on line 31, col 22 - if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 31, col 22. - write('''/profile_list" class="menu">Profiles</a></li> - <li><a href="''') _v = VFFSL(SL,"base_url",True) # '$base_url' on line 32, col 22 if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 32, col 22. - write('''/system_list" class="menu">Systems</a></li> + write('''/distro_list" class="menu">Distros</a></li> <li><a href="''') _v = VFFSL(SL,"base_url",True) # '$base_url' on line 33, col 22 if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 33, col 22. - write('''/ksfile_list" class="menu">Kickstarts</a></li> + write('''/profile_list" class="menu">Profiles</a></li> <li><a href="''') _v = VFFSL(SL,"base_url",True) # '$base_url' on line 34, col 22 if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 34, col 22. + write('''/system_list" class="menu">Systems</a></li> + <li><a href="''') + _v = VFFSL(SL,"base_url",True) # '$base_url' on line 35, col 22 + if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 35, col 22. + write('''/ksfile_list" class="menu">Kickstarts</a></li> + <li><a href="''') + _v = VFFSL(SL,"base_url",True) # '$base_url' on line 36, col 22 + if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 36, col 22. write('''/repo_list" class="menu">Repos</a></li> <li><hr/></li> <li>ADD</li> <li><a href="''') - _v = VFFSL(SL,"base_url",True) # '$base_url' on line 37, col 22 - if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 37, col 22. + _v = VFFSL(SL,"base_url",True) # '$base_url' on line 39, col 22 + if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 39, col 22. write('''/distro_edit" class="menu">Distro</a></li> <li><a href="''') - _v = VFFSL(SL,"base_url",True) # '$base_url' on line 38, col 22 - if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 38, col 22. + _v = VFFSL(SL,"base_url",True) # '$base_url' on line 40, col 22 + if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 40, col 22. write('''/profile_edit" class="menu">Profile</a></li> <li><a href="''') - _v = VFFSL(SL,"base_url",True) # '$base_url' on line 39, col 22 - if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 39, col 22. + _v = VFFSL(SL,"base_url",True) # '$base_url' on line 41, col 22 + if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 41, col 22. write('''/system_edit" class="menu">System</a></li> <li><a href="''') - _v = VFFSL(SL,"base_url",True) # '$base_url' on line 40, col 22 - if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 40, col 22. + _v = VFFSL(SL,"base_url",True) # '$base_url' on line 42, col 22 + if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 42, col 22. write('''/repo_edit" class="menu">Repo</a></li> <li><hr/></li> ''') - if VFFSL(SL,"logged_in",True) != 'configured': # generated from line 42, col 10 - if VFFSL(SL,"logged_in",True): # generated from line 43, col 13 + if VFFSL(SL,"logged_in",True) != 'configured': # generated from line 44, col 10 + if VFFSL(SL,"logged_in",True): # generated from line 45, col 13 write(''' <li><a href="''') - _v = VFFSL(SL,"base_url",True) # '$base_url' on line 44, col 30 - if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 44, col 30. + _v = VFFSL(SL,"base_url",True) # '$base_url' on line 46, col 30 + if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 46, col 30. write('''/logout_submit" class="menu">Log Out</a></li> ''') - else: # generated from line 45, col 13 + else: # generated from line 47, col 13 write(''' <li><a href="''') - _v = VFFSL(SL,"base_url",True) # '$base_url' on line 46, col 30 - if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 46, col 30. + _v = VFFSL(SL,"base_url",True) # '$base_url' on line 48, col 30 + if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 48, col 30. write('''/login" class="menu">Log In</a></li> ''') write(''' <li><hr/></li> ''') write(''' <li><a href="''') - _v = VFFSL(SL,"base_url",True) # '$base_url' on line 50, col 21 - if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 50, col 21. + _v = VFFSL(SL,"base_url",True) # '$base_url' on line 52, col 21 + if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 52, col 21. write('''/sync" class="menu">Sync</A></li> </ul> </div> |