appy.gen: bugfixes.

This commit is contained in:
Gaetan Delannay 2011-12-05 18:15:45 +01:00
parent c5a8968bd3
commit d5f26dd1df
7 changed files with 44 additions and 39 deletions

View file

@ -1,4 +1,5 @@
body { font: 70% Lucida,Helvetica,Arial,sans-serif; background-color: #EAEAEA; }
pre { font: 100% Lucida,Helvetica,Arial,sans-serif; margin: 0}
h1 { font-size: 11pt; margin:0;}
h2 { font-size: 10pt; margin:0; font-style: italic; font-weight: normal;}
h3 { font-size: 9pt; margin:0; font-weight: bold;}

View file

@ -313,6 +313,6 @@
<tal:comment replace="nothing">
This macro displays the global message on the page.
</tal:comment>
<metal:message define-macro="message" tal:define="messages tool/getMessages" tal:condition="messages">
<div class="message" tal:content="structure python: ''.join([m[1] for m in messages])"></div>
<metal:message define-macro="message" tal:define="messages tool/consumeMessages" tal:condition="messages">
<div class="message" tal:content="structure messages"></div>
</metal:message>

View file

@ -18,7 +18,7 @@
<script type="text/javascript" tal:attributes="src string:$appUrl/ui/appy.js"></script>
</head>
<body>
<body tal:on-error="structure python: tool.manageError(error)">
<table class="main" align="center" cellpadding="0">
<tal:comment replace="nothing">Top banner</tal:comment>
<tr class="top" metal:define-slot="top">