[IMP] improved view of main form template

bzr revid: sunilsharma.sharma07@gmail.com-20140307130924-f5angd1uzbksnz6c
This commit is contained in:
Sunil Sharma (OpenERP) 2014-03-07 18:39:24 +05:30
parent 937e9c7acf
commit 57622f3afc
2 changed files with 28 additions and 3 deletions

View File

@ -42,4 +42,22 @@
.badge-bronze {
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%;
}

View File

@ -152,9 +152,16 @@
<template id="forum_index">
<t t-call="website.layout">
<!--TODO: Improve template -->
<t t-foreach="forum_ids" t-as="forum">
<a t-attf-href="/forum/#{ slug(forum) }" class="box oe_green" t-field="forum.name"/>
<t t-set="head">
<link rel='stylesheet' href='/website_forum/static/src/css/website_forum.css' />
</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">
<div t-field="forum.faq"/>
</t-->