improve layout for MicroArticle
This commit is contained in:
parent
44f38115ba
commit
4ad6f59abf
2 changed files with 21 additions and 10 deletions
|
@ -509,6 +509,14 @@ div.comment {
|
||||||
color: #666666;
|
color: #666666;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* microart */
|
||||||
|
|
||||||
|
.micropart {
|
||||||
|
background-color: #f7f7f7;
|
||||||
|
padding: 0 5px 0 5px;
|
||||||
|
margin: 5px 0 5px 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* calendar, work items */
|
/* calendar, work items */
|
||||||
|
|
||||||
.today {
|
.today {
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
|
|
||||||
|
|
||||||
<div metal:define-macro="main"
|
<div metal:define-macro="main"
|
||||||
tal:define="data item/data"
|
tal:define="data item/data">
|
||||||
class="microart">
|
|
||||||
<metal:block use-macro="view/concept_macros/concepttitle_only" />
|
<metal:block use-macro="view/concept_macros/concepttitle_only" />
|
||||||
<div class="description"
|
<div class="description"
|
||||||
tal:define="description description|item/renderedDescription"
|
tal:define="description description|item/renderedDescription"
|
||||||
|
@ -12,14 +11,18 @@
|
||||||
<span tal:content="structure description">Description</span>
|
<span tal:content="structure description">Description</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<div class="span-6 last"
|
<div class="span-6 last micropart">
|
||||||
tal:content="structure item/story" />
|
<h4 i18n:translate="">Story</h4>
|
||||||
<div class="span-2"
|
<div tal:content="structure item/story" /></div>
|
||||||
tal:content="structure item/insight" />
|
<div class="span-6 last micropart">
|
||||||
<div class="span-2"
|
<h4 i18n:translate="">Insight</h4>
|
||||||
tal:content="structure item/consequences" />
|
<div tal:content="structure item/insight" /></div>
|
||||||
<div class="span-2 last"
|
<div class="span-6 last micropart">
|
||||||
tal:content="structure item/followUps" /></div><br clear="both" />
|
<h4 i18n:translate="">Consequences</h4>
|
||||||
|
<div tal:content="structure item/consequences" /></div>
|
||||||
|
<div class="span-6 last micropart">
|
||||||
|
<h4 i18n:translate="">Follow-up Questions</h4>
|
||||||
|
<div tal:content="structure item/followUps" /></div><br clear="both" /></div>
|
||||||
<metal:block use-macro="view/comment_macros/comments" />
|
<metal:block use-macro="view/comment_macros/comments" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue