diff options
-rw-r--r-- | css/styles.css | 60 | ||||
-rw-r--r-- | live.cpp | 6 | ||||
-rw-r--r-- | pages/menu.ecpp | 30 | ||||
-rw-r--r-- | 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; +} @@ -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 <vdr/plugin.h> @@ -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 <string> #include <vdr/plugin.h> #include <vdr/config.h> #include "setup.h" +using namespace std; using namespace vdrlive; </%pre> @@ -44,6 +46,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); --- #> % if (LiveSetup().UseAuth()) { | <a id="login" href="login.html?action=logout"><$ tr("Logout") $></a> + | <a<& tooltip.display domId=("aboutBox") &> href="#">?</a> % } </div> % if (!component.empty()) { @@ -62,6 +65,33 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); </div> </div> </div> +<div style="display:none;"> + <div class="about_box" id="aboutBox"> + <div class="station"> + <div class="boxheader"><div><div><$ LIVESUMMARY $><& tooltip.close domId=("aboutBox") &></div></div></div> + </div> + <div class="about_content"> + <div> + <div class="about_head"><div><div><$ tr("Authors") $></div></div></div> + <div class="about_left"><$ tr("Project leader:") $></div> + <div class="about_right">Thomas Keil</div> + <div class="about_left"><$ tr("Webserver:") $></div> + <div class="about_right">Sascha Volkenandt</div> + <div class="about_left"><$ tr("Content:") $></div> + <div class="about_right">Dieter Hametner</div> + <div class="about_left"><$ tr("Content:") $></div> + <div class="about_right">Christian Wieninger</div> + <div class="about_left"><$ tr("Graphics:") $></div> + <div class="about_right">Michi Brückner</div> + <div class="about_head"><div><div><$ tr("Information") $></div></div></div> + <div class="about_left"><$ tr("LIVE version:") $></div> + <div class="about_right"><$ LIVEVERSION $></div> + <div class="about_left"><$ tr("VDR version:") $></div> + <div class="about_right"><$ VDRVERSION $></div> + </div> + </div> + </div> +</div> % } <%def setactive> @@ -7,6 +7,9 @@ #include "live.h" #include <vdr/menuitems.h> +#define LIVEVERSION "0.0.1" +#define LIVEVERSNUM 1 +#define LIVESUMMARY "Live Integrated VDR Environment" namespace vdrlive { |