1 <?xml version="1.0" encoding="utf-8"?>
7 Files used in the generic theme, mostly bootstrap and a few OpenERP tags
9 <template id="theme" name="Theme">
10 <link id="bootstrap_css" rel='stylesheet' href='/website/static/lib/bootstrap/css/bootstrap.css' t-ignore="true"/>
11 <link id="website_css" rel='stylesheet' href='/website/static/src/css/website.css' t-ignore="true"/>
14 <template id="theme_flatly" name="Flat Theme" inherit_option_id="website.theme">
15 <xpath expr="//link[@id='bootstrap_css']" position="replace">
16 <link rel='stylesheet' href='/website/static/lib/bootstrap/css/bootstrap-flatly.css' t-ignore="true"/>
17 <link rel='stylesheet' href='/website/static/src/css/website-flatly.css' t-ignore="true"/>
21 <template id="layout">
23 <html t-att-data-view-xmlid="__stack__[0]">
25 <title><t t-esc="title or res_company.name"/></title>
26 <script type="text/javascript" src="/web/static/lib/jquery/jquery.js"></script>
27 <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/ckeditor/4.2/ckeditor.js"></script>
28 <script type="text/javascript" src="/website/static/lib/ckeditor.sharedspace/plugin.js"></script>
29 <script type="text/javascript">
30 CKEDITOR.disableAutoInline = true;
31 // EDIT ALL THE THINGS
32 CKEDITOR.dtd.$editable = $.extend(
33 {}, CKEDITOR.dtd.$block, CKEDITOR.dtd.$inline);
39 <link rel='stylesheet' href='/website/static/src/css/snippets.css'/>
40 <script type="text/javascript" src="/website/static/src/js/website_bootstrap.js"></script>
42 <t t-raw="head or ''"/>
43 <t t-call="website.theme"/>
45 <link rel='stylesheet' href='/web/static/lib/fontawesome/css/font-awesome.css'/>
46 <link rel='stylesheet' href='/website/static/lib/bootstrap/css/bootstrap-responsive.css'/>
49 <header class='navbar navbar-static-top'>
50 <div class='navbar-inner'>
51 <div class="container">
52 <a href='/page/website.homepage' class='brand'>
53 <em>Open</em><b>ERP</b>
54 <!--<img t-att-alt="res_company.name" src='/web/binary/company_logo'/></a>-->
56 <ul class="nav pull-right" id="top_menu">
57 <li><a href="/page/website.contactus">Contact us</a></li>
58 <li><a href="/admin">Sign in</a></li>
63 <div t-raw="0" id="wrap">
64 <div class="container">
69 <div class="container" id="footer_container">
71 <div class="span3" name="product">
73 <ul class='unstyled' name="products">
74 <li><a href="/">Home</a></li>
77 <div class="span3" name="info">
78 <h5 name="info_title">Connect with us</h5>
80 <li><a href="/page/website.aboutus">About us</a></li>
81 <li><a href="/page/website.contactus">Contact us</a></li>
84 <li><i class="icon-phone"></i> <span t-field="res_company.phone"/></li>
85 <li><i class="icon-envelope"></i> <span t-field="res_company.email"></span></li>
88 <div class="span5 offset1" name="about_us">
89 <h5 t-field="res_company.name">About us</h5>
91 We are a team of passionated people whose goal
92 is to improve everyone's life through
93 disruptive products. We build great products to
94 solve your business problems.
96 Our products are designed for small to medium
97 companies willing to optimize their
100 <h1 style="padding: 12px 24px">
101 <a href="http://twitter.com/openerp"><i class="icon-twitter-sign"></i></a>
102 <a href="http://facebook.com/OpenERP"><i class="icon-facebook-sign"></i></a>
103 <a href="https://plus.google.com/+openerp/posts"><i class="icon-google-plus-sign"></i></a>
108 <div class="container mt16">
109 <div class="pull-right" t-ignore="1">
110 Create a <a href="http://openerp.com/apps/website">free website</a> with <a class="label label-important" href="https://openerp.com/apps/website">OpenERP</a>
112 <div class="pull-left muted">
113 Copyright &copy; <span t-field="res_company.name">Company name</span> - <a href="/sitemap">Sitemap</a>
118 <div class='oe_snippet_editor' style="display: none;">
119 <div class='oe_snippet_list'>
121 <div class='oe_snippet' name='Picture' data-selector='[class*="span"]'>
123 <img class="img-rounded" src="/website/static/src/img/volcano.jpg"/>
127 <div class='oe_snippet' name='Introduction' data-selector=".container">
128 <section class="container">
129 <div class="row mt32 text-center">
130 <h2>Wildlife Analysis</h2>
131 <h3>In a beautiful place out in the country</h3>
133 <div class="row mt32">
135 <img class='img-rounded' src="/website/static/src/img/china.jpg"/>
139 Lorem ipsum dolor sit amet, consectetur adipisicing elit,
140 sed do eiusmod tempor incididunt ut labore et dolore magna
141 aliqua. Ut enim ad minim veniam, quis nostrud exercitation
142 ullamco laboris nisi ut aliquip ex ea commodo consequat.
145 Duis aute irure dolor in reprehenderit in voluptate velit
146 esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
147 occaecat cupidatat non proident, sunt in culpa qui officia
148 deserunt mollit anim id est laborum
155 <div class='oe_snippet' name='Three Columns' data-selector=".container">
156 <section class="container">
157 <div class="row mt32">
161 Lorem ipsum dolor sit amet, consectetur adipisicing elit,
162 sed do eiusmod tempor incididunt ut labore et dolore magna
163 aliqua. Ut enim ad minim veniam, quis nostrud exercitation
164 ullamco laboris nisi ut aliquip ex ea commodo consequat.
170 Duis aute irure dolor in reprehenderit in voluptate velit
171 esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
172 occaecat cupidatat non proident, sunt in culpa qui officia
173 deserunt mollit anim id est laborum
179 Sed ut perspiciatis unde omnis iste natus error sit voluptatem
180 accusantium doloremque laudantium, totam rem aperiam, eaque ipsa
181 quae ab illo inventore veritatis et quasi architecto beatae vitae
182 dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas
189 <div class='oe_snippet' name='Introduction' data-selector=".container">
190 <section class="container">
191 <div class="row mt32">
193 <h2>Wildlife Analysis</h2>
194 <h3>In a beautiful place out in the country</h3>
196 Lorem ipsum dolor sit amet, consectetur adipisicing elit,
197 sed do eiusmod tempor incididunt ut labore et dolore magna
198 aliqua. Ut enim ad minim veniam, quis nostrud exercitation
199 ullamco laboris nisi ut aliquip ex ea commodo consequat.
202 Duis aute irure dolor in reprehenderit in voluptate velit
203 esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
204 occaecat cupidatat non proident, sunt in culpa qui officia
205 deserunt mollit anim id est laborum
209 <img class='img-rounded' src="/website/static/src/img/greenfields.jpg"/>
215 <div class='oe_snippet oe_new' name='New Snippet'>
223 <template id="footer_custom" inherit_option_id="website.layout" name="Custom Footer">
224 <xpath expr="//div[@id='footer_container']" position="attributes">
225 <attribute name="style">display: none</attribute>
229 <template id="homepage">
230 <t t-call="website.layout">
233 <div id="myCarousel" class="carousel slide" data-interval='1000000'>
234 <div class="oe_carousel_options js_carousel_options" t-ignore="1">
235 <span class="label js_add"><i class="icon-plus-sign"></i></span>
236 <span class="label js_remove"><i class="icon-minus-sign"></i></span>
238 <!-- Carousel items -->
239 <div class="carousel-inner">
240 <div class="item active" style="background-image: url(/website/static/src/img/greenfields.jpg); background-size: cover;" >
241 <div class='container'>
242 <div class="mt64"> </div>
243 <h1>Create Awesome Websites</h1>
244 <h3>Super easy, fully flexible</h3>
245 <a href='/page/website.contactus' class='btn btn-success btn-large mt16'>Contact us</a>
249 <!-- Carousel nav -->
250 <a class="carousel-control left" href="#myCarousel" data-slide="prev" t-ignore="1">&lsaquo;</a>
251 <a class="carousel-control right" href="#myCarousel" data-slide="next" t-ignore="1">&rsaquo;</a>
256 <section class="container">
258 <div class="span12 text-center">
259 <h1 class='mt64'>Welcome To Your New Homepage,</h1>
260 <h2 class='mt32 subheader'>where <b><em>everything</em></b> can be customized </h2>
265 <div class='dark mt64'>
266 <section class="container">
269 <img class='img-rounded' src="/website/static/src/img/island.jpg"/>
271 <div class="span6 offset1">
273 Lorem ipsum dolor sit amet, consectetur adipisicing elit,
274 sed do eiusmod tempor incididunt ut labore et dolore magna
275 aliqua. Ut enim ad minim veniam, quis nostrud exercitation
276 ullamco laboris nisi ut aliquip ex ea commodo consequat.
279 Duis aute irure dolor in reprehenderit in voluptate velit
280 esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
281 occaecat cupidatat non proident, sunt in culpa qui officia
282 deserunt mollit anim id est laborum
284 <div class="text-center">
285 <a href="http://www.openerp.com/start" class="btn mt16 btn-large btn-primary">Call To <em>Action</em></a>
292 <section class="container">
294 <div class="span12 text-center">
295 <h2 class='mt48'>Ut enim ad minim veniam</h2>
298 <div class="row mt32">
300 <img class='img-rounded' src="/website/static/src/img/china_thumb.jpg"/>
301 <h4 class='mt16'>Cillum Dolore</h4>
303 Lorem ipsum dolor sit amet, consectetur adipisicing elit,
304 sed do eiusmod tempor incididunt ut labore et dolore magna
305 aliqua. Ut enim ad minim veniam, quis nostrud exercitation
306 ullamco laboris nisi ut aliquip ex ea commodo consequat.
310 <img class='img-rounded' src="/website/static/src/img/desert_thumb.jpg"/>
311 <h4 class='mt16'>Mollit Anim</h4>
313 Duis aute irure dolor in reprehenderit in voluptate velit
314 esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
315 occaecat cupidatat non proident, sunt in culpa qui officia
316 deserunt mollit anim id est laborum
320 <img class='img-rounded' src="/website/static/src/img/deers_thumb.jpg"/>
321 <h4 class='mt16'>Nemo Enim Ipsam</h4>
323 Sed ut perspiciatis unde omnis iste natus error sit voluptatem
324 accusantium doloremque laudantium, totam rem aperiam, eaque ipsa
325 quae ab illo inventore veritatis et quasi architecto beatae vitae
326 dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas
335 <template id="default_page">
336 <t t-call="website.layout">
337 <div class="container">
341 <p>Write your text here...</p>
350 <t t-call="website.layout">
351 <div class="container" t-if="editable and path">
352 <div class="well mt32">
354 This page does not exists, but you can create
355 it as you are administrator of this site.
357 <a class="btn btn-primary" t-att-href="'/pagenew/'+path">Create Page</a> <span class="muted"> or </span> <a href="/sitemap">Search a Page</a>
360 <div class="text-center muted">
361 Edit the content bellow this line to adapt the default "page not found" page.
365 <div class="container">
366 <h1 class="mt32">404: Page not found!</h1>
368 The page you were looking for could not be
369 found; it is possible you have typed the
370 address incorrectly, but it has most
371 probably been removed due to the recent
372 website reorganisation.
374 Maybe you were looking for one of these
378 <li><a href="/">Homepage</a></li>
379 <li><a href="/">Contact Us</a></li>
386 <t t-call="website.layout">
387 <div class="container">
388 <h1 class="mt32">500: Internal Server Error!</h1>
389 <pre t-esc="traceback"/>
395 <t t-call="website.layout">
396 <div class="container">
397 <h1 class="mt32">401: Unauthorized Access!</h1>
399 The page you were looking for could not be
402 Maybe you were looking for one of these
405 <pre class="hidden" t-esc="error"/>
407 <li><a href="/">Homepage</a></li>
408 <li><a href="/">Contact Us</a></li>
415 <template id="contactus" name="Contact us">
416 <t t-call="website.layout">
417 <t t-set="title">Contact us - <t t-raw="res_company.name"/></t>
418 <div class="container">
423 Contact us about anything related to our company or services.
425 We'll do our best to get back to you as soon as possible.
427 <div class="text-center mt64" name="mail_button">
428 <a t-att-href="'mailto:'+res_company.email" class="btn btn-primary">Send us an email</a>
433 <strong t-field="res_company.name">Name</strong><br/>
434 <span t-field="res_company.street"/> <span t-field="res_company.state_id"/><br/>
435 <span t-field="res_company.zip"/> <span t-field="res_company.city"/><br/>
436 <span t-field="res_company.country_id"> </span><br/>
438 <span>&#x2706; <span t-field="res_company.phone"></span></span><br/>
439 <i class="icon-envelope"></i> <span t-field="res_company.email"></span>
441 <a t-att-href="res_company.partner_id.google_map_link()" target="_BLANK">
442 <img class="thumbnail" t-att-src="res_company.partner_id.google_map_img()"/>
450 <template id="aboutus">
451 <t t-call="website.layout">
452 <t t-set="title">About us - <t t-raw="res_company.name"/></t>
453 <div class="container">
459 Contact us about anything related to our company or services.
461 We'll do our best to get back to you as soon as possible.
471 <template id="pager">
472 <div t-if="pager['page_count'] > 1" t-attf-class="#{ classname or '' } pagination">
474 <li t-att-class=" 'disabled' if pager['page']['num'] == 1 else '' " >
475 <a t-att-href=" pager['page_start']['url'] if pager['page']['num'] != 1 else '' ">Prev</a>
477 <t t-foreach="pager['pages']">
478 <li t-att-class=" 'active' if num == pager['page']['num'] else '' ">
479 <a t-att-href="url" t-raw="num"></a>
482 <li t-att-class=" 'disabled' if pager['page']['num'] == pager['page_count'] else '' " >
483 <a t-att-href=" pager['page_end']['url'] if pager['page']['num'] != pager['page_count'] else '' ">Next</a>
489 <template id="publish">
490 <a href="#" t-att-data-id="object.id" t-att-data-object="object._name" class="pull-right" t-if="editable" t-ignore="true">
491 <span t-att-class="'label label-success js_unpublish %%s' %% (not object.website_published and 'hidden' or '')">Unpublish</span>
492 <span t-att-class="'label label-important js_publish %%s' %% (object.website_published and 'hidden' or '')">Publish</span>