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-esc="(website or 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" t-js="false"/>
87 <t t-call-assets="website.assets_frontend" t-js="false"/>
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">
149 <t t-call-assets="web.assets_common" t-css="false"/>
150 <t t-call-assets="website.assets_frontend" t-css="false"/>
155 <template id="layout_footer_copyright" inherit_id="website.layout" name="Footer Copyright">
156 <xpath expr="//footer" position="inside">
157 <div class="container mt16 mb8">
158 <div class="pull-right" t-ignore="true" t-if="not editable">
159 Create a <a href="http://www.odoo.com/page/website-builder">free website</a> with
160 <a class="label label-danger" href="http://www.odoo.com/page/website-builder">Odoo</a>
162 <div class="pull-left text-muted">
163 Copyright &copy; <span t-field="res_company.name">Company name</span>
169 <template id="layout_logo_show" inherit_id="website.layout" customize_show="True" name="Show Logo">
170 <xpath expr="//header//a[@class='navbar-brand']" position="replace">
171 <a href="/" class="navbar-brand logo">
172 <img src="/logo.png"/>
177 <template id="editor_head" inherit_id="website.layout" name="Editor" groups="base.group_website_publisher,base.group_website_designer">
178 <xpath expr='//t[@t-call-assets="website.assets_frontend"][@t-js]' position="after">
179 <t t-call-assets="website.assets_editor" t-js="false"/>
181 <xpath expr='//t[@t-call-assets="website.assets_frontend"][@t-css]' position="after">
182 <t t-call-assets="website.assets_editor" t-css="false"/>
186 <template id="assets_editor" name="Editor assets">
187 <script type="text/javascript">
188 var CKEDITOR_BASEPATH = '/web/static/lib/ckeditor/';
190 <link rel='stylesheet' href='/website/static/src/css/snippets.css'/>
191 <link rel='stylesheet' href='/website/static/src/css/editor.css'/>
192 <link rel='stylesheet' href="/web/static/lib/jquery.ui/css/smoothness/jquery-ui-1.9.1.custom.css"/>
193 <link rel="stylesheet" href="/web/static/lib/select2/select2.css"/>
194 <link rel="stylesheet" href="/website/static/lib/select2-bootstrap-css/select2-bootstrap.css"/>
196 <script type="text/javascript" src="/web/static/lib/select2/select2.js"></script>
197 <script type="text/javascript" src="/web/static/lib/ckeditor/ckeditor.js"></script>
198 <script type="text/javascript" src="/website/static/lib/ace/ace.js"></script>
199 <script type="text/javascript" src="/website/static/lib/ace/theme-monokai.js"></script>
200 <script type="text/javascript" src="/website/static/lib/ace/mode-xml.js"></script>
201 <script type="text/javascript" src="/website/static/lib/vkbeautify/vkbeautify.0.99.00.beta.js"></script>
202 <script type="text/javascript" src="/website/static/lib/jQuery.transfo.js"></script>
203 <t t-call="web.jqueryui_conflict">
204 <script type="text/javascript" src="/web/static/lib/jquery.ui/js/jquery-ui-1.9.1.custom.js"></script>
207 <!-- mutation observers shim backed by mutation events (8 < IE < 11, Safari < 6, FF < 14, Chrome < 17) -->
208 <script type="text/javascript" src="/website/static/lib//jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js"></script>
209 <script type="text/javascript" src="/website/static/lib/MutationObservers/test/sidetable.js"></script>
210 <script type="text/javascript" src='/website/static/lib/nearest/jquery.nearest.js'></script>
211 <script type="text/javascript" src="/website/static/lib/MutationObservers/MutationObserver.js"></script>
213 <script type="text/javascript" src="/website/static/src/js/website.editor.js"></script>
214 <script type="text/javascript" src="/website/static/src/js/website.contentMenu.js"></script> <!-- groups="base.group_website_designer" -->
215 <script type="text/javascript" src="/website/static/src/js/website.mobile.js"></script>
216 <script type="text/javascript" src="/website/static/src/js/website.seo.js"></script>
217 <script type="text/javascript" src="/website/static/src/js/website.tour.js"></script>
218 <script type="text/javascript" src="/website/static/src/js/website.tour.banner.js"></script> <!-- groups="base.group_website_designer" -->
219 <script type="text/javascript" src="/website/static/src/js/website.snippets.editor.js"></script>
220 <script type="text/javascript" src="/website/static/src/js/website.snippets.gallery.js" />
221 <script type="text/javascript" src="/website/static/src/js/website.ace.js"></script>
222 <script type="text/javascript" src="/website/static/src/js/website.translator.js"></script>
223 <script type="text/javascript" src="/website/static/src/js/website.theme.js"></script>
227 <template id="login_layout" inherit_id="web.login_layout" name="Website Login Layout">
228 <xpath expr="t" position="replace">
229 <t t-call="website.layout">
230 <div class="oe_website_login_container" t-raw="0"/>
235 <template id="show_sign_in" customize_show="True" inherit_id="website.layout" name="Show Sign In" groups="base.group_public">
236 <xpath expr="//ul[@id='top_menu']" position="inside">
237 <li class="divider"/>
239 <a t-attf-href="/web/login">
246 <template id="footer_custom" inherit_id="website.layout" name="Footer">
247 <xpath expr="//div[@id='footer_container']" position="replace">
248 <div class="oe_structure" id="footer">
249 <section class="mt16 mb16">
250 <div class="container">
252 <div class="col-md-4">
253 <h4 class="mt16">Subtitle</h4>
255 <a href="/">Homepage</a>
258 <div class="col-md-4">
259 <h4 class="mt16">Subtitle 2</h4>
264 <div class="col-md-4">
265 <h4 class="mt16">Subtitle 3</h4>
277 <template id="footer_default" inherit_id="website.footer_custom" customize_show="True" name="Automatic Footer">
278 <xpath expr="//div[@id='footer']" position="replace">
279 <div class="container hidden-print">
281 <div class="col-md-3">
282 <h4>Our products & Services</h4>
283 <ul class="list-unstyled" id="products">
284 <li><a href="/">Home</a></li>
287 <div class="col-md-3" id="info">
288 <h4>Connect with us</h4>
289 <ul class="list-unstyled">
290 <li><a href="/page/website.contactus">Contact us</a></li>
292 <ul class="list-unstyled">
293 <li t-ignore="true"><i class="fa fa-phone"></i> <span t-field="res_company.phone"></span></li>
294 <li t-ignore="true"><i class="fa fa-envelope"></i> <span t-field="res_company.email"></span></li>
297 <a t-att-href="website.social_facebook" t-if="website.social_facebook"><i class="fa fa-facebook-square"/></a>
298 <a t-att-href="website.social_twitter" t-if="website.social_twitter"><i class="fa fa-twitter"/></a>
299 <a t-att-href="website.social_linkedin" t-if="website.social_linkedin"><i class="fa fa-linkedin"/></a>
300 <a t-att-href="website.social_youtube" t-if="website.social_youtube"><i class="fa fa-youtube-play"/></a>
301 <a t-att-href="website.social_googleplus" t-if="website.social_googleplus"><i class="fa fa-google-plus-square"/></a>
302 <a t-att-href="website.social_github" t-if="website.social_github"><i class="fa fa-github"/></a>
305 <div class="col-md-5 col-lg-offset-1">
308 <span t-field="res_company.name" />
309 <small> - <a href="/page/website.aboutus">About us</a></small>
312 We are a team of passionate people whose goal is to improve everyone's
313 life through disruptive products. We build great products to solve your
317 Our products are designed for small to medium size companies willing to optimize
321 <ul class="list-inline js_language_selector mt16" t-if="(request.website_multilang and len(languages) > 1) or editable">
322 <li t-foreach="languages" t-as="lg">
323 <a t-att-href="url_for(request.httprequest.path + '?' + keep_query(), lang=lg[0])"
324 t-att-data-default-lang="editable and 'true' if lg[0] == website.default_lang_code else None">
325 <t t-esc="lg[1].split('/').pop()"/></a>
327 <li groups="base.group_website_publisher">
328 <t t-set="url_return" t-value="url_for('', '[lang]') + '?' + keep_query()"/>
329 <a t-attf-href="/web#action=base.action_view_base_language_install&website_id=#{website.id}&url_return=#{url_return}">
330 <i class="fa fa-plus-circle"/>
341 <template id="publish_management">
342 <div groups="base.group_website_publisher" t-ignore="true" class="pull-right css_editable_mode_hidden" t-att-style="style or ''">
343 <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">
344 <button class="btn btn-danger js_publish_btn">Not Published</button>
345 <button class="btn btn-success js_publish_btn">Published</button>
346 <button type="button" t-attf-class="btn btn-default dropdown-toggle" t-att-id="'dopprod-%s' % object.id" data-toggle="dropdown">
347 <span class="caret"></span>
349 <ul class="dropdown-menu" role="menu" t-att-aria-labelledby="'dopprod-%s' % object.id">
351 <a href="#" class="js_publish_btn">
352 <span class="css_unpublish">Unpublish</span>
353 <span class="css_publish">Publish</span>
357 <li t-if="publish_edit">
358 <a t-attf-href="/web#return_label=Website&view_type=form&model=#{object._name}&id=#{object.id}&action=#{action}"
359 title='Edit in backend'>Edit</a>
366 <template id="publish_short">
367 <t groups="base.group_website_publisher" t-ignore="true">
368 <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">
369 <button t-attf-class="btn btn-sm btn-#{object.website_published and 'success' or 'danger'} js_publish_btn">
370 <span class="css_publish">Not Published</span>
371 <span class="css_unpublish">Published</span>
377 <template id="pager" name="Pager">
378 <ul t-if="pager['page_count'] > 1" t-attf-class="#{ classname or '' } pagination" t-att-style="style or ''">
379 <li t-att-class=" 'disabled' if pager['page']['num'] == 1 else '' ">
380 <a t-att-href=" pager['page_previous']['url'] if pager['page']['num'] != 1 else ''">Prev</a>
382 <t t-foreach="pager['pages']" t-as="page">
383 <li t-att-class=" 'active' if page['num'] == pager['page']['num'] else '' "> <a t-att-href="page['url']" t-raw="page['num']"></a></li>
385 <li t-att-class=" 'disabled' if pager['page']['num'] == pager['page_count'] else '' ">
386 <a t-att-href="pager['page_next']['url'] if pager['page']['num'] != pager['page_count'] else ''">Next</a>
391 <template id="kanban">
392 <t t-set="step"><t t-esc="step or 0"/></t>
393 <t t-set="scope"><t t-esc="scope or 0"/></t>
394 <t t-set="orderby"><t t-esc="orderby or 'name'"/></t>
395 <t t-raw="website.kanban(model, domain, column, template, step=step, scope=scope, orderby=orderby)"/>
398 <template id="kanban_contain">
399 <table class="table js_kanban">
402 <t t-set="width" t-valuef="{{ round(100.0 / (len(objects) if objects else 1), 2) }}%"/>
403 <t t-foreach="objects" t-as="obj">
404 <th t-att-width="width">
405 <div t-field="obj['column_id'].name" class="text-center"></div>
412 <t t-foreach="objects" t-as="obj">
413 <td class="js_kanban_col" t-att-data-template="template"
414 t-att-data-domain="obj['domain']"
415 t-att-data-page_count="obj['page_count']"
416 t-att-data-model="obj['model']"
417 t-att-data-step="obj['step']"
418 t-att-data-orderby="obj['orderby']">
419 <t t-foreach="obj['object_ids']" t-as="object_id">
420 <t t-call="#{ template }"></t>
423 <div t-if="1 != obj['page_end']" class="pagination pagination-centered">
425 <li t-attf-class="prev #{'active' if obj['page'] == 1 else '' }">
426 <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>
427 <t t-foreach="range(obj['page_start'], obj['page_end']+1)" t-as="p">
428 <li t-att-class=" 'active' if obj['page'] == p else '' ">
429 <a t-att-href=" '%s,%s-%s' % (obj['kanban_url'], obj['column_id'].id, p)" t-esc="p"></a></li>
431 <li t-attf-class="next #{'active' if obj['page'] == obj['page_end'] else '' }">
432 <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>
442 <!-- Error and special pages -->
444 <template id="info" name="Odoo Information">
445 <t t-call="website.layout">
447 <div class="oe_structure">
449 <section class="container">
450 <h1><t t-esc="res_company.name"/>
451 <small>Odoo Version <t t-raw="version.get('server_version')"/></small>
454 Information about the <t t-esc="res_company.name"/> instance of Odoo, the <a href="https://www.odoo.com">Open Source ERP</a>.
457 <div class="alert alert-warning alert-dismissable mt16" groups="base.group_website_publisher">
458 <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
460 Note: To hide this page, uncheck it from the top Customize menu.
463 <h2>Installed Applications</h2>
464 <dl class="dl-horizontal" t-foreach="apps" t-as="app">
466 <a t-att-href="app.website" t-if="app.website">
467 <t t-raw="app.shortdesc"/>
469 <span t-raw="app.shortdesc" t-if="not app.website"/>
472 <span t-raw="app.summary"/>
473 </dd><dd class="text-muted">
474 Technical name: <span t-field="app.name"/>, updated: <span t-field="app.write_date"/>, author: <span t-field="app.author"/>
478 <h2>Installed Modules</h2>
479 <dl class="dl-horizontal">
480 <t t-foreach="modules" t-as="app">
482 <span t-raw="app.shortdesc"/>
484 <dd t-if="app.summary">
485 <span t-raw="app.summary"/>
487 Technical name: <span t-field="app.name"/>,
488 updated: <span t-field="app.write_date"/>
489 <t t-if="app.author">
490 , author: <span t-field="app.author"/>
504 <template id="default_page">
505 <t t-call="website.layout">
506 <div id="wrap" class="oe_structure oe_empty"></div>
510 <template id="page_404">
511 <t t-call="website.404">
512 <div class="container">
513 <div class="well mt32">
514 <p>This page does not exists, but you can create it as you are administrator of this site.</p>
515 <a class="btn btn-primary" t-attf-href="/website/add/#{ path }">Create Page</a>
517 <div class="text-center text-muted">Edit the content below this line to adapt the default "page not found" page.</div>
523 <template id="http_error">
524 <t t-call="website.layout">
526 <div class="oe_structure">
527 <h1 class="container mt32"><t t-esc="status_code"/>: <t t-esc="status_message"/></h1>
530 <t t-if="editable or request.debug">
531 <t t-call="website.http_error_debug"/>
537 <template id="http_error_debug">
538 <div class="container panel-group mb32 mt32" id="debug_infos">
539 <div class="panel panel-default" t-if="exception">
540 <div class="panel-heading">
541 <h4 class="panel-title">
542 <a data-toggle="collapse" data-parent="#debug_infos" href="#error_main">
547 <div id="error_main" class="panel-collapse collapse in">
548 <div class="panel-body">
549 <p t-if="website_controller">The following error was raised in the website controller <code t-esc="website_controller"/></p>
551 <strong>Error message:</strong>
552 <pre t-esc="exception.message"/>
557 <div class="panel panel-default" t-if="qweb_exception">
558 <div class="panel-heading">
559 <h4 class="panel-title">
560 <a data-toggle="collapse" data-parent="#adebug_infos" href="#error_qweb">
565 <div id="error_qweb" class="panel-collapse collapse">
566 <div class="panel-body">
567 <p t-if="exception.qweb.get('message')">
568 <strong>Error message:</strong>
569 <pre t-esc="exception.qweb.get('message')"/>
572 The error occured while rendering the template <code t-esc="qweb_exception.qweb.get('template')"/>
573 <t t-if="'expression' in qweb_exception.qweb">and evaluating the following expression: <code t-esc="qweb_exception.qweb['expression']"/></t>
575 <t t-if="'node' in qweb_exception.qweb">
576 <pre id="exception_node" t-esc="qweb_exception.pretty_xml()"/>
581 <div class="panel panel-default" t-if="traceback">
582 <div class="panel-heading">
583 <h4 class="panel-title">
584 <a data-toggle="collapse" data-parent="#adebug_infos" href="#error_traceback">
589 <div id="error_traceback" class="panel-collapse collapse">
590 <div class="panel-body">
591 <pre id="exception_traceback" t-esc="traceback"/>
599 <t t-call="website.layout">
601 <div class="container">
602 <h1 class="mt32">403: Forbidden</h1>
603 <p>The page you were looking for could not be authorized.</p>
604 <p>Maybe you were looking for one of these popular pages ?</p>
606 <li><a href="/">Homepage</a></li>
607 <li><a href="/page/website.contactus/">Contact Us</a></li>
610 <t t-if="editable or request.debug">
611 <t t-call="website.http_error_debug"/>
618 <t t-call="website.layout">
621 <div class="oe_structure oe_empty">
622 <div class="container">
623 <h1 class="mt32">404: Page not found!</h1>
625 The page you were looking for could not be found; it is possible you have
626 typed the address incorrectly, but it has most probably been removed due
627 to the recent website reorganisation.
629 <p>Maybe you were looking for one of these popular pages ?</p>
631 <li><a href="/">Homepage</a></li>
632 <li><a href="/page/website.contactus/">Contact Us</a></li>
637 <t t-if="request.debug">
638 <t t-call="website.http_error_debug"/>
645 <!-- This template should not use any variable except those provided by website.ir_http._handle_exception -->
648 <title t-esc="status_message">Internal Server Error</title>
649 <link rel='stylesheet' href='/web/static/lib/fontawesome/css/font-awesome.css'/>
650 <link rel='stylesheet' href='/web/static/lib/bootstrap/css/bootstrap.css'/>
651 <link rel='stylesheet' href='/website/static/src/css/website.css'/>
652 <script type="text/javascript" src="/web/static/lib/jquery/jquery.js"></script>
653 <script type="text/javascript" src="/web/static/lib/bootstrap/js/bootstrap.js"></script>
655 $(document).ready(function() {
656 var button = $('#reset_templates_button');
657 button.click(function() {
658 var dialog = $('#reset_template_confirmation').modal('show');
659 var input = dialog.find('input[type="text"]').val('').focus();
660 var dialog_form = dialog.find('form');
661 dialog_form.submit(function() {
662 if (input.val() == dialog.find('.confirm_word').text()) {
663 dialog.modal('hide');
664 button.prop('disabled', true).text('Working...');
665 $('#reset_templates_form').trigger('submit');
667 input.val('').focus();
677 <div id="reset_template_confirmation" class="modal" tabindex="-1" role="dialog" aria-hidden="true" t-ignore="true">
678 <div class="modal-dialog">
679 <form class="form-horizontal" role="form">
680 <div class="modal-content">
681 <div class="modal-header">
682 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
683 <h3 class="modal-title">Reset templates</h3>
685 <div class="modal-body">
686 <div class="form-group mb0">
687 <label for="page-name" class="col-sm-9">
688 <p>The selected templates will be reset to their factory settings.</p>
689 <p>Type '<i class="confirm_word">yes</i>' in the box below if you want to confirm.</p>
691 <div class="col-sm-3 mt16">
692 <input type="text" class="form-control" required="required" placeholder="yes"/>
696 <div class="modal-footer">
697 <input type="submit" value="Confirm" class="btn btn-primary"/>
698 <button type="button" class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
706 <div class="navbar navbar-default navbar-static-top">
707 <div class="container">
708 <div class="collapse navbar-collapse navbar-top-collapse">
709 <ul class="nav navbar-nav pull-right">
710 <li><a href="/">Home</a></li>
711 <li><a href="javascript: window.history.back()">Back</a></li>
717 <div class="oe_structure">
718 <h1 class="container mt32"><t t-esc="status_code"/>: <t t-esc="status_message"/></h1>
720 <div class="container" t-if="views">
721 <div class="alert alert-danger" t-if="qweb_exception and editable">
722 <h4>Template fallback</h4>
723 <p>An error occured while rendering the template <code t-esc="qweb_exception.qweb['template']"/>.</p>
724 <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>
725 <form action="/website/reset_templates" method="post" id="reset_templates_form">
726 <ul class="oe_template_fallback">
727 <li t-foreach="views" t-as="view">
729 <input type="checkbox" name="templates" t-att-value="view.id" t-att-checked="'checked' if view_first else None"/>
730 <t t-esc="view.name"/>
734 <input type="hidden" name="redirect" t-att-value="request.httprequest.path"/>
735 <button id="reset_templates_button">Reset selected templates</button>
740 <t t-if="editable or request.debug">
741 <t t-call="website.http_error_debug"/>
749 <template id="robots">
751 Sitemap: <t t-esc="url_root"/>sitemap.xml
754 <template id="sitemap_locs">
755 <url t-foreach="locs" t-as="page">
756 <loc><t t-esc="url_root"/><t t-esc="page['loc']"/></loc><t t-if="page.get('lastmod', False)">
757 <lastmod t-esc="page['lastmod']"/></t><t t-if="page.get('priority', False)">
758 <priority t-esc="page['priority']"/></t><t t-if="page.get('changefreq', False)">
759 <changefreq t-esc="page['changefreq']"/></t>
763 <template id="sitemap_xml"><?xml version="1.0" encoding="UTF-8"?>
764 <urlset t-attf-xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
769 <template id="sitemap_index_xml"><?xml version="1.0" encoding="UTF-8"?>
770 <sitemapindex t-attf-xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
771 <sitemap t-translate="off" t-foreach="pages" t-as="page">
772 <loc><t t-esc="url_root"/>sitemap-<t t-esc="page"/>.xml</loc>
778 <!-- Actual pages -->
780 <template id="homepage" name="Homepage" page="True" priority="29">
781 <t t-call="website.layout">
782 <div id="wrap" class="oe_structure oe_empty"></div>
786 <template id="company_description" name="Company Description">
787 <address itemscope="itemscope" itemtype="http://schema.org/Organization">
788 <!-- TODO widget contact must add itemprop attributes -->
789 <div t-field="res_company.partner_id" t-field-options='{
791 "fields": ["name", "address", "phone", "mobile", "fax", "email"]}'/>
793 <a t-att-href="res_company.google_map_link()" target="_BLANK">
794 <img class="thumbnail img-responsive" t-att-src="res_company.google_map_img()" />
798 <template id="contactus" name="Contact us" page="True">
799 <t t-call="website.layout">
801 <div class="oe_structure"/>
802 <div class="container">
805 <div class="col-md-8">
806 <div class="oe_structure">
808 <p>Contact us about anything related to our company or services.</p>
809 <p>We'll do our best to get back to you as soon as possible.</p>
812 <div class="text-center mt64" name="mail_button">
813 <a t-attf-href="mailto:{{ res_company.email }}" class="btn btn-primary">Send us an email</a>
816 <div class="col-md-4 mb32">
817 <div groups="base.group_website_publisher" t-ignore="true" class="pull-right css_editable_mode_hidden" t-att-style="style or ''">
818 <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>
820 <t t-call="website.company_description"/>
824 <div class="oe_structure"/>
829 <template id="aboutus" name="About us" page="True">
830 <t t-call="website.layout">
832 <div class="oe_structure">
835 <div class="container">
837 <div class="col-md-12">
838 <h1 class="text-center">About us</h1>
839 <h3 class="text-muted text-center">Great products for great people</h3>
846 <div class="container">
848 <div class="col-md-6 mt32">
850 We are a team of passionate people whose goal is to improve everyone's
851 life through disruptive products. We build great products to solve your
855 Our products are designed for small to medium size companies willing to optimize
859 <div class="col-md-4 col-md-offset-2 mt16 mb16">
860 <img src="/website/static/src/img/library/business_conference.jpg" class="img img-responsive shadow" alt="Our Team"/>
867 <div class="oe_structure"></div>