some layout improvements

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1235 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2006-05-31 07:19:58 +00:00
parent b3ff0831d9
commit 7cf086ef29
2 changed files with 8 additions and 10 deletions

View file

@ -13,8 +13,7 @@
summary string:Currently assigned objects;
legend string:Parent Concepts;
showPredicate string:yes;
buttonText string:Remove Parents;"
style="float:left; padding-right:20px">
buttonText string:Remove Parents;">
<metal:parents use-macro="views/relation_macros/listing" />
</div>
<div tal:define="items view/children;
@ -23,14 +22,12 @@
summary string:Currently assigned objects;
legend string:Child Concepts;
showPredicate string:yes;
buttonText string:Remove Children;"
style="padding-right:20px">
buttonText string:Remove Children;">
<metal:children use-macro="views/relation_macros/listing" />
</div>
<div tal:define="legend string:Create Concept;
buttonText string:Create Concept"
style="padding-right:20px; clear:left">
buttonText string:Create Concept">
<metal:create use-macro="views/relation_macros/create" />
</div>
@ -40,8 +37,7 @@
summary string:Assignment candidates;
legend string:Search;
showPredicate nothing;
buttonText string:Assign;"
style="padding-right:20px">
buttonText string:Assign;">
<metal:assign use-macro="views/relation_macros/listing">
<metal:search fill-slot="topActions">
<metal:block use-macro="views/relation_macros/search" />

View file

@ -4,7 +4,8 @@
<metal:assignments define-macro="listing">
<fieldset>
<legend tal:content="legend"
i18n:translate="">Listing</legend>
i18n:translate=""
style="padding: 0 4px 0 4px">Listing</legend>
<metal:top define-slot="topActions" />
<form metal:define-macro="listing_form"
method="post" name="listing" action="."
@ -75,7 +76,8 @@
<metal:create define-macro="create">
<fieldset>
<legend tal:content="legend"
i18n:translate="">Create Object</legend>
i18n:translate=""
style="padding: 0 4px 0 4px">Create Object</legend>
<form method="post" name="listing" action="."
tal:attributes="action request/URL">
<input type="hidden" name="action" value="create" />