summaryrefslogtreecommitdiffstats
path: root/webui_templates
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-18 15:17:46 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-18 15:17:46 -0400
commit292fff5d73b3185f411f1e7a9908b12942e55370 (patch)
treec27bca48f64489ae5a7cc8a83e91e9686dc9b2d2 /webui_templates
parent2127d90388fbe29d6b5d0446bd971acaf5051e55 (diff)
downloadcobbler-292fff5d73b3185f411f1e7a9908b12942e55370.tar.gz
cobbler-292fff5d73b3185f411f1e7a9908b12942e55370.tar.xz
cobbler-292fff5d73b3185f411f1e7a9908b12942e55370.zip
Add sync support to WUI
Diffstat (limited to 'webui_templates')
-rw-r--r--webui_templates/login.tmpl28
-rw-r--r--webui_templates/master.tmpl2
-rw-r--r--webui_templates/message.tmpl13
3 files changed, 42 insertions, 1 deletions
diff --git a/webui_templates/login.tmpl b/webui_templates/login.tmpl
new file mode 100644
index 00000000..bd3cf399
--- /dev/null
+++ b/webui_templates/login.tmpl
@@ -0,0 +1,28 @@
+#extends cobbler.webui.master
+
+#block body
+<form method="post" action="$base_url/login_submit">
+
+#if $message
+ <h1>$message</h1>
+#end if
+
+<fieldset id="login">
+ <legend>Log In</legend>
+
+ <label for="username">Username:</label>
+ <input type="text" id="username" name="username" style="width: 150px;" value="" size="16"/>
+
+ <br/>
+
+ <label for="password">Password:</label>
+ <input type="password" id="password" name="password" style="width: 150px;" value="" size="16"/>
+
+ <br/>
+
+ <input type="submit" name="submit" value="Login"/>
+
+</fieldset>
+</form>
+#end block body
+
diff --git a/webui_templates/master.tmpl b/webui_templates/master.tmpl
index 54f74696..0c3640ca 100644
--- a/webui_templates/master.tmpl
+++ b/webui_templates/master.tmpl
@@ -47,7 +47,7 @@
#end if
<li><hr/></li>
#end if
- <li>&lt;Sync&gt;</li>
+ <li><a href="$base_url/sync" class="menu">Sync</A></li>
</ul>
</div>
diff --git a/webui_templates/message.tmpl b/webui_templates/message.tmpl
new file mode 100644
index 00000000..45d2b4ad
--- /dev/null
+++ b/webui_templates/message.tmpl
@@ -0,0 +1,13 @@
+#extends cobbler.webui.master
+
+#block body
+
+$message1
+
+<br/>
+<br/>
+
+$message2
+
+#end block body
+