diff options
author | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-09-17 14:58:05 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-09-17 14:58:05 -0400 |
commit | 43aedaa8cf3cbcb9b1d7d4815e5db3e223dac417 (patch) | |
tree | 0975e4e3f8edfeb93c9ac8bee47c743e59e1a778 /webui_templates | |
parent | 4d391978ad2c5081a8d884c30c4269ca518824a7 (diff) | |
download | cobbler-43aedaa8cf3cbcb9b1d7d4815e5db3e223dac417.tar.gz cobbler-43aedaa8cf3cbcb9b1d7d4815e5db3e223dac417.tar.xz cobbler-43aedaa8cf3cbcb9b1d7d4815e5db3e223dac417.zip |
Commit Al Tobey's auth patches to the Web UI.
Diffstat (limited to 'webui_templates')
-rw-r--r-- | webui_templates/master.tmpl | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/webui_templates/master.tmpl b/webui_templates/master.tmpl index 0e73c036..54f74696 100644 --- a/webui_templates/master.tmpl +++ b/webui_templates/master.tmpl @@ -24,12 +24,6 @@ <div id="sidebar"> <ul id="nav"> - <li> - <select name="cobbler_server" style="text-transform: none;"> - <option value="http://localhost:25151">http://localhost:25151</option> - </select> - </li> - <li><hr/></li> <li><a href="$base_url/settings_view" class="menu">Settings</a></li> <li><hr/></li> <li>LIST</li> @@ -45,7 +39,15 @@ <li><a href="$base_url/system_edit" class="menu">System</a></li> <li><a href="$base_url/repo_edit" class="menu">Repo</a></li> <li><hr/></li> - <li><Sync></li> + #if $logged_in != 'configured' + #if $logged_in + <li><a href="$base_url/logout_submit" class="menu">Log Out</a></li> + #else + <li><a href="$base_url/login" class="menu">Log In</a></li> + #end if + <li><hr/></li> + #end if + <li><Sync></li> </ul> </div> |