summaryrefslogtreecommitdiffstats
path: root/webui_templates
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-17 14:58:05 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-17 14:58:05 -0400
commit43aedaa8cf3cbcb9b1d7d4815e5db3e223dac417 (patch)
tree0975e4e3f8edfeb93c9ac8bee47c743e59e1a778 /webui_templates
parent4d391978ad2c5081a8d884c30c4269ca518824a7 (diff)
downloadthird_party-cobbler-43aedaa8cf3cbcb9b1d7d4815e5db3e223dac417.tar.gz
third_party-cobbler-43aedaa8cf3cbcb9b1d7d4815e5db3e223dac417.tar.xz
third_party-cobbler-43aedaa8cf3cbcb9b1d7d4815e5db3e223dac417.zip
Commit Al Tobey's auth patches to the Web UI.
Diffstat (limited to 'webui_templates')
-rw-r--r--webui_templates/master.tmpl16
1 files changed, 9 insertions, 7 deletions
diff --git a/webui_templates/master.tmpl b/webui_templates/master.tmpl
index 0e73c03..54f7469 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>&lt;Sync&gt;</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>&lt;Sync&gt;</li>
</ul>
</div>