[IMP] point_of_sale: re-use the /web provided font-awesome font
[odoo/odoo.git] / addons / point_of_sale / views / templates.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- vim:fdn=3:
3 -->
4 <openerp>
5     <data>
6
7
8 <template id="index" name="POS Index">&lt;!DOCTYPE html&gt;
9 <html>
10     <head>
11         <title>Odoo POS</title>
12
13         <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
14         <meta http-equiv="content-type" content="text/html, charset=utf-8" />
15
16         <meta name="viewport" content=" width=1024, user-scalable=no"/>
17         <meta name="apple-mobile-web-app-capable" content="yes"/>
18         <meta name="mobile-web-app-capable" content="yes"/>
19
20         <link rel="shortcut icon"    sizes="196x196" href="/point_of_sale/static/src/img/touch-icon-196.png"/>
21         <link rel="shortcut icon"    sizes="128x128" href="/point_of_sale/static/src/img/touch-icon-128.png"/>
22         <link rel="apple-touch-icon"                 href="/point_of_sale/static/src/img/touch-icon-iphone.png"/>
23         <link rel="apple-touch-icon" sizes="76x76"   href="/point_of_sale/static/src/img/touch-icon-ipad.png"/>
24         <link rel="apple-touch-icon" sizes="120x120" href="/point_of_sale/static/src/img/touch-icon-iphone-retina.png"/>
25         <link rel="apple-touch-icon" sizes="152x152" href="/point_of_sale/static/src/img/touch-icon-ipad-retina.png"/>
26
27         <link rel="shortcut icon" href="/web/static/src/img/favicon.ico" type="image/x-icon"/>
28         <link rel="stylesheet" href="/point_of_sale/static/src/fonts/lato/stylesheet.css" /> 
29         <link rel="stylesheet" href="/web/static/lib/fontawesome/css/font-awesome.css" /> 
30         <link rel="stylesheet" href="/point_of_sale/static/src/css/pos.css" id="pos-stylesheet"/>
31         <link rel="stylesheet" href="/point_of_sale/static/src/css/keyboard.css" />
32
33         <t t-call-assets="web.assets_common" t-css="false" />
34         <t t-call-assets="web.assets_backend" t-css="false" />
35
36         <script type="text/javascript" id="loading-script" t-raw="init">
37             $(function() {
38                 var s = new openerp.init();
39                 var wc = new s.web.WebClient();
40
41                 wc.show_application = function() {
42                     wc.action_manager.do_action("pos.ui");
43                 };
44
45                 wc.setElement($(document.body));
46                 wc.start();
47             });
48         </script>
49
50     </head>
51     <body>
52         <div class='openerp openerp_webclient_container'>
53             <table class='oe_webclient'>
54                 <tr>
55                     <td class='oe_application' />
56                 </tr>
57             </table>
58         </div>
59     </body>
60 </html>
61 </template>
62
63     </data>
64 </openerp>