[IMP] point_of_sale: pretty error message when trying to access the point_of_sale with IE
bzr revid: fva@openerp.com-20121123154917-u720g4woq4xga1uo
This commit is contained in:
parent
5e83cce0ca
commit
3c443840fc
|
@ -1395,3 +1395,23 @@
|
|||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* ********* Unsupported Browser Page ********* */
|
||||
|
||||
.point-of-sale .not-supported-browser{
|
||||
position: absolute;
|
||||
z-index: 100000;
|
||||
top: 0; bottom: 0; left: 0; right: 0;
|
||||
background: #2C2C2C;
|
||||
}
|
||||
.point-of-sale .not-supported-browser .message{
|
||||
width:600px;
|
||||
margin-top: 100px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: center;
|
||||
color: #d3d3d3;
|
||||
font-size: 14px;
|
||||
}
|
||||
.point-of-sale .not-supported-browser img{
|
||||
box-shadow: 0px 3px 38px rgba(0, 0, 0, 0.39);
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 75 KiB |
|
@ -32,6 +32,18 @@
|
|||
</div>
|
||||
<div class="loader">
|
||||
</div>
|
||||
<!--[if IE]>
|
||||
<div class='not-supported-browser'>
|
||||
<div class='message'>
|
||||
<img src='/point_of_sale/static/src/img/pos_screenshot.jpg' />
|
||||
<p>
|
||||
The Point of Sale is not supported by Microsoft Internet Explorer. Please use
|
||||
a modern browser like <a href="http://www.mozilla.org/firefox/" target="_blank">Mozilla Firefox</a>
|
||||
or <a href="http://www.google.com/chrome" target="_blank">Google Chrome</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<![endif]-->
|
||||
</div>
|
||||
</t>
|
||||
|
||||
|
|
Loading…
Reference in New Issue