From cf9e6c0acbc49e096baa1517cb5be00d07d60339 Mon Sep 17 00:00:00 2001 From: Sascha Volkenandt Date: Fri, 25 May 2007 19:12:28 +0000 Subject: - about box, first summit --- css/styles.css | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ live.cpp | 6 +++--- pages/menu.ecpp | 30 +++++++++++++++++++++++++++++ setup.h | 3 +++ 4 files changed, 96 insertions(+), 3 deletions(-) diff --git a/css/styles.css b/css/styles.css index d0063c1..dea2d32 100644 --- a/css/styles.css +++ b/css/styles.css @@ -875,3 +875,63 @@ table.login tr td { padding: 3px 5px; text-align: right; } + +/* ############################## + # About box + ############################## +*/ + +div.about_box { + width: 50%; + border: none; +} + +.about_box div.about_description { +} + +.about_box div.about_content { + padding: 0; + margin: 0; + + border-left: 1px solid #000000; + border-right: 1px solid #000000; + border-bottom: 1px solid #000000; +} + +.about_box div.about_content div { + background-color: white; + padding-bottom: 6px; +} + +.about_box div.boxheader div div a { +} + +.about_box div.about_content div.about_left { + text-align: right; + float: left; + width: 100px; +} + +.about_box div.about_content div.about_right { + padding-left: 115px; +} + +.about_box div.about_content div.about_head { + font-weight: bold; + margin-top: 2px; + padding-top: 6px; + margin-bottom: 6px; + background: #FFFFFF url(bg_line.png) top repeat-x; +} + +.about_box div.about_content div.about_head div { + padding-bottom: 6px; + background: #FFFFFF url(bg_line_top.png) bottom repeat-x; +} + +.about_box div.about_content div.about_head div div { + padding: 2px 0px 2px 10px; + background: #E9EFFF; + border-top: 1px solid #C0C1DA; + border-bottom: 1px solid #C0C1DA; +} diff --git a/live.cpp b/live.cpp index 9997a8d..1c0f22a 100644 --- a/live.cpp +++ b/live.cpp @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: live.cpp,v 1.14 2007/04/26 16:17:36 thomas Exp $ + * $Id: live.cpp,v 1.15 2007/05/25 19:12:28 lordjaxom Exp $ */ #include @@ -19,8 +19,8 @@ namespace vdrlive { using namespace std; -const char *Plugin::VERSION = "0.0.1"; -const char *Plugin::DESCRIPTION = "Live Integrated VDR Environment"; +const char *Plugin::VERSION = LIVEVERSION; +const char *Plugin::DESCRIPTION = LIVESUMMARY; std::string Plugin::m_configDirectory; diff --git a/pages/menu.ecpp b/pages/menu.ecpp index 4a034a1..16bd8a5 100644 --- a/pages/menu.ecpp +++ b/pages/menu.ecpp @@ -1,8 +1,10 @@ <%pre> +#include #include #include #include "setup.h" +using namespace std; using namespace vdrlive; @@ -44,6 +46,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); --- #> % if (LiveSetup().UseAuth()) { | <$ tr("Logout") $> + | href="#">? % } % if (!component.empty()) { @@ -62,6 +65,33 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); +
+
+
+
<$ LIVESUMMARY $><& tooltip.close domId=("aboutBox") &>
+
+
+
+
<$ tr("Authors") $>
+
<$ tr("Project leader:") $>
+
Thomas Keil
+
<$ tr("Webserver:") $>
+
Sascha Volkenandt
+
<$ tr("Content:") $>
+
Dieter Hametner
+
<$ tr("Content:") $>
+
Christian Wieninger
+
<$ tr("Graphics:") $>
+
Michi Brückner
+
<$ tr("Information") $>
+
<$ tr("LIVE version:") $>
+
<$ LIVEVERSION $>
+
<$ tr("VDR version:") $>
+
<$ VDRVERSION $>
+
+
+
+
% } <%def setactive> diff --git a/setup.h b/setup.h index e9e2aaa..2bd2dce 100644 --- a/setup.h +++ b/setup.h @@ -7,6 +7,9 @@ #include "live.h" #include +#define LIVEVERSION "0.0.1" +#define LIVEVERSNUM 1 +#define LIVESUMMARY "Live Integrated VDR Environment" namespace vdrlive { -- cgit v1.2.3