Fixed keyword view layout
This commit is contained in:
parent
d8e826f6ef
commit
0023fa0472
|
@ -10,20 +10,20 @@
|
|||
<metal:main fill-slot="main">
|
||||
|
||||
<div id="dmskeywords-navigation">
|
||||
<div id="dmskeywords-navigation-broader">
|
||||
<tal:parents define="widget python:view.widgets.get('broader')">
|
||||
<div class="field" tal:condition="python:widget.__name__ not in ('IBasic.title', 'IBasic.description', 'title', 'description',)">
|
||||
|
||||
<tal:broader define="widget python:view.widgets.get('broader')">
|
||||
<div id="dmskeywords-navigation-broader"
|
||||
class="field"
|
||||
tal:condition="python:widget.__name__ not in ('IBasic.title', 'IBasic.description', 'title', 'description',)">
|
||||
<label tal:content="widget/label" />
|
||||
<br />
|
||||
<div tal:content="structure widget/render" />
|
||||
</div>
|
||||
</tal:parents>
|
||||
</div>
|
||||
</tal:broader>
|
||||
|
||||
<div id="dmskeywords-navigation-focus">
|
||||
<div id="dmskeywords-navigation-middle">
|
||||
|
||||
<div >
|
||||
<tal:parents define="widget python:view.widgets.get('related')">
|
||||
<tal:related define="widget python:view.widgets.get('related')">
|
||||
<div id="dmskeywords-navigation-related"
|
||||
class="field"
|
||||
tal:condition="python:widget.__name__ not in ('IBasic.title', 'IBasic.description', 'title', 'description',)">
|
||||
|
@ -31,25 +31,26 @@
|
|||
<br />
|
||||
<div tal:content="structure widget/render" />
|
||||
</div>
|
||||
</tal:parents>
|
||||
</div>
|
||||
</tal:related>
|
||||
|
||||
<div id="dmskeywords-navigation-focus">
|
||||
<h1 class="documentFirstHeading" tal:content="context/Title" />
|
||||
<!-- p class="documentDescription" tal:content="context/Description" /-->
|
||||
<div tal:replace="structure provider:plone.belowcontenttitle" />
|
||||
|
||||
<tal:equivs define="widget python:view.widgets.get('equivs')">
|
||||
<div class="field" tal:condition="python:widget.__name__ not in ('IBasic.title', 'IBasic.description', 'title', 'description',)">
|
||||
<div class="field"
|
||||
tal:condition="python:widget.__name__ not in ('IBasic.title', 'IBasic.description', 'title', 'description',)">
|
||||
<label tal:content="widget/label" />
|
||||
<br />
|
||||
<div tal:content="structure widget/render" />
|
||||
</div>
|
||||
</tal:equivs>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="dmskeywords-navigation-children">
|
||||
<div class="field">
|
||||
<div class="field" id="dmskeywords-navigation-narrower">
|
||||
<label tal:content="string:NT (Narrower Terms)" />
|
||||
<br />
|
||||
<ul id="" class=""
|
||||
|
@ -63,7 +64,7 @@
|
|||
/></li
|
||||
></ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</metal:main>
|
||||
|
|
|
@ -2,16 +2,28 @@
|
|||
margin-top: 1em;
|
||||
}
|
||||
|
||||
#dmskeywords-navigation-focus {
|
||||
border-top: 1px solid black;
|
||||
#dmskeywords-navigation-broader {
|
||||
border-bottom: 1px solid black;
|
||||
}
|
||||
|
||||
#dmskeywords-navigation-related {
|
||||
padding: 0, 1em, 0, 1em;
|
||||
float: right;
|
||||
#dmskeywords-navigation-narrower {
|
||||
border-top: 1px solid black;
|
||||
}
|
||||
|
||||
#dmskeywords-navigation-focus {
|
||||
padding: 0, 1em, 0, 1em;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#dmskeywords-navigation-related {
|
||||
float: right;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#dmskeywords-navigation-left {
|
||||
float: left;
|
||||
padding-right: 1em;
|
||||
|
|
Reference in New Issue