1 <?xml version="1.0" encoding="utf-8"?>
7 <!-- Layout and generic templates -->
9 <template id="website.theme" name="Theme">
10 <link id="bootstrap_css" rel='stylesheet' href='/web/static/lib/bootstrap/css/bootstrap.css' t-ignore="true"/>
11 <link rel="stylesheet" href='/website/static/src/css/website.css' t-ignore="true"/>
14 <template id="website.assets_frontend" name="Website assets">
15 <t t-call="web.assets_common"/>
16 <t t-call="website.theme"/>
18 <script type="text/javascript" src="/web/static/src/js/watch.js"></script>
19 <script type="text/javascript" src="/web/static/lib/qweb/qweb2.js"></script>
20 <script type="text/javascript" src="/web/static/src/js/openerpframework.js"></script>
22 <script type="text/javascript" src="/website/static/src/js/website.js"></script>
24 <script type="text/javascript" src="/website/static/src/js/website.snippets.animation.js"></script>
25 <script type="text/javascript" src="/web/static/lib/bootstrap/js/bootstrap.js"></script>
29 <template id="assets_backend" name="website assets for backend" inherit_id="web.assets_backend">
30 <xpath expr="." position="inside">
31 <link rel="stylesheet" href="/website/static/src/css/website.backend.css"/>
33 <script type="text/javascript" src="/website/static/src/js/website.backend.js"></script>
37 <template id="website.submenu" name="Submenu">
38 <li t-if="not submenu.child_id" t-att-class="
39 ((submenu.url != '/' and request.httprequest.path.startswith(submenu.url)) or
40 request.httprequest.path == submenu.url) and 'active'
42 <a t-att-href="submenu.url" t-ignore="true" t-att-target="'blank' if submenu.new_window else None">
43 <span t-field="submenu.name"/>
46 <li t-if="submenu.child_id" t-attf-class="dropdown #{
47 ((submenu.url != '/' and [1 for submenu in submenu.child_id if request.httprequest.path.startswith(submenu.url)]) or
48 request.httprequest.path == submenu.url) and 'active'
50 <a class="dropdown-toggle" data-toggle="dropdown" href="#">
51 <span t-field="submenu.name"/> <span class="caret" t-ignore="true"></span>
53 <ul class="dropdown-menu" role="menu">
54 <t t-foreach="submenu.child_id" t-as="submenu">
55 <t t-call="website.submenu"/>
61 <template id="layout" name="Main layout"><!DOCTYPE html>
62 <html t-att-lang="lang and lang.replace('_', '-')"
63 t-att-data-website-id="website.id if editable else None"
64 t-att-data-editable="'1' if editable else None"
65 t-att-data-translatable="'1' if translatable else None"
66 t-att-data-view-xmlid="xmlid if editable else None"
67 t-att-data-main-object="repr(main_object) if editable else None">
69 <t t-if="main_object and 'website_meta_title' in main_object">
70 <t t-set="title" t-value="main_object.website_meta_title"/>
72 <t t-if="not title and main_object and 'name' in main_object">
73 <t t-set="additional_title" t-value="main_object.name"/>
76 <t t-set="title"><t t-raw="res_company.name"/><t t-if="additional_title"> - <t t-raw="additional_title"/></t></t>
78 <meta name="viewport" content="initial-scale=1"/>
79 <meta name="openerp.company" t-att-value="res_company.name"/>
80 <meta name="description" t-att-value="main_object and 'website_meta_description' in main_object
81 and main_object.website_meta_description or website_meta_description"/>
82 <meta name="keywords" t-att-value="main_object and 'website_meta_keywords' in main_object
83 and main_object.website_meta_keywords or website_meta_keywords"/>
84 <title><t t-esc="title"/></title>
86 <t t-set="languages" t-value="website.get_languages()"/>
87 <t t-foreach="languages" t-as="lg">
88 <t t-set="force_lang" t-value="lg[0] if lg[0] != website.default_lang_code else None"/>
89 <link rel="alternate" t-att-href="url_for(request.httprequest.path + '?' + keep_query(), lang=force_lang)" t-att-hreflang="lg[0].replace('_', '-').lower()" />
92 <t t-call-assets="website.assets_frontend"/>
94 <t t-raw="head or ''" name='layout_head'/>
99 <div class="navbar navbar-default navbar-static-top">
100 <div class="container">
101 <div class="navbar-header">
102 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-top-collapse">
103 <span class="sr-only">Toggle navigation</span>
104 <span class="icon-bar"></span>
105 <span class="icon-bar"></span>
106 <span class="icon-bar"></span>
108 <a class="navbar-brand" href="/" t-field="res_company.name"/>
110 <div class="collapse navbar-collapse navbar-top-collapse">
111 <ul class="nav navbar-nav navbar-right" id="top_menu">
112 <t t-foreach="website.menu_id.child_id" t-as="submenu">
113 <t t-call="website.submenu"/>
115 <li class="divider" groups="base.group_user,base.group_portal" t-ignore="true"/>
116 <li class="dropdown" t-ignore="true" groups="base.group_user,base.group_portal">
117 <a href="#" class="dropdown-toggle" data-toggle="dropdown">
119 <span t-esc="user_id.name"/>
120 <span class="caret"></span>
123 <ul class="dropdown-menu js_usermenu" role="menu">
124 <li><a href="/web" role="menuitem">My Account</a></li>
125 <li class="divider"/>
126 <li><a t-attf-href="/web/session/logout?redirect=/" role="menuitem">Logout</a></li>
138 <div class="container hidden-print" id="footer_container">
140 <div class="col-md-3" name="product">
141 <h4>Our products & Services</h4>
142 <ul class="list-unstyled" name="products">
143 <li><a href="/">Home</a></li>
146 <div class="col-md-3" name="info">
147 <h4 name="info_title">Connect with us</h4>
148 <ul class="list-unstyled">
149 <li><a href="/page/website.contactus">Contact us</a></li>
151 <ul class="list-unstyled">
152 <li t-ignore="true"><i class="fa fa-phone"></i> <span t-field="res_company.phone"></span></li>
153 <li t-ignore="true"><i class="fa fa-envelope"></i> <span t-field="res_company.email"></span></li>
156 <a t-att-href="website.social_facebook" t-if="website.social_facebook"><i class="fa fa-facebook-square"/></a>
157 <a t-att-href="website.social_twitter" t-if="website.social_twitter"><i class="fa fa-twitter"/></a>
158 <a t-att-href="website.social_linkedin" t-if="website.social_linkedin"><i class="fa fa-linkedin"/></a>
159 <a t-att-href="website.social_youtube" t-if="website.social_youtube"><i class="fa fa-youtube-play"/></a>
160 <a t-att-href="website.social_googleplus" t-if="website.social_googleplus"><i class="fa fa-google-plus-square"/></a>
161 <a t-att-href="website.social_github" t-if="website.social_github"><i class="fa fa-github"/></a>
164 <div class="col-md-5 col-lg-offset-1" name="about_us">
167 <span t-field="res_company.name">Your Company</span>
168 <small> - <a href="/page/website.aboutus">About us</a></small>
171 We are a team of passionate people whose goal is to improve everyone's
172 life through disruptive products. We build great products to solve your
176 Our products are designed for small to medium size companies willing to optimize
180 <ul class="list-inline js_language_selector mt16" t-if="(len(languages) > 1 or editable)">
181 <li t-foreach="languages" t-as="lg">
182 <a t-att-href="url_for(request.httprequest.path + '?' + keep_query(), lang=lg[0])"
183 t-att-data-default-lang="editable and 'true' if lg[0] == website.default_lang_code else None">
184 <t t-esc="lg[1].split('/').pop()"/>
187 <li groups="base.group_website_publisher">
188 <t t-set="url_return" t-value="url_for('', '[lang]') + '?' + keep_query()"/>
189 <a t-attf-href="/web#action=base.action_view_base_language_install&website_id=#{website.id}&url_return=#{url_return}">
190 <i class="fa fa-plus-circle"/>
198 <div class="container mt16 mb8">
199 <div class="pull-right" t-ignore="true" t-if="not editable">
200 Create a <a href="http://openerp.com/apps/website">free website</a> with
201 <a class="label label-danger" href="https://openerp.com/apps/website">OpenERP</a>
203 <div class="pull-left text-muted">
204 Copyright &copy; <span t-field="res_company.name">Company name</span>
209 <t t-if="website.google_analytics_key">
211 (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
212 function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
213 e=o.createElement(i);r=o.getElementsByTagName(i)[0];
214 e.src='//www.google-analytics.com/analytics.js';
215 r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
216 ga('create','<t t-esc="website.google_analytics_key"/>');ga('send','pageview');
223 <template id="layout_logo_show" inherit_id="website.layout" inherit_option_id="website.layout" name="Show Logo">
224 <xpath expr="//header//a[@class='navbar-brand']" position="replace">
225 <a href="/" class="navbar-brand logo">
226 <img src="/logo.png"/>
231 <template id="editor_head" inherit_id="website.layout" name="Editor" groups="base.group_website_publisher,base.group_website_designer">
232 <xpath expr="//body" position="attributes">
233 <attribute name="style">padding-top: 51px;</attribute>
235 <xpath expr="//body" position="inside">
236 <div id="website-top-navbar-placeholder" class="navbar navbar-inverse navbar-fixed-top hidden-xs">
237 <div class="navbar-header">
238 <form class="navbar-form navbar-left">
239 <button type="button" class="btn btn-primary">Edit</button>
242 <div class="collapse navbar-collapse navbar-edit-collapse">
243 <ul class="nav navbar-nav navbar-right">
244 <li><a href="#" onclick="return false;"><i class="fa fa-mobile" title="Mobile preview"/></a></li>
245 <li class="divider-vertical"/>
246 <li><a href="#" onclick="return false;"><span title="Promote page on the web">Promote</span></a></li>
247 <li class="dropdown">
248 <a href="#" onclick="return false;">Content <span class="caret"/></a>
250 <li class="dropdown">
251 <a href="#" onclick="return false;">Customize <span class="caret"/></a>
253 <li class="dropdown">
254 <a href="#" onclick="return false;">Help <span class="caret"/></a>
260 <xpath expr='//t[@t-call-assets="website.assets_frontend"]' position="after">
261 <t t-call-assets="website.assets_editor"/>
265 <template id="assets_editor" name="Editor assets">
266 <script type="text/javascript">
267 var CKEDITOR_BASEPATH = '/web/static/lib/ckeditor/';
269 <link rel='stylesheet' href='/website/static/src/css/snippets.css'/>
270 <link rel='stylesheet' href='/website/static/src/css/editor.css'/>
272 <link rel='stylesheet' href="/web/static/lib/jquery.ui/css/smoothness/jquery-ui-1.9.1.custom.css"/>
274 <link rel="stylesheet" href="/web/static/lib/select2/select2.css"/>
275 <link rel="stylesheet" href="/website/static/lib/select2-bootstrap-css/select2-bootstrap.css"/>
277 <script type="text/javascript" src="/web/static/lib/select2/select2.js"></script>
279 <script type="text/javascript" src="/web/static/lib/ckeditor/ckeditor.js"></script>
280 <script type="text/javascript" src="/website/static/lib/ace/ace.js"></script>
281 <script type="text/javascript" src="/website/static/lib/ace/theme-monokai.js"></script>
282 <script type="text/javascript" src="/website/static/lib/ace/mode-xml.js"></script>
283 <script type="text/javascript" src="/website/static/lib/vkbeautify/vkbeautify.0.99.00.beta.js"></script>
284 <t t-call="web.jqueryui_conflict">
285 <script type="text/javascript" src="/web/static/lib/jquery.ui/js/jquery-ui-1.9.1.custom.js"></script>
287 <!-- mutation observers shim backed by mutation events (8 < IE < 11, Safari < 6, FF < 14, Chrome < 17) -->
288 <script type="text/javascript" src="/website/static/lib//jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js"></script>
289 <script type="text/javascript" src="/website/static/lib/MutationObservers/test/sidetable.js"></script>
290 <script type="text/javascript" src='/website/static/lib/nearest/jquery.nearest.js'></script>
291 <script type="text/javascript" src="/website/static/lib/MutationObservers/MutationObserver.js"></script>
293 <script type="text/javascript" src="/website/static/src/js/website.editor.js"></script>
294 <script type="text/javascript" src="/website/static/src/js/website.editor.newpage.js"></script> <!-- groups="base.group_website_designer" -->
295 <script type="text/javascript" src="/website/static/src/js/website.menu.js"></script> <!-- groups="base.group_website_designer" -->
296 <script type="text/javascript" src="/website/static/src/js/website.mobile.js"></script>
297 <script type="text/javascript" src="/website/static/src/js/website.seo.js"></script>
298 <script type="text/javascript" src="/website/static/src/js/website.tour.js"></script>
299 <script type="text/javascript" src="/website/static/src/js/website.tour.banner.js"></script> <!-- groups="base.group_website_designer" -->
300 <script type="text/javascript" src="/website/static/src/js/website.snippets.editor.js"></script>
301 <script type="text/javascript" src="/website/static/src/js/website.ace.js"></script>
302 <script type="text/javascript" src="/website/static/src/js/website.translator.js"></script>
304 <script type="text/javascript" src="/website/static/src/js/jQuery.transfo.js"></script>
307 <template id="debugger" inherit_option_id="website.layout" name="Debugger & Tests">
308 <xpath expr='//t[@name="layout_head"]' position="after">
309 <script type="text/javascript" src="/website/static/src/js/website.tour.js"></script>
313 <template id="login_layout" inherit_id="web.login_layout" name="Website Login Layout">
314 <xpath expr="t" position="replace">
315 <t t-call="website.layout">
316 <div class="oe_website_login_container" t-raw="0"/>
321 <template id="show_sign_in" inherit_option_id="website.layout" inherit_id="website.layout" name="Show Sign In" groups="base.group_public">
322 <xpath expr="//ul[@id='top_menu']" position="inside">
323 <li class="divider"/>
325 <a t-attf-href="/web/login">
332 <template id="footer_custom" inherit_option_id="website.layout" name="Custom Footer">
333 <xpath expr="//div[@id='footer_container']" position="before">
334 <div class="oe_structure">
335 <section data-snippet-id='three-columns' class="mt16 mb16">
336 <div class="container">
338 <div class="col-md-4">
339 <h4 class="mt16">Subtitle</h4>
341 <a href="/">Homepage</a>
344 <div class="col-md-4">
345 <h4 class="mt16">Subtitle 2</h4>
350 <div class="col-md-4">
351 <h4 class="mt16">Subtitle 3</h4>
361 <xpath expr="//div[@id='footer_container']" position="attributes">
362 <attribute name="style">display: none</attribute>
366 <template id="publish_management">
367 <div groups="base.group_website_publisher" t-ignore="true" class="pull-right css_editable_mode_hidden" t-att-style="style or ''">
368 <div t-attf-class="btn-group js_publish_management #{object.website_published and 'css_published' or 'css_unpublished'}" t-att-data-id="object.id" t-att-data-object="object._name" t-att-data-controller="publish_controller">
369 <button class="btn btn-danger js_publish_btn">Not Published</button>
370 <button class="btn btn-success js_publish_btn">Published</button>
371 <button type="button" t-attf-class="btn btn-default dropdown-toggle" t-att-id="'dopprod-%s' % object.id" data-toggle="dropdown">
372 <span class="caret"></span>
374 <ul class="dropdown-menu" role="menu" t-att-aria-labelledby="'dopprod-%s' % object.id">
376 <a href="#" class="js_publish_btn">
377 <span class="css_unpublish">Unpublish</span>
378 <span class="css_publish">Publish</span>
382 <li t-if="publish_edit">
383 <a t-attf-href="/web#return_label=Website&view_type=form&model=#{object._name}&id=#{object.id}&action=#{action}"
384 title='Edit in backend'>Edit</a>
391 <template id="publish_short">
392 <t groups="base.group_website_publisher" t-ignore="true">
393 <div t-attf-class="btn-group pull-right js_publish_management #{object.website_published and 'css_published' or 'css_unpublished'}" t-att-data-id="object.id" t-att-data-object="object._name" t-att-data-controller="publish_controller">
394 <button t-attf-class="btn btn-sm btn-#{object.website_published and 'success' or 'danger'} js_publish_btn">
395 <span class="css_publish">Not Published</span>
396 <span class="css_unpublish">Published</span>
402 <template id="pager" name="Pager">
403 <ul t-if="pager['page_count'] > 1" t-attf-class="#{ classname or '' } pagination" t-att-style="style or ''">
404 <li t-att-class=" 'disabled' if pager['page']['num'] == 1 else '' ">
405 <a t-att-href=" pager['page_previous']['url'] if pager['page']['num'] != 1 else ''">Prev</a>
407 <t t-foreach="pager['pages']" t-as="page">
408 <li t-att-class=" 'active' if page['num'] == pager['page']['num'] else '' "> <a t-att-href="page['url']" t-raw="page['num']"></a></li>
410 <li t-att-class=" 'disabled' if pager['page']['num'] == pager['page_count'] else '' ">
411 <a t-att-href="pager['page_next']['url'] if pager['page']['num'] != pager['page_count'] else ''">Next</a>
416 <template id="kanban">
417 <t t-set="step"><t t-esc="step or 0"/></t>
418 <t t-set="scope"><t t-esc="scope or 0"/></t>
419 <t t-set="orderby"><t t-esc="orderby or 'name'"/></t>
420 <t t-raw="website.kanban(model, domain, column, template, step=step, scope=scope, orderby=orderby)"/>
423 <template id="kanban_contain">
424 <table class="table js_kanban">
427 <t t-set="width" t-value="str(round(100.0 / len(objects), 2)) + '%'"/>
428 <t t-foreach="objects">
429 <th t-att-width="width">
430 <div t-field="column_id.name" class="text-center"></div>
437 <t t-foreach="objects">
438 <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">
439 <t t-foreach="object_ids" t-as="object_id">
440 <t t-call="#{ template }"></t>
443 <div t-if="1 != page_end" class="pagination pagination-centered">
445 <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>
446 <t t-foreach="range(page_start, page_end+1)" t-as="p">
447 <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>
449 <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>
459 <!-- Error and special pages -->
461 <template id="default_page">
462 <t t-call="website.layout">
463 <div id="wrap" class="oe_structure oe_empty"></div>
467 <template id="page_404">
468 <t t-call="website.404">
469 <div class="container">
470 <div class="well mt32">
471 <p>This page does not exists, but you can create it as you are administrator of this site.</p>
472 <a class="btn btn-primary" t-attf-href="/website/add/#{ path }">Create Page</a>
473 <span class="text-muted">or</span> <a href="/sitemap">Search a Page</a>
475 <div class="text-center text-muted">Edit the content below this line to adapt the default "page not found" page.</div>
481 <template id="http_error">
482 <t t-call="website.layout">
484 <div class="oe_structure">
485 <h1 class="container mt32"><t t-esc="status_code"/>: <t t-esc="status_message"/></h1>
488 <t t-if="editable or request.debug">
489 <t t-call="website.http_error_debug"/>
495 <template id="http_error_debug">
496 <div class="container panel-group mb32 mt32" id="debug_infos">
497 <div class="panel panel-default" t-if="exception">
498 <div class="panel-heading">
499 <h4 class="panel-title">
500 <a data-toggle="collapse" data-parent="#debug_infos" href="#error_main">
505 <div id="error_main" class="panel-collapse collapse in">
506 <div class="panel-body">
507 <p t-if="website_controller">The following error was raised in the website controller <code t-esc="website_controller"/></p>
509 <strong>Error message:</strong>
510 <pre t-esc="exception.message"/>
515 <div class="panel panel-default" t-if="qweb_exception">
516 <div class="panel-heading">
517 <h4 class="panel-title">
518 <a data-toggle="collapse" data-parent="#adebug_infos" href="#error_qweb">
523 <div id="error_qweb" class="panel-collapse collapse">
524 <div class="panel-body">
525 <p t-if="exception.qweb.get('message')">
526 <strong>Error message:</strong>
527 <pre t-esc="exception.qweb.get('message')"/>
530 The error occured while rendering the template <code t-esc="qweb_exception.qweb.get('template')"/>
531 <t t-if="'expression' in qweb_exception.qweb">and evaluating the following expression: <code t-esc="qweb_exception.qweb['expression']"/></t>
533 <t t-if="'node' in qweb_exception.qweb">
534 <pre id="exception_node" t-esc="qweb_exception.qweb['node'].toxml()"/>
539 <div class="panel panel-default" t-if="traceback">
540 <div class="panel-heading">
541 <h4 class="panel-title">
542 <a data-toggle="collapse" data-parent="#adebug_infos" href="#error_traceback">
547 <div id="error_traceback" class="panel-collapse collapse">
548 <div class="panel-body">
549 <pre id="exception_traceback" t-esc="traceback"/>
557 <t t-call="website.layout">
559 <div class="container">
560 <h1 class="mt32">403: Forbidden</h1>
561 <p>The page you were looking for could not be authorized.</p>
562 <p>Maybe you were looking for one of these popular pages ?</p>
564 <li><a href="/">Homepage</a></li>
565 <li><a href="/page/website.contactus/">Contact Us</a></li>
568 <t t-if="editable or request.debug">
569 <t t-call="website.http_error_debug"/>
576 <t t-call="website.layout">
579 <div class="oe_structure oe_empty">
580 <div class="container">
581 <h1 class="mt32">404: Page not found!</h1>
583 The page you were looking for could not be found; it is possible you have
584 typed the address incorrectly, but it has most probably been removed due
585 to the recent website reorganisation.
587 <p>Maybe you were looking for one of these popular pages ?</p>
589 <li><a href="/">Homepage</a></li>
590 <li><a href="/page/website.contactus/">Contact Us</a></li>
595 <t t-if="request.debug">
596 <t t-call="website.http_error_debug"/>
603 <!-- This template should not use any variable except those provided by website.ir_http._handle_exception -->
606 <title t-esc="status_message">Internal Server Error</title>
607 <link rel='stylesheet' href='/web/static/lib/fontawesome/css/font-awesome.css'/>
608 <link rel='stylesheet' href='/web/static/lib/bootstrap/css/bootstrap.css'/>
609 <link rel='stylesheet' href='/website/static/src/css/website.css'/>
610 <script type="text/javascript" src="/web/static/lib/jquery/jquery.js"></script>
611 <script type="text/javascript" src="/web/static/lib/bootstrap/js/bootstrap.js"></script>
613 $(document).ready(function() {
614 var button = $('#reset_templates_button');
615 button.click(function() {
616 var dialog = $('#reset_template_confirmation').modal('show');
617 var input = dialog.find('input[type="text"]').val('').focus();
618 var dialog_form = dialog.find('form');
619 dialog_form.submit(function() {
620 if (input.val() == dialog.find('.confirm_word').text()) {
621 dialog.modal('hide');
622 button.prop('disabled', true).text('Working...');
623 $('#reset_templates_form').trigger('submit');
625 input.val('').focus();
635 <div id="reset_template_confirmation" class="modal" tabindex="-1" role="dialog" aria-hidden="true" t-ignore="true">
636 <div class="modal-dialog">
637 <form class="form-horizontal" role="form">
638 <div class="modal-content">
639 <div class="modal-header">
640 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
641 <h3 class="modal-title">Reset templates</h3>
643 <div class="modal-body">
644 <div class="form-group mb0">
645 <label for="page-name" class="col-sm-9">
646 <p>The selected templates will be reset to their factory settings.</p>
647 <p>Type '<i class="confirm_word">yes</i>' in the box below if you want to confirm.</p>
649 <div class="col-sm-3 mt16">
650 <input type="text" class="form-control" required="required" placeholder="yes"/>
654 <div class="modal-footer">
655 <input type="submit" value="Confirm" class="btn btn-primary"/>
656 <button type="button" class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
664 <div class="navbar navbar-default navbar-static-top">
665 <div class="container">
666 <div class="collapse navbar-collapse navbar-top-collapse">
667 <ul class="nav navbar-nav pull-right">
668 <li><a href="/">Home</a></li>
669 <li><a href="javascript: window.history.back()">Back</a></li>
675 <div class="oe_structure">
676 <h1 class="container mt32"><t t-esc="status_code"/>: <t t-esc="status_message"/></h1>
679 <div class="container" t-if="views">
680 <div class="alert alert-danger" t-if="qweb_exception and editable">
681 <h4>Template fallback</h4>
682 <p>An error occured while rendering the template <code t-esc="qweb_exception.qweb['template']"/>.</p>
683 <p>If this error is caused by a change of yours in the templates, you have the possibility to reset one or more templates to their <strong>factory settings</strong>.</p>
684 <form action="/website/reset_templates" method="post" id="reset_templates_form">
685 <ul class="oe_template_fallback">
686 <li t-foreach="views" t-as="view">
688 <input type="checkbox" name="templates" t-att-value="view.id" t-att-checked="'checked' if view_first else None"/>
689 <t t-esc="view.name"/>
693 <input type="hidden" name="redirect" t-att-value="request.httprequest.path"/>
694 <button id="reset_templates_button">Reset selected templates</button>
699 <t t-if="editable or request.debug">
700 <t t-call="website.http_error_debug"/>
708 <template id="robots">
711 Sitemap: <t t-esc="url_root"/>sitemap.xml
714 <template id="sitemap" name="Site Map">
715 <t t-call="website.layout">
717 <li t-foreach="pages" t-as="page">
718 <a t-att-href="page['url']"><t t-esc="page['name']"/></a>
724 <template id="sitemap_xml">
725 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
726 <t t-foreach="pages" t-as="page">
728 <loc><t t-esc="page['url']"/></loc>
734 <!-- Actual pages -->
736 <template id="homepage" name="Homepage" page="True">
737 <t t-call="website.layout">
738 <div id="wrap" class="oe_structure oe_empty"></div>
742 <template id="company_description" name="Company Description">
743 <address itemscope="itemscope" itemtype="http://schema.org/Organization">
744 <!-- TODO widget contact must add itemprop attributes -->
745 <div t-field="res_company.partner_id" t-field-options='{
747 "fields": ["name", "address", "phone", "mobile", "fax", "email"]}'/>
749 <a t-att-href="res_company.google_map_link()" target="_BLANK">
750 <img class="thumbnail img-responsive" t-att-src="res_company.google_map_img()" />
754 <template id="contactus" name="Contact us" page="True">
755 <t t-call="website.layout">
757 <div class="oe_structure"/>
758 <div class="container">
761 <div class="col-md-8">
762 <div class="oe_structure">
764 <p>Contact us about anything related to our company or services.</p>
765 <p>We'll do our best to get back to you as soon as possible.</p>
768 <div class="text-center mt64" name="mail_button">
769 <a t-attf-href="mailto:{{ res_company.email }}" class="btn btn-primary">Send us an email</a>
772 <div class="col-md-4 mb32">
773 <div groups="base.group_website_publisher" t-ignore="true" class="pull-right css_editable_mode_hidden" t-att-style="style or ''">
774 <a class="btn btm-sm btn-default" t-att-href="'/web#return_label=Website&model=%s&id=%s' % (res_company._name, res_company.id)">Change address</a>
776 <t t-call="website.company_description"/>
780 <div class="oe_structure"/>
785 <template id="aboutus" name="About us" page="True">
786 <t t-call="website.layout">
788 <div class="oe_structure">
790 <section data-snippet-id="title">
791 <div class="container">
793 <div class="col-md-12">
794 <h1 class="text-center">About us</h1>
795 <h3 class="text-muted text-center">Great products for great people</h3>
801 <section data-snippet-id="text-image">
802 <div class="container">
804 <div class="col-md-6 mt32">
806 We are a team of passionate people whose goal is to improve everyone's
807 life through disruptive products. We build great products to solve your
811 Our products are designed for small to medium size companies willing to optimize
815 <div class="col-md-4 col-md-offset-2 mt16 mb16">
816 <img src="/website/static/src/img/library/business_conference.jpg" class="img img-responsive shadow" alt="Our Team"/>
823 <div class="oe_structure"></div>