summaryrefslogtreecommitdiff
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
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
-rw-r--r--css/styles.css8
-rw-r--r--i18n.cpp2
-rw-r--r--images/logo_login.pngbin54893 -> 35256 bytes
-rw-r--r--pages/login.ecpp12
-rw-r--r--pages/searchtimers.ecpp10
-rw-r--r--pages/timers.ecpp8
6 files changed, 27 insertions, 13 deletions
diff --git a/css/styles.css b/css/styles.css
index 1f90b75..eea1a8b 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -165,6 +165,12 @@ div.pagemenu div div {
border-bottom: 1px solid #C0C1DA;
}
+div.pagemenu a {
+ text-decoration: none;
+ color: black;
+ font-weight: bold;
+}
+
/* #######################
# Info Box (near logo)
#######################
@@ -770,7 +776,7 @@ table.searchresults td.border {
*/
table.login {
- margin: 0 auto;;
+ margin: 0 auto;
}
table.login tr td {
diff --git a/i18n.cpp b/i18n.cpp
index 16d9d8a..35407a5 100644
--- a/i18n.cpp
+++ b/i18n.cpp
@@ -422,7 +422,7 @@ const tI18nPhrase Phrases[] = {
"", // Czech
},
{ "New timer", // English
- "Neuer Timer", // Deutsch
+ "Neuen Timer anlegen", // Deutsch
"", // Slovenski
"", // Italiano
"", // Nederlands
diff --git a/images/logo_login.png b/images/logo_login.png
index 087ecd0..e6186ad 100644
--- a/images/logo_login.png
+++ b/images/logo_login.png
Binary files differ
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>