diff options
-rw-r--r-- | html/page.html | 20 | ||||
-rw-r--r-- | html/style.css | 12 |
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"> </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; +} |