summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-01-28 23:08:36 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-01-28 23:08:36 +0000
commita79cf75ab3ad3c1dc892fe4d09762996c11611c7 (patch)
treedee4d6e5ef28a0ad22702156d89a4d02a76804f4 /html
parent112774f08d4bc970feaa7a56074e5acaf76e5154 (diff)
moved message boxes to top
Diffstat (limited to 'html')
-rw-r--r--html/page.html20
-rw-r--r--html/style.css12
2 files changed, 24 insertions, 8 deletions
diff --git a/html/page.html b/html/page.html
index e0526f7..5ff51d9 100644
--- a/html/page.html
+++ b/html/page.html
@@ -104,6 +104,18 @@ status_notresolved string:-1,1,2,3,4,5,6,7;
</td>
<td class="sub">&nbsp;</td>
</tr>
+ <tr>
+ <td colspan="2">
+ <p tal:condition="options/error_message | nothing" class="error-message"
+ tal:repeat="m options/error_message" tal:content="structure m" />
+ <p tal:condition="options/ok_message | nothing" class="ok-message">
+ <span tal:repeat="m options/ok_message"
+ tal:content="structure string:$m <br/ > " />
+ <a class="form-small" tal:attributes="href request/current_url"
+ i18n:translate="">clear this message</a>
+ </p>
+ </td>
+ </tr>
</tbody>
</table>
<table class="tabs">
@@ -213,14 +225,6 @@ status_notresolved string:-1,1,2,3,4,5,6,7;
</p>
</td>
<td>
- <p tal:condition="options/error_message | nothing" class="error-message"
- tal:repeat="m options/error_message" tal:content="structure m" />
- <p tal:condition="options/ok_message | nothing" class="ok-message">
- <span tal:repeat="m options/ok_message"
- tal:content="structure string:$m <br/ > " />
- <a class="form-small" tal:attributes="href request/current_url"
- i18n:translate="">clear this message</a>
- </p>
</td>
</tr>
</table>
diff --git a/html/style.css b/html/style.css
index 1ab5e04..33707db 100644
--- a/html/style.css
+++ b/html/style.css
@@ -620,3 +620,15 @@ pre.content {
table.nowrap td.wrap {
white-space: normal;
}
+
+p.error-message,
+p.ok-message {
+ text-align: center;
+ padding: 5px;
+}
+p.ok-message {
+ background-color: #8F8;
+}
+p.error-message {
+ background-color: #FF8888;
+}