2013-07-01 00:20:54 +00:00
<?xml version="1.0" encoding="utf-8"?>
2013-07-18 17:00:04 +00:00
<!-- vim:fdn=3:
-->
2013-07-01 00:20:54 +00:00
<openerp >
<data >
2013-08-11 20:11:29 +00:00
<!--
Files used in the generic theme, mostly bootstrap and a few OpenERP tags
-->
2013-08-19 09:25:07 +00:00
<template id= "website.theme" name= "Theme" >
2013-08-11 21:09:27 +00:00
<link id= "bootstrap_css" rel= 'stylesheet' href= '/website/static/lib/bootstrap/css/bootstrap.css' t-ignore= "true" />
<link id= "website_css" rel= 'stylesheet' href= '/website/static/src/css/website.css' t-ignore= "true" />
2013-07-22 11:08:36 +00:00
</template>
2013-07-16 14:30:48 +00:00
2013-09-16 15:02:09 +00:00
<template id= "layout" name= "Main layout" >
2013-07-18 17:00:04 +00:00
< !DOCTYPE html>
2013-09-11 16:18:54 +00:00
<html t-att-lang= "lang.replace('_', '-')"
t-att-data-editable="'1' if editable else '0'"
t-att-data-view-xmlid="str(__stack__[0])">
2013-07-01 00:20:54 +00:00
<head >
2013-08-08 18:28:00 +00:00
<title > <t t-esc= "title or res_company.name" /> </title>
2013-09-02 09:37:55 +00:00
<meta name= "openerp.company" t-att-value= "res_company.name" />
2013-09-13 11:40:53 +00:00
<meta name= "description" value= "" />
<meta name= "keywords" value= "" />
2013-08-14 17:15:32 +00:00
<script type= "text/javascript" src= "/web/static/lib/underscore/underscore.js" > </script>
<script type= "text/javascript" src= "/web/static/lib/underscore.string/lib/underscore.string.js" > </script>
2013-08-07 11:39:00 +00:00
<script type= "text/javascript" src= "/web/static/lib/jquery/jquery.js" > </script>
2013-08-14 17:15:32 +00:00
<script type= "text/javascript" src= "/website/static/lib/bootstrap/js/bootstrap.js" > </script>
2013-08-20 21:34:50 +00:00
<script type= "text/javascript" src= "/web/static/lib/qweb/qweb2.js" > </script>
<script type= "text/javascript" src= "/web/static/src/js/openerpframework.js" > </script>
2013-07-23 13:15:43 +00:00
2013-09-11 17:14:06 +00:00
<script type= "text/javascript" src= "/website/static/src/js/website.js" > </script>
2013-07-23 13:15:43 +00:00
<t t-if= "editable" >
2013-07-23 13:36:23 +00:00
<link rel= 'stylesheet' href= '/website/static/src/css/snippets.css' />
2013-08-14 17:15:32 +00:00
<link rel= 'stylesheet' href= '/website/static/src/css/editor.css' />
2013-09-09 09:44:37 +00:00
<script type= "text/javascript" src= "/website/static/lib/ckeditor/ckeditor.js" > </script>
2013-08-20 21:34:50 +00:00
<script type= "text/javascript" src= "/website/static/lib/ckeditor.sharedspace/plugin.js" > </script>
2013-09-13 09:45:38 +00:00
<script type= "text/javascript" src= "/website/static/lib/ace/ace.js" > </script>
<script type= "text/javascript" src= "/website/static/lib/vkbeautify/vkbeautify.0.99.00.beta.js" > </script>
2013-08-14 17:15:32 +00:00
<script type= "text/javascript" src= "/web/static/lib/jquery.ui/js/jquery-ui-1.9.1.custom.js" > </script>
2013-08-28 08:49:45 +00:00
<!-- mutation observers shim backed by mutation events (8 < IE < 11, Safari < 6, FF < 14, Chrome < 17) -->
<script type= "text/javascript" src= "/website/static/lib/MutationObservers/test/sidetable.js" > </script>
<script type= "text/javascript" src= "/website/static/lib/MutationObservers/MutationObserver.js" > </script>
2013-09-11 17:14:06 +00:00
<script type= "text/javascript" src= "/website/static/src/js/website.editor.js" > </script>
<script type= "text/javascript" src= "/website/static/src/js/website.mobile.js" > </script>
<script type= "text/javascript" src= "/website/static/src/js/website.seo.js" > </script>
<script type= "text/javascript" src= "/website/static/src/js/website.snippets.js" > </script>
2013-09-12 14:10:26 +00:00
<script type= "text/javascript" src= "/website/static/src/js/website.ace.js" > </script>
2013-07-02 10:36:34 +00:00
</t>
2013-08-14 17:15:32 +00:00
2013-08-08 22:53:36 +00:00
<t t-raw= "head or ''" />
2013-08-11 20:11:29 +00:00
<t t-call= "website.theme" />
2013-07-30 16:03:17 +00:00
<link rel= 'stylesheet' href= '/web/static/lib/fontawesome/css/font-awesome.css' />
2013-07-01 00:20:54 +00:00
</head>
2013-07-30 16:03:17 +00:00
<body >
2013-09-18 14:50:28 +00:00
<div id= "wrapwrap" >
<header >
<div class= "navbar navbar-default navbar-static-top" >
<div class= "container" >
<div class= "navbar-header" >
<button type= "button" class= "navbar-toggle" data-toggle= "collapse" data-target= ".navbar-top-collapse" >
<span class= "sr-only" > Toggle navigation</span>
<span class= "icon-bar" > </span>
<span class= "icon-bar" > </span>
<span class= "icon-bar" > </span>
</button>
2013-09-23 12:03:28 +00:00
<a class= "navbar-brand" href= "/page/website.homepage" > <em > Your</em> <b > Company</b> </a>
2013-09-18 14:50:28 +00:00
</div>
<div class= "collapse navbar-collapse navbar-top-collapse" >
<ul class= "nav navbar-nav navbar-right" id= "top_menu" >
2013-09-23 12:56:06 +00:00
<li name= "contactus" > <a href= "/page/website.contactus" > Contact us</a> </li>
<li t-if= "user_id.id == website.public_user.id" > <a href= "/admin" > Sign in</a> </li>
<li t-if= "user_id.id != website.public_user.id" > <a href= "/admin" > <t t-field= "user_id.name" /> </a> </li>
2013-09-18 14:50:28 +00:00
<li t-if= "len(website.language_ids) > 1" class= "dropdown" >
<!-- TODO: use flags for language selection -->
<t t-set= "lang_selected" t-value= "[lg for lg in website.language_ids if lg.code == lang]" />
<a class= "dropdown-toggle" data-toggle= "dropdown" href= "#" >
<t t-esc= "lang_selected[0]['name']" /> <span class= "caret" > </span>
</a>
<ul class= "dropdown-menu" role= "menu" >
<li t-foreach= "website.language_ids" t-as= "lg" >
<a href= "#" role= "menuitem" >
<strong t-att-class= "'icon-check' i f lg.code = = l a n g
else 'icon-check-empty'"></strong>
<t t-esc= "lg.name" />
</a>
</li>
</ul>
</li>
</ul>
</div>
2013-08-29 20:45:53 +00:00
</div>
2013-08-27 11:23:18 +00:00
</div>
2013-09-18 14:50:28 +00:00
</header>
2013-09-23 12:03:28 +00:00
<t t-raw= "0" />
2013-09-18 14:50:28 +00:00
<footer >
<div class= "container" id= "footer_container" >
<div class= "row" >
<div class= "col-md-3" name= "product" >
<h4 > Our products & Services</h4>
<ul class= "list-unstyled" name= "products" >
<li > <a href= "/" > Home</a> </li>
</ul>
</div>
<div class= "col-md-3" name= "info" >
<h4 name= "info_title" > Connect with us</h4>
<ul class= "list-unstyled" >
<li > <a href= "/page/website.contactus" > Contact us</a> </li>
</ul>
<ul class= "list-unstyled" >
<li > <i class= "icon-phone" > </i> <span t-field= "res_company.phone" > </span> </li>
<li > <i class= "icon-envelope" > </i> <span t-field= "res_company.email" > </span> </li>
</ul>
<h1 >
<a href= "http://twitter.com/openerp" > <i class= "icon-twitter-sign" > </i> </a>
<a href= "http://facebook.com/OpenERP" > <i class= "icon-facebook-sign" > </i> </a>
<a href= "https://plus.google.com/+openerp/posts" > <i class= "icon-google-plus-sign" > </i> </a>
</h1>
</div>
<div class= "col-md-5 col-lg-offset-1" name= "about_us" >
2013-09-23 12:03:28 +00:00
<h4 >
<span t-field= "res_company.name" > Your Company</span>
<small > - <a href= "/page/website.aboutus" > About us</a> </small>
</h4>
2013-09-18 14:50:28 +00:00
<p >
We are a team of passionated people whose goal is to improve everyone's
life through disruptive products. We build great products to solve your
business problems.
</p>
<p >
Our products are designed for small to medium companies willing to optimize
their performance.
</p>
</div>
2013-07-31 13:40:57 +00:00
</div>
2013-09-18 14:50:28 +00:00
</div>
<div class= "container mt16" >
<div class= "pull-right" t-ignore= "1" >
Create a <a href= "http://openerp.com/apps/website" > free website</a> with
<a class= "label label-danger" href= "https://openerp.com/apps/website" > OpenERP</a>
2013-07-02 19:45:40 +00:00
</div>
2013-09-18 14:50:28 +00:00
<div class= "pull-left text-muted" >
Copyright & copy; <span t-field= "res_company.name" > Company name</span> - <a href= "/sitemap" > Sitemap</a>
2013-07-02 19:45:40 +00:00
</div>
2013-08-12 09:32:55 +00:00
</div>
2013-09-18 14:50:28 +00:00
</footer>
</div>
2013-07-01 00:20:54 +00:00
</body>
</html>
2013-07-22 11:08:36 +00:00
</template>
2013-07-01 00:20:54 +00:00
2013-08-12 09:32:55 +00:00
<template id= "footer_custom" inherit_option_id= "website.layout" name= "Custom Footer" >
2013-09-17 20:50:34 +00:00
<xpath expr= "//div[@id='footer_container']" position= "before" >
<section data-snippet-id= 'three-columns' class= "mt16 mb16" >
<div class= "container" >
2013-07-31 14:40:22 +00:00
<div class= "row" >
2013-09-17 20:50:34 +00:00
<div class= "col-md-4" >
<h4 class= "mt16" > Subtitle</h4>
<p >
<a href= "/" > Homepage</a>
</p>
2013-07-31 14:40:22 +00:00
</div>
2013-09-17 20:50:34 +00:00
<div class= "col-md-4" >
<h4 class= "mt16" > Subtitle 2</h4>
<p >
...
2013-07-31 14:40:22 +00:00
</p>
2013-09-17 20:50:34 +00:00
</div>
<div class= "col-md-4" >
<h4 class= "mt16" > Subtitle 3</h4>
2013-07-31 14:40:22 +00:00
<p >
2013-09-17 20:50:34 +00:00
...
2013-07-31 14:40:22 +00:00
</p>
</div>
2013-07-30 16:03:17 +00:00
</div>
2013-09-12 14:53:02 +00:00
</div>
</section>
2013-09-17 20:50:34 +00:00
</xpath>
2013-08-12 11:54:46 +00:00
<xpath expr= "//div[@id='footer_container']" position= "attributes" >
2013-08-12 09:32:55 +00:00
<attribute name= "style" > display: none</attribute>
</xpath>
</template>
2013-09-16 15:02:09 +00:00
<template id= "homepage" name= "Homepage" page= "True" >
2013-09-15 17:25:37 +00:00
<t t-call= "website.layout" >
2013-09-19 07:53:09 +00:00
<div id= "wrap" class= "oe_structure oe_empty" > </div>
2013-07-22 11:08:36 +00:00
</t>
</template>
2013-07-01 00:20:54 +00:00
2013-07-22 11:08:36 +00:00
<template id= "default_page" >
2013-07-31 12:58:17 +00:00
<t t-call= "website.layout" >
2013-09-19 07:53:09 +00:00
<div id= "wrap" class= "oe_structure oe_empty" > </div>
2013-07-31 12:58:17 +00:00
</t>
2013-07-22 11:08:36 +00:00
</template>
2013-07-02 19:04:49 +00:00
2013-07-22 11:08:36 +00:00
<template id= "404" >
2013-08-23 10:50:54 +00:00
<t t-call= "website.layout" >
2013-09-15 17:25:37 +00:00
<div id= "wrap" >
2013-08-23 10:50:54 +00:00
<div class= "container" t-if= "editable and path" >
<div class= "well mt32" >
2013-09-02 09:37:55 +00:00
<p > This page does not exists, but you can create it as you are administrator of this site.</p>
<a class= "btn btn-primary" t-att-href= "'/pagenew/'+path" > Create Page</a>
2013-08-27 12:43:11 +00:00
<span class= "text-muted" > or</span> <a href= "/sitemap" > Search a Page</a>
2013-07-02 19:04:49 +00:00
</div>
2013-08-27 12:43:11 +00:00
<div class= "text-center text-muted" > Edit the content bellow this line to adapt the default "page not found" page.</div>
2013-08-23 10:50:54 +00:00
</div>
<hr />
2013-09-19 07:53:09 +00:00
<div class= "oe_structure oe_empty" >
2013-09-15 17:25:37 +00:00
<div class= "container" >
<h1 class= "mt32" > 404: Page not found!</h1>
<p >
The page you were looking for could not be found; it is possible you have
typed the address incorrectly, but it has most probably been removed due
to the recent website reorganisation.
</p>
<p > Maybe you were looking for one of these popular pages ?</p>
<ul >
<li > <a href= "/" > Homepage</a> </li>
<li > <a href= "/" > Contact Us</a> </li>
</ul>
</div>
2013-08-23 10:50:54 +00:00
</div>
2013-09-15 17:25:37 +00:00
</div>
2013-08-23 10:50:54 +00:00
</t>
2013-07-22 11:08:36 +00:00
</template>
2013-07-02 19:04:49 +00:00
2013-08-14 15:11:22 +00:00
<template id= "500" >
2013-07-30 15:07:25 +00:00
<t t-call= "website.layout" >
2013-09-15 17:25:37 +00:00
<div id= "wrap" >
<div class= "oe_structure" >
<h1 class= "container mt32" > 500: Internal Server Error!</h1>
</div>
2013-08-26 10:16:15 +00:00
<pre t-if= "editable" t-esc= "traceback" />
2013-08-14 15:11:22 +00:00
</div>
</t>
</template>
<template id= "401" >
<t t-call= "website.layout" >
2013-09-15 17:25:37 +00:00
<div id= "wrap" >
2013-08-14 15:11:22 +00:00
<div class= "container" >
<h1 class= "mt32" > 401: Unauthorized Access!</h1>
<p >
The page you were looking for could not be
authorized.
</p> <p >
Maybe you were looking for one of these
popular pages ?
</p>
2013-08-26 10:16:15 +00:00
<pre t-if= "editable" t-esc= "error" />
2013-08-14 15:11:22 +00:00
<ul >
<li > <a href= "/" > Homepage</a> </li>
<li > <a href= "/" > Contact Us</a> </li>
</ul>
</div>
2013-09-15 17:25:37 +00:00
</div>
2013-08-14 15:11:22 +00:00
</t>
</template>
2013-08-21 12:13:58 +00:00
<template id= "contactus" name= "Contact us" page= "True" >
2013-07-30 15:07:25 +00:00
<t t-call= "website.layout" >
2013-09-15 17:25:37 +00:00
<t t-set= "title" > Contact us -
<t t-raw= "res_company.name" > </t>
</t>
<div id= "wrap" >
2013-07-30 15:07:25 +00:00
<div class= "container" >
2013-08-29 20:45:53 +00:00
<h1 > Contact us</h1>
2013-07-30 15:07:25 +00:00
<div class= "row" >
2013-08-23 10:50:54 +00:00
<div class= "col-md-8" >
2013-09-15 17:25:37 +00:00
<div class= "oe_structure" >
2013-08-29 22:04:25 +00:00
<p > Contact us about anything related to our company or services.</p>
<p > We'll do our best to get back to you as soon as possible.</p>
</div>
2013-08-04 21:49:52 +00:00
<div class= "text-center mt64" name= "mail_button" >
2013-07-30 18:49:23 +00:00
<a t-att-href= "'mailto:'+res_company.email" class= "btn btn-primary" > Send us an email</a>
2013-07-01 00:20:54 +00:00
</div>
</div>
2013-09-02 09:37:55 +00:00
<div class= "col-md-4" >
2013-07-30 15:07:25 +00:00
<address >
2013-08-23 10:50:54 +00:00
<strong t-field= "res_company.name" > Name</strong> <br />
<span t-field= "res_company.street" > </span> <span t-field= "res_company.state_id" > </span> <br />
<span t-field= "res_company.zip" > </span> <span t-field= "res_company.city" > </span> <br />
<span t-field= "res_company.country_id" > </span> <br />
<br />
<span > & #x2706; <span t-field= "res_company.phone" > </span> </span> <br />
2013-08-04 20:21:25 +00:00
<i class= "icon-envelope" > </i> <span t-field= "res_company.email" > </span>
2013-07-30 15:07:25 +00:00
</address>
2013-08-23 10:50:54 +00:00
<a t-att-href= "res_company.partner_id.google_map_link()" target= "_BLANK" >
<img class= "thumbnail img-responsive" t-att-src= "res_company.partner_id.google_map_img()" />
2013-08-14 13:57:41 +00:00
</a>
2013-07-30 15:07:25 +00:00
</div>
2013-07-01 00:20:54 +00:00
</div>
2013-07-30 15:07:25 +00:00
</div>
2013-09-15 17:25:37 +00:00
</div>
2013-07-30 15:07:25 +00:00
</t>
2013-07-22 11:08:36 +00:00
</template>
2013-07-01 00:20:54 +00:00
2013-08-21 12:13:58 +00:00
<template id= "aboutus" page= "True" >
2013-08-08 07:21:15 +00:00
<t t-call= "website.layout" >
2013-09-15 17:25:37 +00:00
<t t-set= "title" > About <t t-raw= "res_company.name" > </t>
</t>
<div id= "wrap" class= "oe_structure" >
2013-08-08 07:21:15 +00:00
<div class= "container" >
<h2 > About us</h2>
<div class= "row" >
2013-08-23 10:50:54 +00:00
<div class= "col-md-4" >
2013-08-08 07:21:15 +00:00
<h3 > Our vision</h3>
2013-08-23 10:50:54 +00:00
<p > Contact us about anything related to our company or services.</p>
<p > We'll do our best to get back to you as soon as possible.</p>
2013-08-08 07:21:15 +00:00
</div>
2013-08-23 10:50:54 +00:00
<div class= "col-md-8" > </div>
2013-08-08 07:21:15 +00:00
</div>
</div>
2013-09-15 17:25:37 +00:00
</div>
2013-08-08 07:21:15 +00:00
</t>
</template>
2013-08-12 13:43:12 +00:00
<template id= "pager" >
2013-08-26 06:00:57 +00:00
<ul t-if= "pager['page_count'] > 1" t-attf-class= "#{ classname or '' } pagination" >
2013-08-29 17:58:31 +00:00
<li t-att-class= " 'disabled' if pager['page']['num'] == 1 else '' " >
<a t-att-href= " pager['page_start']['url'] if pager['page']['num'] != 1 else '' " > Prev</a>
</li>
2013-08-26 06:00:57 +00:00
<t t-foreach= "pager['pages']" t-as= "page" >
<li t-att-class= " 'active' if page['num'] == pager['page']['num'] else '' " > <a t-att-href= "page['url']" t-raw= "page['num']" > </a> </li>
</t>
2013-09-02 09:37:55 +00:00
<li t-att-class= " 'disabled' if pager['page']['num'] == pager['page_count'] else '' " >
2013-08-26 06:00:57 +00:00
<a t-att-href= " pager['page_end']['url'] if pager['page']['num'] != pager['page_count'] else '' " > Next</a>
</li>
</ul>
2013-08-12 13:43:12 +00:00
</template>
2013-08-14 08:34:39 +00:00
<template id= "publish" >
2013-09-04 08:49:58 +00:00
<a href= "#" t-att-data-id= "object.id" t-att-data-object= "object._name" t-att-data-publish= "object.id and object.website_published and 'on' or 'off'" class= "pull-right js_publish" t-if= "editable" t-ignore= "true" >
2013-09-03 10:41:15 +00:00
<span t-attf-class= "label label-success css_publish" > Publish</span>
<span t-attf-class= "label label-danger css_unpublish" > Unpublish</span>
<span t-attf-class= "label label-success css_published" > Published</span>
<span t-attf-class= "label label-danger css_unpublished" > Unpublished</span>
2013-08-14 08:34:39 +00:00
</a>
</template>
2013-08-21 16:06:32 +00:00
<template id= "kanban" >
<t t-set= "step" > <t t-esc= "step or 0" /> </t>
<t t-set= "scope" > <t t-esc= "scope or 0" /> </t>
<t t-set= "orderby" > <t t-esc= "orderby or 'name'" /> </t>
2013-09-10 13:41:33 +00:00
<t t-raw= "website.kanban(model, domain, column, template, step=step, scope=scope, orderby=orderby)" />
2013-08-21 16:06:32 +00:00
</template>
<template id= "kanban_contain" >
2013-08-22 09:24:16 +00:00
<table class= "table js_kanban" >
2013-08-21 16:06:32 +00:00
<thead >
<tr >
2013-08-22 10:19:52 +00:00
<t t-set= "width" t-value= "str(round(100.0 / len(objects), 2)) + '%'" />
2013-08-21 16:06:32 +00:00
<t t-foreach= "objects" >
2013-08-23 10:50:54 +00:00
<th t-att-width= "width" >
<div t-field= "column_id.name" class= "text-center" > </div>
</th>
2013-08-21 16:06:32 +00:00
</t>
</tr>
</thead>
<tbody >
<tr >
<t t-foreach= "objects" >
2013-08-23 10:50:54 +00:00
<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" >
<t t-foreach= "object_ids" t-as= "object_id" >
<t t-call= "#{ template }" > </t>
</t>
<!-- pager -->
<div t-if= "1 != page_end" class= "pagination pagination-centered" >
<ul >
<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>
<t t-foreach= "range(page_start, page_end+1)" t-as= "p" >
<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>
</t>
<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>
</ul>
</div>
</td>
2013-08-21 16:06:32 +00:00
</t>
</tr>
</tbody>
</table>
</template>
2013-07-01 00:20:54 +00:00
</data>
</openerp>