summaryrefslogtreecommitdiffstats
path: root/cobbler/webui/master.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/webui/master.py')
-rw-r--r--cobbler/webui/master.py78
1 files changed, 41 insertions, 37 deletions
diff --git a/cobbler/webui/master.py b/cobbler/webui/master.py
index 0c1e9c2..5e8f9e7 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__ = 1192140723.448333
-__CHEETAH_genTimestamp__ = 'Thu Oct 11 18:12:03 2007'
+__CHEETAH_genTime__ = 1192212078.11906
+__CHEETAH_genTimestamp__ = 'Fri Oct 12 14:01:18 2007'
__CHEETAH_src__ = 'webui_templates/master.tmpl'
-__CHEETAH_srcLastModified__ = 'Thu Oct 11 11:30:22 2007'
+__CHEETAH_srcLastModified__ = 'Fri Oct 12 11:53:14 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 56, col 1.
+ ## CHEETAH: generated from #block body at line 60, 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
@@ -124,15 +124,19 @@ class master(Template):
<link rel="stylesheet" type="text/css" media="all" href="/cobbler/webui/style.css" />
<link rel="stylesheet" type="text/css" media="all" href="/cobbler/webui/cobblerweb.css" />
+
+<script language="Javascript" src="/cobbler/webui/cobbler.js" ></script>
+
</head>
-<body>
+
+<body onload="global_onload();">
<div id="wrap">
<h1 id="masthead">
<a href="''')
- _v = VFFSL(SL,"base_url",True) # '$base_url' on line 16, col 18
- if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 16, col 18.
+ _v = VFFSL(SL,"base_url",True) # '$base_url' on line 20, col 18
+ if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 20, col 18.
write('''/index">
<img alt="Cobbler Logo"
src="/cobbler/webui/logo-cobbler.png"/>
@@ -145,70 +149,70 @@ class master(Template):
<div id="sidebar">
<ul id="nav">
''')
- if not VFFSL(SL,"logged_in",True): # generated from line 27, col 9
+ if not VFFSL(SL,"logged_in",True): # generated from line 31, col 9
write(''' <li><a href="''')
- _v = VFFSL(SL,"base_url",True) # '$base_url' on line 28, col 26
- if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 28, col 26.
+ _v = VFFSL(SL,"base_url",True) # '$base_url' on line 32, col 26
+ if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 32, col 26.
write('''/login" class="menu">Log In</a></li>
''')
- else: # generated from line 29, col 9
+ else: # generated from line 33, col 9
write(''' <li><a href="/cobbler/webui/wui.html" class="menu">Docs</a></li>
<li><a href="''')
- _v = VFFSL(SL,"base_url",True) # '$base_url' on line 31, col 26
- if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 31, col 26.
+ _v = VFFSL(SL,"base_url",True) # '$base_url' on line 35, col 26
+ if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 35, col 26.
write('''/settings_view" class="menu">Settings</a></li>
<li><a href="''')
- _v = VFFSL(SL,"base_url",True) # '$base_url' on line 32, col 26
- if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 32, col 26.
+ _v = VFFSL(SL,"base_url",True) # '$base_url' on line 36, col 26
+ if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 36, col 26.
write('''/logout_submit" class="menu">Log Out</a></li>
<li><hr/></li>
<li>LIST</li>
<li><a href="''')
- _v = VFFSL(SL,"base_url",True) # '$base_url' on line 35, col 26
- if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 35, col 26.
+ _v = VFFSL(SL,"base_url",True) # '$base_url' on line 39, col 26
+ if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 39, col 26.
write('''/distro_list" class="menu">Distros</a></li>
<li><a href="''')
- _v = VFFSL(SL,"base_url",True) # '$base_url' on line 36, col 26
- if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 36, col 26.
+ _v = VFFSL(SL,"base_url",True) # '$base_url' on line 40, col 26
+ if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 40, col 26.
write('''/profile_list" class="menu">Profiles</a></li>
<li><a href="''')
- _v = VFFSL(SL,"base_url",True) # '$base_url' on line 37, col 26
- if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 37, col 26.
+ _v = VFFSL(SL,"base_url",True) # '$base_url' on line 41, col 26
+ if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 41, col 26.
write('''/system_list" class="menu">Systems</a></li>
<li><a href="''')
- _v = VFFSL(SL,"base_url",True) # '$base_url' on line 38, col 26
- if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 38, col 26.
+ _v = VFFSL(SL,"base_url",True) # '$base_url' on line 42, col 26
+ if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 42, col 26.
write('''/ksfile_list" class="menu">Kickstarts</a></li>
<li><a href="''')
- _v = VFFSL(SL,"base_url",True) # '$base_url' on line 39, col 26
- if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 39, col 26.
+ _v = VFFSL(SL,"base_url",True) # '$base_url' on line 43, col 26
+ if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 43, col 26.
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 42, col 26
- if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 42, col 26.
+ _v = VFFSL(SL,"base_url",True) # '$base_url' on line 46, col 26
+ if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 46, col 26.
write('''/distro_edit" class="menu">Distro</a></li>
<li><a href="''')
- _v = VFFSL(SL,"base_url",True) # '$base_url' on line 43, col 26
- if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 43, col 26.
+ _v = VFFSL(SL,"base_url",True) # '$base_url' on line 47, col 26
+ if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 47, col 26.
write('''/profile_edit" class="menu">Profile</a></li>
<li><a href="''')
- _v = VFFSL(SL,"base_url",True) # '$base_url' on line 44, col 26
- if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 44, col 26.
+ _v = VFFSL(SL,"base_url",True) # '$base_url' on line 48, col 26
+ if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 48, col 26.
write('''/subprofile_edit" class="menu">Subprofile</a></li>
<li><a href="''')
- _v = VFFSL(SL,"base_url",True) # '$base_url' on line 45, col 26
- if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 45, col 26.
+ _v = VFFSL(SL,"base_url",True) # '$base_url' on line 49, col 26
+ if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 49, col 26.
write('''/system_edit" class="menu">System</a></li>
<li><a href="''')
- _v = VFFSL(SL,"base_url",True) # '$base_url' on line 46, col 26
- if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 46, col 26.
+ _v = VFFSL(SL,"base_url",True) # '$base_url' on line 50, col 26
+ if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 50, col 26.
write('''/repo_edit" class="menu">Repo</a></li>
<li><hr/><br/></li>
<li><a class="button sync" href="''')
- _v = VFFSL(SL,"base_url",True) # '$base_url' on line 48, col 46
- if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 48, col 46.
+ _v = VFFSL(SL,"base_url",True) # '$base_url' on line 52, col 46
+ if _v is not None: write(_filter(_v, rawExpr='$base_url')) # from line 52, col 46.
write('''/sync">Sync</a></li>
''')
write('''