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

View file

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