summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorMichael Brückner <mb (plus) vdr (at) gekrumbel (dot) de>2007-04-27 13:55:00 +0000
committerMichael Brückner <mb (plus) vdr (at) gekrumbel (dot) de>2007-04-27 13:55:00 +0000
commit4eaf2d9d55cf668d1cbc7676e5bd44bb6eb69d3b (patch)
treedd1c4aeacc3a27aa48c65480cfe674e46546bfe0 /pages
parent28f384b5d1e897ee1f0642970c5edfd5d0d78f7d (diff)
downloadvdr-plugin-live-4eaf2d9d55cf668d1cbc7676e5bd44bb6eb69d3b.tar.gz
vdr-plugin-live-4eaf2d9d55cf668d1cbc7676e5bd44bb6eb69d3b.tar.bz2
- added actions für searchtimer & timer in submenu
- resized logo_login.png - beautified login page
Diffstat (limited to 'pages')
-rw-r--r--pages/login.ecpp12
-rw-r--r--pages/searchtimers.ecpp10
-rw-r--r--pages/timers.ecpp8
3 files changed, 19 insertions, 11 deletions
diff --git a/pages/login.ecpp b/pages/login.ecpp
index 7b4249e..c564b9b 100644
--- a/pages/login.ecpp
+++ b/pages/login.ecpp
@@ -40,7 +40,7 @@ if (logged_in || !LiveSetup().UseAuth()) return reply.redirect("whats_on.html");
<& pageelems.ajax_js &>
</head>
<body>
- <div style="width: 440px; margin: 0 auto; text-align: center; padding: 20px">
+ <div style="width: 420px; margin: 0 auto; text-align: center; padding: 20px">
<div class="boxheader"><div><div>VDR Live Login</div></div></div>
<div style="border: 1px solid black; padding: 15px">
<img src="logo_login.png" alt="VDR Live"></img>
@@ -48,18 +48,18 @@ if (logged_in || !LiveSetup().UseAuth()) return reply.redirect("whats_on.html");
<input type="hidden" name="action" value="login" />
<table class="login">
<tr>
- <td><$ tr("User") $></td>
- <td><input type="text" name="login" value="<$ login $>" /></td>
+ <td><$ tr("User") $>:</td>
+ <td><input type="text" name="login" value="<$ login $>" size="15" maxlength="15" /></td>
<td>&nbsp;</td>
</tr>
<tr>
- <td><$ tr("Password") $></td>
- <td><input type="password" name="password" value="<$ password $>" /></td>
+ <td><$ tr("Password") $>:</td>
+ <td><input type="password" name="password" value="<$ password $>" size="15" maxlength="15" /></td>
<td><button type="submit" class="blue"><$ tr("Login") $></td>
</tr>
</table>
</form>
- <div style="color: red; margin: 0 auto; padding: 10px">
+ <div style="color: red; margin: 0 auto;">
<$ message $>
</div>
</div>
diff --git a/pages/searchtimers.ecpp b/pages/searchtimers.ecpp
index c81f30f..4fbe38a 100644
--- a/pages/searchtimers.ecpp
+++ b/pages/searchtimers.ecpp
@@ -42,7 +42,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
</head>
<body onload="LiveStatusAjaxRequest('infobox.html', 'infobox')">
<& pageelems.logo &>
- <& menu active=("searchtimers") &>
+ <& menu active=("searchtimers") component=("searchtimers.searchtimer_actions")>
<div class="inhalt">
<table class="timers" cellspacing="0" cellpadding="0">
<tr class="head">
@@ -55,7 +55,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
- <td><a href="edit_searchtimer.html"><img src="/button_new.png" alt="" <& tooltip.hint text=(tr("New search timer")) &>/></a></td>
+ <td>&nbsp;</td>
<td style="background: url(bg_box_r.png); width: 3px;" /></td>
</tr>
<{
@@ -83,4 +83,8 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
</div>
</body>
</html>
-<%include>page_exit.eh</%include> \ No newline at end of file
+<%include>page_exit.eh</%include>
+
+<%def searchtimer_actions>
+<a href="edit_searchtimer.html"><$ tr("New search timer") $></a>
+</%def>
diff --git a/pages/timers.ecpp b/pages/timers.ecpp
index 94428f6..05084b8 100644
--- a/pages/timers.ecpp
+++ b/pages/timers.ecpp
@@ -54,7 +54,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
</head>
<body onload="LiveStatusAjaxRequest('infobox.html', 'infobox')">
<& pageelems.logo &>
- <& menu active=("timers") &>
+ <& menu active=("timers") component=("timers.timer_actions")>
<div class="inhalt">
% if (timers.size() == 0) {
Keiner Timer definiert
@@ -82,7 +82,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
<td><$ tr("File") $></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
- <td><a href="edit_timer.html"><img src="/button_new.png" alt="" <& tooltip.hint text=(tr("New timer")) &>/></a></td>
+ <td>&nbsp;</td>
<td style="background: url(bg_box_r.png); width: 3px;" /></td>
</tr>
<{
@@ -111,3 +111,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
</body>
</html>
<%include>page_exit.eh</%include>
+
+<%def timer_actions>
+<a href="edit_timer.html"><$ tr("New timer") $></a>
+</%def>