bzr revid: al@openerp.com-20130702151357-jl07iivl285tpf10
This commit is contained in:
Antony Lesuisse
2013-07-02 17:13:57 +02:00
parent 8bb5042e4f
commit ccab75ba98
4 changed files with 138 additions and 9 deletions
+72
View File
@@ -1,4 +1,74 @@
@charset "utf-8";
.oe_website {
background: #e9e9e9;
color: #646464;
}
.oe_website_header {
background: white;
color: #333333;
padding-top: 8px;
}
/* Body {{{ */
.oe_website_body {
background: white;
color: #333333;
padding-bottom: 32px;
padding-top: 32px;
}
/* }}} */
/* Footer {{{ */
.oe_website_footer {
border-top: solid 1px #e0e0e0;
padding-bottom: 32px;
padding-top: 32px;
}
.oe_website_footer h5 {
border-bottom: solid 1px rgba(0, 0, 0, 0.06);
margin-right: 24px;
padding-bottom: 6px;
margin-bottom: 6px;
margin-top: 24px;
}
.oe_website_footer ul {
list-style: none;
padding: 0;
margin: 0;
}
.oe_website_footer ul li {
display: block;
margin-bottom: 4px;
font-size: 14px;
margin-right: 32px;
}
.oe_website_footer ul li a {
color: inherit;
text-decoration: inherit;
}
.oe_website_footer ul li a:visited {
color: inherit;
text-decoration: inherit;
}
.oe_website_footer ul li a:hover {
color: black;
text-decoration: inherit;
}
.oe_website_copy {
margin-top: 24px;
margin-bottom: 6px;
}
/* }}} */
/* Editor {{{ */
.oe_website_editorbar {
position: fixed;
top: 0;
@@ -14,3 +84,5 @@
.oe_website_editorbar li {
display: inline;
}
/* }}} */
@@ -1,5 +1,66 @@
@charset "utf-8"
// vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker:fdl=0
.oe_website
background: #e9e9e9
color: #646464
.oe_website_header
background: #fff
color: #333
padding-top: 8px
/* Body {{{ */
.oe_website_body
background: #fff
color: #333
padding-bottom: 32px
padding-top: 32px
/* }}} */
/* Footer {{{ */
.oe_website_footer
border-top: solid 1px #e0e0e0
padding-bottom: 32px
padding-top: 32px
.oe_website_footer h5
border-bottom: solid 1px rgba(0, 0, 0, 0.06)
margin-right: 24px
padding-bottom: 6px
margin-bottom: 6px
margin-top: 24px
.oe_website_footer ul
list-style: none
padding: 0
margin: 0
.oe_website_footer ul li
display: block
margin-bottom: 4px
font-size: 14px
margin-right: 32px
.oe_website_footer ul li a
color: inherit
text-decoration: inherit
.oe_website_footer ul li a:visited
color: inherit
text-decoration: inherit
.oe_website_footer ul li a:hover
color: black
text-decoration: inherit
.oe_website_copy
margin-top: 24px
margin-bottom: 6px
/* }}} */
/* Editor {{{ */
.oe_website_editorbar
position: fixed
top: 0
@@ -14,4 +75,7 @@
li
display: inline
/* }}} */
@@ -3,6 +3,7 @@ Aloha.ready(function() {
// TODO: Webclient research : use iframe embedding mode
// Meanwhile, let's HACK !!!
var $web = $('<div style="display: none;"/>').appendTo('body');
var $web = $('<div style="display: none;"/>').appendTo($web);
var s = new openerp.init(['web', 'website']);
s.web.WebClient.bind_hashchange = s.web.blockUI = s.web.unblockUI = function() {};
s.web.WebClient.include({ do_push_state: function() {} });
+1 -9
View File
@@ -95,18 +95,10 @@
<field name="type">qweb</field>
<field name="arch" type="xml">
<t t-call="website.layout">
<div style="background: linear-gradient(to bottom, rgba(136,191,232,1) 0%%,rgba(112,176,224,1) 100%%); height: 200px; ">
<div class="container">
<div class="row">
<h1>Banner title</h1>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="span12">
Description
<h1>I'm you home page, please edit me...</h1>
</div>
</div>
</div>