1 <?xml version="1.0" encoding="utf-8"?>
6 <!-- Layout and generic templates -->
8 <template id="website.theme" name="Theme">
9 <link id="bootstrap_css" rel='stylesheet' href='/website/static/lib/bootstrap/css/bootstrap.css' t-ignore="true"/>
10 <link id="website_css" rel='stylesheet' href='/website/static/src/css/website.css' t-ignore="true"/>
13 <template id="website.submenu" name="Submenu">
14 <t t-set="children" t-value="submenu['children']"/>
15 <li t-if="not children">
16 <a t-att-href="url_for(submenu['url'])">
17 <t t-esc="submenu['name']"/>
20 <li t-if="children" class="dropdown">
21 <a class="dropdown-toggle" data-toggle="dropdown" href="#">
22 <t t-esc="submenu['name']"/> <span class="caret"></span>
24 <ul class="dropdown-menu" role="menu">
25 <t t-foreach="children" t-as="submenu">
26 <t t-call="website.submenu"/>
32 <template id="layout" name="Main layout"><!DOCTYPE html>
33 <html t-att-lang="lang.replace('_', '-')"
34 t-att-data-website-id="website.id if editable else None"
35 t-att-data-editable="'1' if editable else None"
36 t-att-data-translatable="'1' if translatable else None"
37 t-att-data-view-xmlid="xmlid if editable else None"
38 t-att-data-main-object="repr(main_object) if editable else None">
40 <t t-if="main_object and 'website_meta_title' in main_object">
41 <t t-set="title" t-value="main_object.website_meta_title"/>
43 <t t-if="not title and main_object and 'name' in main_object">
44 <t t-set="additional_title" t-value="main_object.name"/>
47 <t t-set="title"><t t-raw="res_company.name"/><t t-if="additional_title"> - <t t-raw="additional_title"/></t></t>
49 <title><t t-esc="title"/></title>
50 <meta name="openerp.company" t-att-value="res_company.name"/>
51 <meta name="description" t-att-value="main_object and 'website_meta_description' in main_object
52 and main_object.website_meta_description or website_meta_description"/>
53 <meta name="keywords" t-att-value="main_object and 'website_meta_keywords' in main_object
54 and main_object.website_meta_keywords or website_meta_keywords"/>
56 <!-- Load stylesheets before scripts to avoid blocking -->
57 <link rel='stylesheet' href='/web/static/lib/fontawesome/css/font-awesome.css'/>
59 <link rel='stylesheet' href='/website/static/src/css/snippets.css'/>
60 <link rel='stylesheet' href='/website/static/src/css/editor.css'/>
61 <link rel='stylesheet' href='/website/static/lib/bootstrap-tour/bootstrap-tour.css'/>
63 <t t-call="website.theme"/>
66 <script type="text/javascript" src="/web/static/lib/es5-shim/es5-shim.min.js"></script>
67 <script type="text/javascript" src="/web/static/lib/underscore/underscore.js"></script>
68 <script type="text/javascript" src="/web/static/lib/underscore.string/lib/underscore.string.js"></script>
69 <script type="text/javascript" src="/web/static/lib/jquery/jquery.js"></script>
70 <script type="text/javascript" src="/website/static/lib/bootstrap/js/bootstrap.js"></script>
72 <script type="text/javascript" src="/web/static/lib/qweb/qweb2.js"></script>
73 <script type="text/javascript" src="/web/static/src/js/openerpframework.js"></script>
75 <script type="text/javascript" src="/website/static/lib/stellar/jquery.stellar.js"></script>
76 <script type="text/javascript" src="/website/static/src/js/website.js"></script>
79 <script type="text/javascript" src="/website/static/lib/ckeditor/ckeditor.js"></script>
80 <script type="text/javascript" src="/website/static/lib/ckeditor.sharedspace/plugin.js"></script>
81 <script type="text/javascript" src="/website/static/lib/bootstrap-tour/bootstrap-tour.js"></script>
82 <script t-if="not translatable" type="text/javascript" src="/website/static/lib/ace/ace.js"></script>
83 <script type="text/javascript" src="/website/static/lib/vkbeautify/vkbeautify.0.99.00.beta.js"></script>
84 <script type="text/javascript">
85 // Bootstrap and jQuery UI conflicts
86 $.fn.bstooltip = $.fn.tooltip;
87 $.fn.bsbutton = $.fn.button;
89 <script type="text/javascript" src="/web/static/lib/jquery.ui/js/jquery-ui-1.9.1.custom.js"></script>
90 <link rel='stylesheet' href="/web/static/lib/jquery.ui/css/smoothness/jquery-ui-1.9.1.custom.css"/>
91 <!-- mutation observers shim backed by mutation events (8 < IE < 11, Safari < 6, FF < 14, Chrome < 17) -->
92 <script type="text/javascript" src="/website/static/lib//jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js"></script>
93 <script type="text/javascript" src="/website/static/lib/MutationObservers/test/sidetable.js"></script>
94 <script type="text/javascript" src='/website/static/lib/nearest/jquery.nearest.js'></script>
95 <script type="text/javascript" src="/website/static/lib/MutationObservers/MutationObserver.js"></script>
97 <script type="text/javascript" src="/website/static/src/js/website.editor.js"></script>
98 <script type="text/javascript" src="/website/static/src/js/website.menu.js"></script>
99 <script type="text/javascript" src="/website/static/src/js/website.mobile.js"></script>
100 <script type="text/javascript" src="/website/static/src/js/website.seo.js"></script>
101 <script type="text/javascript" src="/website/static/src/js/website.tour.js"></script>
102 <script type="text/javascript" src="/website/static/src/js/website.tour.basic.js"></script>
103 <script t-if="not translatable" type="text/javascript" src="/website/static/src/js/website.snippets.js"></script>
104 <script t-if="not translatable" type="text/javascript" src="/website/static/src/js/website.ace.js"></script>
105 <script t-if="translatable" type="text/javascript" src="/website/static/src/js/website.translator.js"></script>
108 <t t-raw="head or ''"/>
113 <div class="navbar navbar-default navbar-static-top">
114 <div class="container">
115 <div class="navbar-header">
116 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-top-collapse">
117 <span class="sr-only">Toggle navigation</span>
118 <span class="icon-bar"></span>
119 <span class="icon-bar"></span>
120 <span class="icon-bar"></span>
122 <a class="navbar-brand" t-href="/page/website.homepage"><em>Your</em><b>Company</b></a>
124 <div class="collapse navbar-collapse navbar-top-collapse">
125 <ul class="nav navbar-nav navbar-right" id="top_menu">
126 <t t-foreach="website.get_menu_tree()['children']" t-as="submenu">
127 <t t-call="website.submenu"/>
130 <li class="active" t-if="user_id.id == website.public_user.id">
131 <a t-attf-href="/web#redirect=#{ url_for('') }">
135 <li class="active dropdown" t-ignore="true" t-if="user_id.id != website.public_user.id">
136 <a href="#" class="dropdown-toggle" data-toggle="dropdown">
137 <span t-esc="user_id.name"/>
138 <span class="caret"></span>
140 <ul class="dropdown-menu js_usermenu" role="menu">
141 <li><a href="/web" role="menuitem">Go to backend</a></li>
142 <li><a t-attf-href="/web/session/logout?redirect=#{ url_for('') }" role="menuitem">Logout</a></li>
146 <button t-if="editable" type="button" title="Edit menu" data-placement="left"
147 class="js_edit_menu js_tooltip oe_admin_action btn btn-warning mt8 pull-right">
148 <i class="icon-edit"/>
156 <div class="container" id="footer_container">
158 <div class="col-md-3" name="product">
159 <h4>Our products & Services</h4>
160 <ul class="list-unstyled" name="products">
161 <li><a t-href="/">Home</a></li>
164 <div class="col-md-3" name="info">
165 <h4 name="info_title">Connect with us</h4>
166 <ul class="list-unstyled">
167 <li><a t-href="/page/website.contactus">Contact us</a></li>
169 <ul class="list-unstyled">
170 <li><i class="icon-phone"></i> <span t-field="res_company.phone"></span></li>
171 <li><i class="icon-envelope"></i> <span t-field="res_company.email"></span></li>
174 <a t-att-href="website.social_facebook" t-if="website.social_facebook"><i class="icon-facebook-sign"/></a>
175 <a t-att-href="website.social_twitter" t-if="website.social_twitter"><i class="icon-twitter-sign"/></a>
176 <a t-att-href="website.social_linkedin" t-if="website.social_linkedin"><i class="icon-linkedin-sign"/></a>
177 <a t-att-href="website.social_youtube" t-if="website.social_youtube"><i class="icon-youtube-sign"/></a>
178 <a t-att-href="website.social_googleplus" t-if="website.social_googleplus"><i class="icon-google-plus-sign"/></a>
179 <a t-att-href="website.social_github" t-if="website.social_github"><i class="icon-github-sign"/></a>
182 <div class="col-md-5 col-lg-offset-1" name="about_us">
184 <span t-field="res_company.name">Your Company</span>
185 <small> - <a href="/page/website.aboutus">About us</a></small>
188 We are a team of passionated people whose goal is to improve everyone's
189 life through disruptive products. We build great products to solve your
193 Our products are designed for small to medium companies willing to optimize
196 <ul class="nav nav-pills js_language_selector" t-if="request.multilang and
197 (len(website.language_ids) > 1 or editable)">
198 <li t-foreach="website.language_ids" t-as="lg">
199 <a t-att-href="url_for('', lang=lg.code)"
200 t-att-data-default-lang="editable and 'true' if lg.code == website.default_lang_id.code else None">
201 <t t-esc="lg.name.split('/').pop()"/>
205 <t t-set="url_return" t-value="request.multilang and url_for(request.httprequest.path, '[lang]') or request.httprequest.path"/>
206 <a t-attf-href="/web#action=base.action_view_base_language_install&website_id=#{website.id}&url_return=#{url_return}">
207 <i class="icon-plus-sign"/>
215 <div class="container mt16">
216 <div class="pull-right" t-ignore="1">
217 Create a <a href="http://openerp.com/apps/website">free website</a> with
218 <a class="label label-danger" href="https://openerp.com/apps/website">OpenERP</a>
220 <div class="pull-left text-muted">
221 Copyright &copy; <span t-field="res_company.name">Company name</span> - <a t-href="/sitemap">Sitemap</a>
230 <template id="footer_custom" inherit_option_id="website.layout" name="Custom Footer">
231 <xpath expr="//div[@id='footer_container']" position="before">
232 <section data-snippet-id='three-columns' class="mt16 mb16">
233 <div class="container">
235 <div class="col-md-4">
236 <h4 class="mt16">Subtitle</h4>
238 <a t-href="/">Homepage</a>
241 <div class="col-md-4">
242 <h4 class="mt16">Subtitle 2</h4>
247 <div class="col-md-4">
248 <h4 class="mt16">Subtitle 3</h4>
257 <xpath expr="//div[@id='footer_container']" position="attributes">
258 <attribute name="style">display: none</attribute>
262 <template id="publish_management">
263 <t t-if="editable" t-ignore="true">
264 <div class="pull-right">
265 <div t-attf-class="btn-group dropdown js_publish_management #{object.id and object.website_published and 'css_publish' or 'css_unpublish'}" t-att-data-id="object.id" t-att-data-object="object._name" t-att-data-controller="publish_controller">
266 <a t-attf-class="btn btn-sm btn-#{object.id and object.website_published and 'success' or 'default'}" t-att-id="'dopprod-%s' % object.id" role="button" data-toggle="dropdown">Options <span class="caret"></span></a>
267 <ul class="dropdown-menu" role="menu" t-att-aria-labelledby="'dopprod-%s' % object.id">
270 <a href="#" class="js_publish_btn css_unpublish">Unpublish</a>
271 <a href="#" class="js_publish_btn css_publish">Publish</a>
273 <li t-if="publish_duplicate">
274 <a t-att-href="publish_duplicate">Duplicate</a>
276 <li t-if="publish_edit">
277 <a t-att-href="'/web#model=%s&id=%s' % (object._name, object.id)"
278 title='Edit in backend'>Edit</a>
286 <template id="publish_short">
287 <t t-if="editable" t-ignore="true">
288 <a href="#" t-att-data-id="object.id" t-att-data-object="object._name"
289 t-att-data-publish="object.id and object.website_published and 'on' or 'off'"
290 class="pull-right js_publish">
291 <span t-attf-class="text-success css_publish glyphicon glyphicon-ok"></span>
292 <span t-attf-class="text-danger css_unpublish glyphicon glyphicon-remove-circle"></span>
293 <span t-attf-class="text-muted css_published glyphicon glyphicon-ok"></span>
294 <span t-attf-class="text-muted css_unpublished glyphicon glyphicon-remove-circle"></span>
299 <template id="pager" name="Pager">
300 <ul t-if="pager['page_count'] > 1" t-attf-class="#{ classname or '' } pagination">
301 <li t-att-class=" 'disabled' if pager['page']['num'] == 1 else '' ">
302 <a t-att-href=" pager['page_previous']['url'] if pager['page']['num'] != 1 else '' ">Prev</a>
304 <t t-foreach="pager['pages']" t-as="page">
305 <li t-att-class=" 'active' if page['num'] == pager['page']['num'] else '' "> <a t-att-href="page['url']" t-raw="page['num']"></a></li>
307 <li t-att-class=" 'disabled' if pager['page']['num'] == pager['page_count'] else '' ">
308 <a t-att-href=" pager['page_next']['url'] if pager['page']['num'] != pager['page_count'] else '' ">Next</a>
313 <template id="kanban">
314 <t t-set="step"><t t-esc="step or 0"/></t>
315 <t t-set="scope"><t t-esc="scope or 0"/></t>
316 <t t-set="orderby"><t t-esc="orderby or 'name'"/></t>
317 <t t-raw="website.kanban(model, domain, column, template, step=step, scope=scope, orderby=orderby)"/>
320 <template id="kanban_contain">
321 <table class="table js_kanban">
324 <t t-set="width" t-value="str(round(100.0 / len(objects), 2)) + '%'"/>
325 <t t-foreach="objects">
326 <th t-att-width="width">
327 <div t-field="column_id.name" class="text-center"></div>
334 <t t-foreach="objects">
335 <td class="js_kanban_col" t-att-data-template="template" t-att-data-domain="domain" t-att-data-page_count="page_count" t-att-data-model="model" t-att-data-step="step" t-att-data-orderby="orderby">
336 <t t-foreach="object_ids" t-as="object_id">
337 <t t-call="#{ template }"></t>
340 <div t-if="1 != page_end" class="pagination pagination-centered">
342 <li t-attf-class="prev #{'active' if page == 1 else '' }"> <a t-att-href=" '%s,%s-%s' % (kanban_url, column_id.id, (page > 1 and page-1 or 1)) ">Prev</a></li>
343 <t t-foreach="range(page_start, page_end+1)" t-as="p">
344 <li t-att-class=" 'active' if page == p else '' "> <a t-att-href=" '%s,%s-%s' % (kanban_url, column_id.id, p)" t-esc="p"></a></li>
346 <li t-attf-class="next #{'active' if page == page_end else '' }"> <a t-att-href=" '%s,%s-%s' % (kanban_url, column_id.id, (page < page_end and page+1 or page_end) )">Next</a></li>
356 <!-- Error and special pages -->
358 <template id="default_page">
359 <t t-call="website.layout">
360 <div id="wrap" class="oe_structure oe_empty"></div>
365 <t t-call="website.layout">
367 <div class="container" t-if="editable and path">
368 <div class="well mt32">
369 <p>This page does not exists, but you can create it as you are administrator of this site.</p>
370 <a class="btn btn-primary" t-att-href="'/pagenew/'+path">Create Page</a>
371 <span class="text-muted">or</span> <a t-href="/sitemap">Search a Page</a>
373 <div class="text-center text-muted">Edit the content bellow this line to adapt the default "page not found" page.</div>
376 <div class="oe_structure oe_empty">
377 <div class="container">
378 <h1 class="mt32">404: Page not found!</h1>
380 The page you were looking for could not be found; it is possible you have
381 typed the address incorrectly, but it has most probably been removed due
382 to the recent website reorganisation.
384 <p>Maybe you were looking for one of these popular pages ?</p>
386 <li><a t-href="/">Homepage</a></li>
387 <li><a t-href="/page/website.contactus/">Contact Us</a></li>
396 <t t-call="website.layout">
398 <div class="oe_structure">
399 <h1 class="container mt32">500: Internal Server Error!</h1>
402 <h3>Exception in template: <span id="exception_template" t-esc="template"/></h3>
403 <h4 t-if="expr">Expression: <t t-esc="expr"/></h4>
404 <pre id="exception_node" t-esc="node"/>
405 <pre id="exception_traceback" t-esc="traceback"/>
412 <t t-call="website.layout">
414 <div class="container">
415 <h1 class="mt32">401: Unauthorized Access!</h1>
417 The page you were looking for could not be
420 Maybe you were looking for one of these
423 <pre t-if="editable" t-esc="error"/>
425 <li><a t-href="/">Homepage</a></li>
426 <li><a t-href="/page/website.contactus/">Contact Us</a></li>
433 <template id="robots">
436 Sitemap: <t t-esc="url_root"/>sitemap.xml
439 <template id="sitemap" name="Site Map" page="True">
440 <t t-call="website.layout">
442 <li t-foreach="pages" t-as="page">
443 <a t-att-href="page['url']"><t t-esc="page['name']"/></a>
449 <template id="sitemap_xml">
450 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
451 <t t-foreach="pages" t-as="page">
453 <loc><t t-esc="page['url']"/></loc>
459 <!-- Actual pages -->
461 <template id="homepage" name="Homepage" page="True">
462 <t t-call="website.layout">
463 <div id="wrap" class="oe_structure oe_empty"></div>
467 <template id="company_description" name="Company Description">
469 <strong t-field="res_company.name">Name</strong><br />
470 <span t-field="res_company.street"></span> <span t-field="res_company.state_id"></span><br />
471 <span t-field="res_company.zip"></span> <span t-field="res_company.city"></span><br />
472 <span t-field="res_company.country_id"> </span><br />
474 <span>&#x2706; <span t-field="res_company.phone"></span></span><br />
475 <i class="icon-envelope"></i> <span t-field="res_company.email"></span>
477 <a t-att-href="res_company.google_map_link()" target="_BLANK">
478 <img class="thumbnail img-responsive" t-att-src="res_company.google_map_img()" />
482 <template id="contactus" name="Contact us" page="True">
483 <t t-call="website.layout">
485 <div class="oe_structure"/>
486 <div class="container">
489 <div class="col-md-8">
490 <div class="oe_structure">
491 <p>Contact us about anything related to our company or services.</p>
492 <p>We'll do our best to get back to you as soon as possible.</p>
494 <div class="text-center mt64" name="mail_button">
495 <a t-attf-href="mailto:{{ res_company.email }}" class="btn btn-primary">Send us an email</a>
498 <div class="col-md-4 mb32">
499 <t t-call="website.company_description"/>
503 <div class="oe_structure"/>
508 <template id="aboutus" name="About us" page="True">
509 <t t-call="website.layout">
511 <div data-snippet-id="parallax">
512 <div style="background-image: url('/website/static/src/img/parallax/parallax_bg.jpg')" data-stellar-background-ratio="0.3" class="parallax oe_structure mt32 mb32 oe_small">
513 <div class="container">
515 <div class="col-md-12 mt32 mb32" data-snippet-id="colmd">
516 <div class="text-center">
517 <img src="/web/static/src/img/logo.png" class="img shadow logo-img"/>
519 <h3 class="text-center text-muted" t-field="res_company.rml_header1"></h3>
525 <div class="oe_structure"/>
526 <div class="container mb32">
527 <div class="row col-wrap" id="aboutus">
528 <div class="col-sm-8 mt16">
530 We are a team of passionated people whose goal is to improve everyone's
531 life through disruptive products. We build great products to solve your
535 Our products are designed for small to medium companies willing to optimize
539 <div class="col-sm-3 col-sm-offset-1">
540 <img src="/website/static/src/img/library/business_conference.jpg" class="img img-responsive shadow" alt="Out Team"/>
544 <div class="oe_structure"/>