summaryrefslogtreecommitdiff
path: root/pages/menu.ecpp
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2008-02-24 19:37:21 +0100
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2008-02-24 19:37:21 +0100
commit41298f1f32e40644b2837c96c45b02e9ad27f95f (patch)
tree19d0ba2874a237e27344a0b56c2e881d0f65f5f6 /pages/menu.ecpp
parent503a94cd38b65b686fe898aba960b55ab47ddbf5 (diff)
downloadvdr-plugin-live-41298f1f32e40644b2837c96c45b02e9ad27f95f.tar.gz
vdr-plugin-live-41298f1f32e40644b2837c96c45b02e9ad27f95f.tar.bz2
Added functionality to display timer conflicts when polled through the
statusbox updates. Created the layout and look of the status message.
Diffstat (limited to 'pages/menu.ecpp')
-rw-r--r--pages/menu.ecpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/pages/menu.ecpp b/pages/menu.ecpp
index bb7f47a..a998169 100644
--- a/pages/menu.ecpp
+++ b/pages/menu.ecpp
@@ -60,6 +60,23 @@ if (LiveSetup().UseAuth()) {
</%cpp>
| <a <& tooltip.display domId=("aboutBox") &>>?</a>
</div>
+<div id="messagebar" class="<? !timerNotifier.ShouldNotify() ? "notpresent" ?>">
+ <div> <!-- outer -->
+ <div><!-- inner -->
+ <$ tr("Your attention is required") $>:
+ <span id="mbmessage"><$ timerNotifier.Message() $></span>
+ <a id="mbreact" href="<$ timerNotifier.Url() $>"><$ tr("React") $></a>
+<%cpp>
+if (LiveSetup().GetUseAjax()) {
+</%cpp>
+ <span id="mbdelimiter" class="<? timerNotifier.Url().empty() ? "notpresent" ?>">|</span>
+ <span id="mbdismiss"><a href="" onclick="$('messagebar').addClass('notpresent'); return false"><$ tr("Dismiss") $></a></span>
+<%cpp>
+}
+</%cpp>
+ </div>
+ </div>
+</div>
<%cpp>
if (!component.empty()) {
</%cpp>