aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/yoga/default-colors.css11
-rw-r--r--template/yoga/header.tpl19
2 files changed, 20 insertions, 10 deletions
diff --git a/template/yoga/default-colors.css b/template/yoga/default-colors.css
index 8b73f966b..05753658a 100644
--- a/template/yoga/default-colors.css
+++ b/template/yoga/default-colors.css
@@ -68,6 +68,17 @@ INPUT[type="radio"] { /* for Opera */
padding: 10px 50px 10px 10px;
}
+/**
+ * Header message like upgrade or adviser mode
+ */
+.header_msgs {
+ text-align:center;
+ font-weight: bold;
+ color:#696969; /* dimgray */
+ background-color: #d3d3d3;
+ margin: 5px;
+}
+
LEGEND {
font-style: italic;
}
diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl
index 3e01c9fe9..d3685e3c0 100644
--- a/template/yoga/header.tpl
+++ b/template/yoga/header.tpl
@@ -30,14 +30,13 @@ the "text/nonsense" prevents gecko based browsers to load it -->
<body id="{BODY_ID}">
<div id="the_page">
-
-<div id="theHeader">{PAGE_BANNER}</div>
-<!-- BEGIN warnings -->
-<div class="infos">
- <ul>
- <!-- BEGIN warning -->
- <li>{warnings.warning.WARNING}</li>
- <!-- END warning -->
- </ul>
+<!-- BEGIN header_msgs -->
+<div class="header_msgs">
+ <table>
+ <!-- BEGIN header_msg -->
+ <tr><td>{header_msgs.header_msg.HEADER_MSG}</td></tr>
+ <!-- END header_msg -->
+ </table>
</div>
-<!-- END warnings -->
+<!-- END header_msgs -->
+<div id="theHeader">{PAGE_BANNER}</div>