1 <?xml version="1.0" encoding="utf-8"?>
7 <!-- Layout and generic templates -->
9 <template id="website.assets_frontend" name="Website assets">
10 <t t-call="website.theme"/>
12 <script type="text/javascript" src="/web/static/src/js/watch.js"></script>
14 <script type="text/javascript" src="/website/static/src/js/website.js"></script>
16 <script type="text/javascript" src="/website/static/src/js/website.snippets.animation.js"></script>
17 <script type="text/javascript" src="/web/static/lib/bootstrap/js/bootstrap.js"></script>
21 <template id="assets_backend" name="website assets for backend" inherit_id="web.assets_backend">
22 <xpath expr="." position="inside">
23 <link rel="stylesheet" href="/website/static/src/css/website.backend.css"/>
25 <script type="text/javascript" src="/website/static/src/js/website.backend.js"></script>
29 <template id="website.submenu" name="Submenu">
30 <li t-if="not submenu.child_id" t-att-class="
31 ((submenu.url != '/' and request.httprequest.path.startswith(submenu.url)) or
32 request.httprequest.path == submenu.url) and 'active'
34 <a t-att-href="(website.menu_id.child_id[0] == submenu) and '/' or submenu.url" t-ignore="true" t-att-target="'blank' if submenu.new_window else None">
35 <span t-field="submenu.name"/>
38 <li t-if="submenu.child_id" t-attf-class="dropdown #{
39 ((submenu.url != '/' and [1 for submenu in submenu.child_id if request.httprequest.path.startswith(submenu.url)]) or
40 request.httprequest.path == submenu.url) and 'active'
42 <a class="dropdown-toggle" data-toggle="dropdown" href="#">
43 <span t-field="submenu.name"/> <span class="caret" t-ignore="true"></span>
45 <ul class="dropdown-menu" role="menu">
46 <t t-foreach="submenu.child_id" t-as="submenu">
47 <t t-call="website.submenu"/>
53 <template id="layout" name="Main layout"><!DOCTYPE html>
54 <html t-att-lang="lang and lang.replace('_', '-')"
55 t-att-data-website-id="website.id if editable and website else None"
56 t-att-data-editable="'1' if editable else None"
57 t-att-data-translatable="'1' if translatable else None"
58 t-att-data-view-xmlid="xmlid if editable else None"
59 t-att-data-main-object="repr(main_object) if editable else None"
60 t-att-data-oe-company-name="res_company.name">
62 <meta charset="utf-8" />
63 <t t-if="main_object and 'website_meta_title' in main_object">
64 <t t-set="title" t-value="main_object.website_meta_title"/>
66 <t t-if="not title and main_object and 'name' in main_object">
67 <t t-set="additional_title" t-value="main_object.name"/>
70 <t t-set="title"><t t-if="additional_title"><t t-raw="additional_title"/> | </t><t t-raw="res_company.name"/></t>
72 <meta name="viewport" content="initial-scale=1"/>
73 <meta name="description" t-att-content="main_object and 'website_meta_description' in main_object
74 and main_object.website_meta_description or website_meta_description"/>
75 <meta name="keywords" t-att-content="main_object and 'website_meta_keywords' in main_object
76 and main_object.website_meta_keywords or website_meta_keywords"/>
77 <title><t t-esc="title"/></title>
79 <t t-set="languages" t-value="website.get_languages() if website else None"/>
80 <t t-if="request and request.website_multilang and website">
81 <t t-foreach="website.get_alternate_languages(request.httprequest)" t-as="lang">
82 <link rel="alternate" t-att-hreflang="lang['hreflang']" t-att-href="lang['href']"/>
86 <t t-call-assets="web.assets_common"/>
87 <t t-call-assets="website.assets_frontend"/>
89 <t t-raw="head or ''" name='layout_head'/>
90 <t t-if="website and website.google_analytics_key">
92 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
93 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
94 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
95 })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
97 ga('create', _.str.trim('<t t-esc="website.google_analytics_key"/>'), 'auto');
98 ga('send','pageview');
105 <div class="navbar navbar-default navbar-static-top">
106 <div class="container">
107 <div class="navbar-header">
108 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-top-collapse">
109 <span class="sr-only">Toggle navigation</span>
110 <span class="icon-bar"></span>
111 <span class="icon-bar"></span>
112 <span class="icon-bar"></span>
114 <a class="navbar-brand" href="/">YourCompany</a>
116 <div class="collapse navbar-collapse navbar-top-collapse">
117 <ul class="nav navbar-nav navbar-right" id="top_menu">
118 <t t-foreach="website.menu_id.child_id" t-as="submenu">
119 <t t-call="website.submenu"/>
121 <li class="divider" t-ignore="true" t-if="website.user_id != user_id"/>
122 <li class="dropdown" t-ignore="true" t-if="website.user_id != user_id">
123 <a href="#" class="dropdown-toggle" data-toggle="dropdown">
125 <span t-esc="(len(user_id.name)>25) and (user_id.name[:23]+'...') or user_id.name"/>
126 <span class="caret"></span>
129 <ul class="dropdown-menu js_usermenu" role="menu">
130 <li><a href="/web" role="menuitem">My Account</a></li>
131 <li class="divider"/>
132 <li><a t-attf-href="/web/session/logout?redirect=/" role="menuitem">Logout</a></li>
144 <div id="footer_container">
152 <template id="layout_footer_copyright" inherit_id="website.layout" name="Footer Copyright">
153 <xpath expr="//footer" position="inside">
154 <div class="container mt16 mb8">
155 <div class="pull-right" t-ignore="true" t-if="not editable">
156 Create a <a href="http://www.odoo.com/page/website-builder">free website</a> with
157 <a class="label label-danger" href="http://www.odoo.com/page/website-builder">Odoo</a>
159 <div class="pull-left text-muted">
160 Copyright &copy; <span t-field="res_company.name">Company name</span>
166 <template id="layout_logo_show" inherit_id="website.layout" customize_show="True" name="Show Logo">
167 <xpath expr="//header//a[@class='navbar-brand']" position="replace">
168 <a href="/" class="navbar-brand logo">
169 <img src="/logo.png"/>
174 <template id="editor_head" inherit_id="website.layout" name="Editor" groups="base.group_website_publisher,base.group_website_designer">
175 <xpath expr='//t[@t-call-assets="website.assets_frontend"]' position="after">
176 <t t-call-assets="website.assets_editor"/>
180 <template id="assets_editor" name="Editor assets">
181 <script type="text/javascript">
182 var CKEDITOR_BASEPATH = '/web/static/lib/ckeditor/';
184 <link rel='stylesheet' href='/website/static/src/css/snippets.css'/>
185 <link rel='stylesheet' href='/website/static/src/css/editor.css'/>
186 <link rel='stylesheet' href="/web/static/lib/jquery.ui/css/smoothness/jquery-ui-1.9.1.custom.css"/>
187 <link rel="stylesheet" href="/web/static/lib/select2/select2.css"/>
188 <link rel="stylesheet" href="/website/static/lib/select2-bootstrap-css/select2-bootstrap.css"/>
190 <script type="text/javascript" src="/web/static/lib/select2/select2.js"></script>
191 <script type="text/javascript" src="/web/static/lib/ckeditor/ckeditor.js"></script>
192 <script type="text/javascript" src="/website/static/lib/ace/ace.js"></script>
193 <script type="text/javascript" src="/website/static/lib/ace/theme-monokai.js"></script>
194 <script type="text/javascript" src="/website/static/lib/ace/mode-xml.js"></script>
195 <script type="text/javascript" src="/website/static/lib/vkbeautify/vkbeautify.0.99.00.beta.js"></script>
196 <script type="text/javascript" src="/website/static/lib/jQuery.transfo.js"></script>
197 <t t-call="web.jqueryui_conflict">
198 <script type="text/javascript" src="/web/static/lib/jquery.ui/js/jquery-ui-1.9.1.custom.js"></script>
201 <!-- mutation observers shim backed by mutation events (8 < IE < 11, Safari < 6, FF < 14, Chrome < 17) -->
202 <script type="text/javascript" src="/website/static/lib//jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js"></script>
203 <script type="text/javascript" src="/website/static/lib/MutationObservers/test/sidetable.js"></script>
204 <script type="text/javascript" src='/website/static/lib/nearest/jquery.nearest.js'></script>
205 <script type="text/javascript" src="/website/static/lib/MutationObservers/MutationObserver.js"></script>
207 <script type="text/javascript" src="/website/static/src/js/website.editor.js"></script>
208 <script type="text/javascript" src="/website/static/src/js/website.contentMenu.js"></script> <!-- groups="base.group_website_designer" -->
209 <script type="text/javascript" src="/website/static/src/js/website.mobile.js"></script>
210 <script type="text/javascript" src="/website/static/src/js/website.seo.js"></script>
211 <script type="text/javascript" src="/website/static/src/js/website.tour.js"></script>
212 <script type="text/javascript" src="/website/static/src/js/website.tour.banner.js"></script> <!-- groups="base.group_website_designer" -->
213 <script type="text/javascript" src="/website/static/src/js/website.snippets.editor.js"></script>
214 <script type="text/javascript" src="/website/static/src/js/website.snippets.gallery.js" />
215 <script type="text/javascript" src="/website/static/src/js/website.ace.js"></script>
216 <script type="text/javascript" src="/website/static/src/js/website.translator.js"></script>
217 <script type="text/javascript" src="/website/static/src/js/website.theme.js"></script>
221 <template id="login_layout" inherit_id="web.login_layout" name="Website Login Layout">
222 <xpath expr="t" position="replace">
223 <t t-call="website.layout">
224 <div class="oe_website_login_container" t-raw="0"/>
229 <template id="show_sign_in" customize_show="True" inherit_id="website.layout" name="Show Sign In" groups="base.group_public">
230 <xpath expr="//ul[@id='top_menu']" position="inside">
231 <li class="divider"/>
233 <a t-attf-href="/web/login">
240 <template id="footer_custom" inherit_id="website.layout" name="Footer">
241 <xpath expr="//div[@id='footer_container']" position="replace">
242 <div class="oe_structure" id="footer">
243 <section class="mt16 mb16">
244 <div class="container">
246 <div class="col-md-4">
247 <h4 class="mt16">Subtitle</h4>
249 <a href="/">Homepage</a>
252 <div class="col-md-4">
253 <h4 class="mt16">Subtitle 2</h4>
258 <div class="col-md-4">
259 <h4 class="mt16">Subtitle 3</h4>
271 <template id="footer_default" inherit_id="website.footer_custom" customize_show="True" name="Automatic Footer">
272 <xpath expr="//div[@id='footer']" position="replace">
273 <div class="container hidden-print">
275 <div class="col-md-3">
276 <h4>Our products & Services</h4>
277 <ul class="list-unstyled" id="products">
278 <li><a href="/">Home</a></li>
281 <div class="col-md-3" id="info">
282 <h4>Connect with us</h4>
283 <ul class="list-unstyled">
284 <li><a href="/page/website.contactus">Contact us</a></li>
286 <ul class="list-unstyled">
287 <li t-ignore="true"><i class="fa fa-phone"></i> <span t-field="res_company.phone"></span></li>
288 <li t-ignore="true"><i class="fa fa-envelope"></i> <span t-field="res_company.email"></span></li>
291 <a t-att-href="website.social_facebook" t-if="website.social_facebook"><i class="fa fa-facebook-square"/></a>
292 <a t-att-href="website.social_twitter" t-if="website.social_twitter"><i class="fa fa-twitter"/></a>
293 <a t-att-href="website.social_linkedin" t-if="website.social_linkedin"><i class="fa fa-linkedin"/></a>
294 <a t-att-href="website.social_youtube" t-if="website.social_youtube"><i class="fa fa-youtube-play"/></a>
295 <a t-att-href="website.social_googleplus" t-if="website.social_googleplus"><i class="fa fa-google-plus-square"/></a>
296 <a t-att-href="website.social_github" t-if="website.social_github"><i class="fa fa-github"/></a>
299 <div class="col-md-5 col-lg-offset-1">
302 <span t-field="res_company.name" />
303 <small> - <a href="/page/website.aboutus">About us</a></small>
306 We are a team of passionate people whose goal is to improve everyone's
307 life through disruptive products. We build great products to solve your
311 Our products are designed for small to medium size companies willing to optimize
315 <ul class="list-inline js_language_selector mt16" t-if="(request.website_multilang and len(languages) > 1) or editable">
316 <li t-foreach="languages" t-as="lg">
317 <a t-att-href="url_for(request.httprequest.path + '?' + keep_query(), lang=lg[0])"
318 t-att-data-default-lang="editable and 'true' if lg[0] == website.default_lang_code else None">
319 <t t-esc="lg[1].split('/').pop()"/></a>
321 <li groups="base.group_website_publisher">
322 <t t-set="url_return" t-value="url_for('', '[lang]') + '?' + keep_query()"/>
323 <a t-attf-href="/web#action=base.action_view_base_language_install&website_id=#{website.id}&url_return=#{url_return}">
324 <i class="fa fa-plus-circle"/>
335 <template id="publish_management">
336 <div groups="base.group_website_publisher" t-ignore="true" class="pull-right css_editable_mode_hidden" t-att-style="style or ''">
337 <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">
338 <button class="btn btn-danger js_publish_btn">Not Published</button>
339 <button class="btn btn-success js_publish_btn">Published</button>
340 <button type="button" t-attf-class="btn btn-default dropdown-toggle" t-att-id="'dopprod-%s' % object.id" data-toggle="dropdown">
341 <span class="caret"></span>
343 <ul class="dropdown-menu" role="menu" t-att-aria-labelledby="'dopprod-%s' % object.id">
345 <a href="#" class="js_publish_btn">
346 <span class="css_unpublish">Unpublish</span>
347 <span class="css_publish">Publish</span>
351 <li t-if="publish_edit">
352 <a t-attf-href="/web#return_label=Website&view_type=form&model=#{object._name}&id=#{object.id}&action=#{action}"
353 title='Edit in backend'>Edit</a>
360 <template id="publish_short">
361 <t groups="base.group_website_publisher" t-ignore="true">
362 <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">
363 <button t-attf-class="btn btn-sm btn-#{object.website_published and 'success' or 'danger'} js_publish_btn">
364 <span class="css_publish">Not Published</span>
365 <span class="css_unpublish">Published</span>
371 <template id="pager" name="Pager">
372 <ul t-if="pager['page_count'] > 1" t-attf-class="#{ classname or '' } pagination" t-att-style="style or ''">
373 <li t-att-class=" 'disabled' if pager['page']['num'] == 1 else '' ">
374 <a t-att-href=" pager['page_previous']['url'] if pager['page']['num'] != 1 else ''">Prev</a>
376 <t t-foreach="pager['pages']" t-as="page">
377 <li t-att-class=" 'active' if page['num'] == pager['page']['num'] else '' "> <a t-att-href="page['url']" t-raw="page['num']"></a></li>
379 <li t-att-class=" 'disabled' if pager['page']['num'] == pager['page_count'] else '' ">
380 <a t-att-href="pager['page_next']['url'] if pager['page']['num'] != pager['page_count'] else ''">Next</a>
385 <template id="kanban">
386 <t t-set="step"><t t-esc="step or 0"/></t>
387 <t t-set="scope"><t t-esc="scope or 0"/></t>
388 <t t-set="orderby"><t t-esc="orderby or 'name'"/></t>
389 <t t-raw="website.kanban(model, domain, column, template, step=step, scope=scope, orderby=orderby)"/>
392 <template id="kanban_contain">
393 <table class="table js_kanban">
396 <t t-set="width" t-valuef="{{ round(100.0 / (len(objects) if objects else 1), 2) }}%"/>
397 <t t-foreach="objects" t-as="obj">
398 <th t-att-width="width">
399 <div t-field="obj['column_id'].name" class="text-center"></div>
406 <t t-foreach="objects" t-as="obj">
407 <td class="js_kanban_col" t-att-data-template="template"
408 t-att-data-domain="obj['domain']"
409 t-att-data-page_count="obj['page_count']"
410 t-att-data-model="obj['model']"
411 t-att-data-step="obj['step']"
412 t-att-data-orderby="obj['orderby']">
413 <t t-foreach="obj['object_ids']" t-as="object_id">
414 <t t-call="#{ template }"></t>
417 <div t-if="1 != obj['page_end']" class="pagination pagination-centered">
419 <li t-attf-class="prev #{'active' if obj['page'] == 1 else '' }">
420 <a t-att-href=" '%s,%s-%s' % (obj['kanban_url'], obj['column_id'].id, (obj['page'] > 1 and obj['page']-1 or 1)) ">Prev</a></li>
421 <t t-foreach="range(obj['page_start'], obj['page_end']+1)" t-as="p">
422 <li t-att-class=" 'active' if obj['page'] == p else '' ">
423 <a t-att-href=" '%s,%s-%s' % (obj['kanban_url'], obj['column_id'].id, p)" t-esc="p"></a></li>
425 <li t-attf-class="next #{'active' if obj['page'] == obj['page_end'] else '' }">
426 <a t-att-href=" '%s,%s-%s' % (obj['kanban_url'], obj['column_id'].id, (obj['page'] < obj['page_end'] and obj['page']+1 or obj['page_end']) )">Next</a></li>
436 <!-- Error and special pages -->
438 <template id="info" name="Odoo Information">
439 <t t-call="website.layout">
441 <div class="oe_structure">
443 <section class="container">
444 <h1><t t-esc="res_company.name"/>
445 <small>Odoo Version <t t-raw="version.get('server_version')"/></small>
448 Information about the <t t-esc="res_company.name"/> instance of Odoo, the <a href="https://www.odoo.com">Open Source ERP</a>.
451 <div class="alert alert-warning alert-dismissable mt16" groups="base.group_website_publisher">
452 <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
454 Note: To hide this page, uncheck it from the top Customize menu.
457 <h2>Installed Applications</h2>
458 <dl class="dl-horizontal" t-foreach="apps" t-as="app">
460 <a t-att-href="app.website" t-if="app.website">
461 <t t-raw="app.shortdesc"/>
463 <span t-raw="app.shortdesc" t-if="not app.website"/>
466 <span t-raw="app.summary"/>
467 </dd><dd class="text-muted">
468 Technical name: <span t-field="app.name"/>, updated: <span t-field="app.write_date"/>, author: <span t-field="app.author"/>
472 <h2>Installed Modules</h2>
473 <dl class="dl-horizontal">
474 <t t-foreach="modules" t-as="app">
476 <span t-raw="app.shortdesc"/>
478 <dd t-if="app.summary">
479 <span t-raw="app.summary"/>
481 Technical name: <span t-field="app.name"/>,
482 updated: <span t-field="app.write_date"/>
483 <t t-if="app.author">
484 , author: <span t-field="app.author"/>
498 <template id="default_page">
499 <t t-call="website.layout">
500 <div id="wrap" class="oe_structure oe_empty"></div>
504 <template id="page_404">
505 <t t-call="website.404">
506 <div class="container">
507 <div class="well mt32">
508 <p>This page does not exists, but you can create it as you are administrator of this site.</p>
509 <a class="btn btn-primary" t-attf-href="/website/add/#{ path }">Create Page</a>
511 <div class="text-center text-muted">Edit the content below this line to adapt the default "page not found" page.</div>
517 <template id="http_error">
518 <t t-call="website.layout">
520 <div class="oe_structure">
521 <h1 class="container mt32"><t t-esc="status_code"/>: <t t-esc="status_message"/></h1>
524 <t t-if="editable or request.debug">
525 <t t-call="website.http_error_debug"/>
531 <template id="http_error_debug">
532 <div class="container panel-group mb32 mt32" id="debug_infos">
533 <div class="panel panel-default" t-if="exception">
534 <div class="panel-heading">
535 <h4 class="panel-title">
536 <a data-toggle="collapse" data-parent="#debug_infos" href="#error_main">
541 <div id="error_main" class="panel-collapse collapse in">
542 <div class="panel-body">
543 <p t-if="website_controller">The following error was raised in the website controller <code t-esc="website_controller"/></p>
545 <strong>Error message:</strong>
546 <pre t-esc="exception.message"/>
551 <div class="panel panel-default" t-if="qweb_exception">
552 <div class="panel-heading">
553 <h4 class="panel-title">
554 <a data-toggle="collapse" data-parent="#adebug_infos" href="#error_qweb">
559 <div id="error_qweb" class="panel-collapse collapse">
560 <div class="panel-body">
561 <p t-if="exception.qweb.get('message')">
562 <strong>Error message:</strong>
563 <pre t-esc="exception.qweb.get('message')"/>
566 The error occured while rendering the template <code t-esc="qweb_exception.qweb.get('template')"/>
567 <t t-if="'expression' in qweb_exception.qweb">and evaluating the following expression: <code t-esc="qweb_exception.qweb['expression']"/></t>
569 <t t-if="'node' in qweb_exception.qweb">
570 <pre id="exception_node" t-esc="qweb_exception.pretty_xml()"/>
575 <div class="panel panel-default" t-if="traceback">
576 <div class="panel-heading">
577 <h4 class="panel-title">
578 <a data-toggle="collapse" data-parent="#adebug_infos" href="#error_traceback">
583 <div id="error_traceback" class="panel-collapse collapse">
584 <div class="panel-body">
585 <pre id="exception_traceback" t-esc="traceback"/>
593 <t t-call="website.layout">
595 <div class="container">
596 <h1 class="mt32">403: Forbidden</h1>
597 <p>The page you were looking for could not be authorized.</p>
598 <p>Maybe you were looking for one of these popular pages ?</p>
600 <li><a href="/">Homepage</a></li>
601 <li><a href="/page/website.contactus/">Contact Us</a></li>
604 <t t-if="editable or request.debug">
605 <t t-call="website.http_error_debug"/>
612 <t t-call="website.layout">
615 <div class="oe_structure oe_empty">
616 <div class="container">
617 <h1 class="mt32">404: Page not found!</h1>
619 The page you were looking for could not be found; it is possible you have
620 typed the address incorrectly, but it has most probably been removed due
621 to the recent website reorganisation.
623 <p>Maybe you were looking for one of these popular pages ?</p>
625 <li><a href="/">Homepage</a></li>
626 <li><a href="/page/website.contactus/">Contact Us</a></li>
631 <t t-if="request.debug">
632 <t t-call="website.http_error_debug"/>
639 <!-- This template should not use any variable except those provided by website.ir_http._handle_exception -->
642 <title t-esc="status_message">Internal Server Error</title>
643 <link rel='stylesheet' href='/web/static/lib/fontawesome/css/font-awesome.css'/>
644 <link rel='stylesheet' href='/web/static/lib/bootstrap/css/bootstrap.css'/>
645 <link rel='stylesheet' href='/website/static/src/css/website.css'/>
646 <script type="text/javascript" src="/web/static/lib/jquery/jquery.js"></script>
647 <script type="text/javascript" src="/web/static/lib/bootstrap/js/bootstrap.js"></script>
649 $(document).ready(function() {
650 var button = $('#reset_templates_button');
651 button.click(function() {
652 var dialog = $('#reset_template_confirmation').modal('show');
653 var input = dialog.find('input[type="text"]').val('').focus();
654 var dialog_form = dialog.find('form');
655 dialog_form.submit(function() {
656 if (input.val() == dialog.find('.confirm_word').text()) {
657 dialog.modal('hide');
658 button.prop('disabled', true).text('Working...');
659 $('#reset_templates_form').trigger('submit');
661 input.val('').focus();
671 <div id="reset_template_confirmation" class="modal" tabindex="-1" role="dialog" aria-hidden="true" t-ignore="true">
672 <div class="modal-dialog">
673 <form class="form-horizontal" role="form">
674 <div class="modal-content">
675 <div class="modal-header">
676 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
677 <h3 class="modal-title">Reset templates</h3>
679 <div class="modal-body">
680 <div class="form-group mb0">
681 <label for="page-name" class="col-sm-9">
682 <p>The selected templates will be reset to their factory settings.</p>
683 <p>Type '<i class="confirm_word">yes</i>' in the box below if you want to confirm.</p>
685 <div class="col-sm-3 mt16">
686 <input type="text" class="form-control" required="required" placeholder="yes"/>
690 <div class="modal-footer">
691 <input type="submit" value="Confirm" class="btn btn-primary"/>
692 <button type="button" class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
700 <div class="navbar navbar-default navbar-static-top">
701 <div class="container">
702 <div class="collapse navbar-collapse navbar-top-collapse">
703 <ul class="nav navbar-nav pull-right">
704 <li><a href="/">Home</a></li>
705 <li><a href="javascript: window.history.back()">Back</a></li>
711 <div class="oe_structure">
712 <h1 class="container mt32"><t t-esc="status_code"/>: <t t-esc="status_message"/></h1>
714 <div class="container" t-if="views">
715 <div class="alert alert-danger" t-if="qweb_exception and editable">
716 <h4>Template fallback</h4>
717 <p>An error occured while rendering the template <code t-esc="qweb_exception.qweb['template']"/>.</p>
718 <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>
719 <form action="/website/reset_templates" method="post" id="reset_templates_form">
720 <ul class="oe_template_fallback">
721 <li t-foreach="views" t-as="view">
723 <input type="checkbox" name="templates" t-att-value="view.id" t-att-checked="'checked' if view_first else None"/>
724 <t t-esc="view.name"/>
728 <input type="hidden" name="redirect" t-att-value="request.httprequest.path"/>
729 <button id="reset_templates_button">Reset selected templates</button>
734 <t t-if="editable or request.debug">
735 <t t-call="website.http_error_debug"/>
743 <template id="robots">
745 Sitemap: <t t-esc="url_root"/>sitemap.xml
748 <template id="sitemap_locs">
749 <url t-foreach="locs" t-as="page">
750 <loc><t t-esc="url_root"/><t t-esc="page['loc']"/></loc><t t-if="page.get('lastmod', False)">
751 <lastmod t-esc="page['lastmod']"/></t><t t-if="page.get('priority', False)">
752 <priority t-esc="page['priority']"/></t><t t-if="page.get('changefreq', False)">
753 <changefreq t-esc="page['changefreq']"/></t>
757 <template id="sitemap_xml"><?xml version="1.0" encoding="UTF-8"?>
758 <urlset t-attf-xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
763 <template id="sitemap_index_xml"><?xml version="1.0" encoding="UTF-8"?>
764 <sitemapindex t-attf-xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
765 <sitemap t-translate="off" t-foreach="pages" t-as="page">
766 <loc><t t-esc="url_root"/>sitemap-<t t-esc="page"/>.xml</loc>
772 <!-- Actual pages -->
774 <template id="homepage" name="Homepage" page="True" priority="29">
775 <t t-call="website.layout">
776 <div id="wrap" class="oe_structure oe_empty"></div>
780 <template id="company_description" name="Company Description">
781 <address itemscope="itemscope" itemtype="http://schema.org/Organization">
782 <!-- TODO widget contact must add itemprop attributes -->
783 <div t-field="res_company.partner_id" t-field-options='{
785 "fields": ["name", "address", "phone", "mobile", "fax", "email"]}'/>
787 <a t-att-href="res_company.google_map_link()" target="_BLANK">
788 <img class="thumbnail img-responsive" t-att-src="res_company.google_map_img()" />
792 <template id="contactus" name="Contact us" page="True">
793 <t t-call="website.layout">
795 <div class="oe_structure"/>
796 <div class="container">
799 <div class="col-md-8">
800 <div class="oe_structure">
802 <p>Contact us about anything related to our company or services.</p>
803 <p>We'll do our best to get back to you as soon as possible.</p>
806 <div class="text-center mt64" name="mail_button">
807 <a t-attf-href="mailto:{{ res_company.email }}" class="btn btn-primary">Send us an email</a>
810 <div class="col-md-4 mb32">
811 <div groups="base.group_website_publisher" t-ignore="true" class="pull-right css_editable_mode_hidden" t-att-style="style or ''">
812 <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>
814 <t t-call="website.company_description"/>
818 <div class="oe_structure"/>
823 <template id="aboutus" name="About us" page="True">
824 <t t-call="website.layout">
826 <div class="oe_structure">
829 <div class="container">
831 <div class="col-md-12">
832 <h1 class="text-center">About us</h1>
833 <h3 class="text-muted text-center">Great products for great people</h3>
840 <div class="container">
842 <div class="col-md-6 mt32">
844 We are a team of passionate people whose goal is to improve everyone's
845 life through disruptive products. We build great products to solve your
849 Our products are designed for small to medium size companies willing to optimize
853 <div class="col-md-4 col-md-offset-2 mt16 mb16">
854 <img src="/website/static/src/img/library/business_conference.jpg" class="img img-responsive shadow" alt="Our Team"/>
861 <div class="oe_structure"></div>