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