[IMP] improved view of main form template
bzr revid: sunilsharma.sharma07@gmail.com-20140307130924-f5angd1uzbksnz6c
This commit is contained in:
parent
937e9c7acf
commit
57622f3afc
|
@ -42,4 +42,22 @@
|
||||||
|
|
||||||
.badge-bronze {
|
.badge-bronze {
|
||||||
color: #EEA91E
|
color: #EEA91E
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.speech-bubble {
|
||||||
|
position: relative;
|
||||||
|
background-color: #428bca;
|
||||||
|
width: 200px;
|
||||||
|
line-height: 150px;
|
||||||
|
color: white;
|
||||||
|
text-align: center;
|
||||||
|
border-radius: 25px;
|
||||||
|
}
|
||||||
|
.speech-bubble-bottom:after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
border: 15px solid;
|
||||||
|
border-top-color: #428bca;
|
||||||
|
top: 100%;
|
||||||
|
left: 70%;
|
||||||
|
}
|
||||||
|
|
|
@ -152,9 +152,16 @@
|
||||||
<template id="forum_index">
|
<template id="forum_index">
|
||||||
<t t-call="website.layout">
|
<t t-call="website.layout">
|
||||||
<!--TODO: Improve template -->
|
<!--TODO: Improve template -->
|
||||||
<t t-foreach="forum_ids" t-as="forum">
|
<t t-set="head">
|
||||||
<a t-attf-href="/forum/#{ slug(forum) }" class="box oe_green" t-field="forum.name"/>
|
<link rel='stylesheet' href='/website_forum/static/src/css/website_forum.css' />
|
||||||
</t>
|
</t>
|
||||||
|
<div class="container">
|
||||||
|
<t t-foreach="forum_ids" t-as="forum">
|
||||||
|
<div class="speech-bubble speech-bubble-bottom mt32 mb32 pull-left" style="margin-left:30px">
|
||||||
|
<a style="color:white" t-attf-href="/forum/#{ slug(forum) }" t-field="forum.name"/>
|
||||||
|
</div>
|
||||||
|
</t>
|
||||||
|
</div>
|
||||||
<!--t t-call="website_forum.faq">
|
<!--t t-call="website_forum.faq">
|
||||||
<div t-field="forum.faq"/>
|
<div t-field="forum.faq"/>
|
||||||
</t-->
|
</t-->
|
||||||
|
|
Loading…
Reference in New Issue