Related to issue 38150: Adjust error pages to mobile devices.
authorJavier Armendáriz <javier.armendariz@openbravo.com>
Fri, 06 Apr 2018 08:45:22 +0200
changeset 35 f65eaa3b9aad
parent 34 757d44fe2516
child 36 81095ca78e7d
Related to issue 38150: Adjust error pages to mobile devices.

Adding a meta tag to improve scaling of error page on mobile devices.
src/org/openbravo/platform/features/errorpages/Error404.html
src/org/openbravo/platform/features/errorpages/ErrorDefault.html
src/org/openbravo/platform/features/errorpages/RuntimeException.html
--- a/src/org/openbravo/platform/features/errorpages/Error404.html	Fri Feb 23 14:16:29 2018 +0100
+++ b/src/org/openbravo/platform/features/errorpages/Error404.html	Fri Apr 06 08:45:22 2018 +0200
@@ -19,6 +19,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0"/>
   <title>Openbravo</title>
   <link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAQAQAAAAAAAAAAAAAAAAAAAAAAAAAp08AAKdPAACnTwAAp08AAKdPOQCnT6UAp0/tAKdP/wCnT/8Ap0/tAKdPpQCnTzkAp08AAKdPAACnTwAAp08AAKdPAACnTwAAp08JAKdPpQCnT/8Ap0//AKdP/wCnT/8Ap0//AKdP/wCnT/8Ap0//AKdPpQCnTwkAp08AAKdPAACnTwAAp08JAKdPzwCnT/8Ap0//AKdP/wCnT/8Ap0//AKdP/wCnT/8Ap0//AKdP/wCnT/8Ap0/PAKdPCQCnTwAAp08AAKdPpQCnT/8Ap0//AKdP/wCnT/82unT/c8+e/3nRo/9Gv3//BqlT/wCnT/8Ap0//AKdP/wCnT6UAp08AAKdPOQCnT/8Ap0//AKdP/xCtWv+m4ML//////////////////////8br2P8ks2j/AKdP/wCnT/8Ap0//AKdPOQCnT6IAp0//AKdP/wCnT/+l4MH//////8rt2v9TxIj/ScCB/63jxv//////ze7c/wurV/8Ap0//AKdP/wCnT6IAp0/kAKdP/wCnT/81uXT//////+H16v8Wr17/AKdP/wCnT/8Ap0//t+bN//////9iyZP/AKdP/wCnT/8Ap0/kAKdP/ACnT/8Ap0//aMuX//////+a3Ln/AKdP/wCnT/8Ap0//AKdP/2PJk///////nN27/wCnT/8Ap0//AKdP/wCnT/wAp0//AKdP/3DOnP//////j9iy/wCnT/8Ap0//AKdP/wCnT/9hyJL//////53du/8Ap0//AKdP/wCnT/8Ap0/kAKdP/wCnT/9wzpz//////4/Ysv8Ap0//AKdP/wCnT/8Ap0//seTJ//////9lypX/AKdP/wCnT/8Ap0/kAKdPogCnT/8Ap0//cM6c//////+N2LD/AKdP/xmwYP9Dvn3/od++///////T8OH/DqxZ/wCnT/8Ap0//AKdPogCnTzkAp0//AKdP/3DOnP//////i9ev/wCnT/9tzZr////////////N7tz/KbVr/wCnT/8Ap0//AKdP/wCnTzkAp08AAKdPogCnT/9uzZv//////4vXr/8Ap0//OLp2/4fWrP9NwoT/CKpV/wCnT/8Ap0//AKdP/wCnT6UAp08AAKdPAACnTwkLq1fQcM6d//////+L16//AKdP/wCnT/8Ap0//AKdP/wCnT/8Ap0//AKdP/wCnT88Ap08JAKdPAACnTwD///8AAKdPCQCnT6X/////idau/wCnT/8Ap0//AKdP/wCnT/8Ap0//AKdP/wCnT6UAp08J////AACnTwAAp08A////AP///wD///8AAKdPNj68erQOrFnuAKdP/wCnT/8Ap0/qAKdPnwCnTzb///8A////AP///wAAp08A8A8AAMADAACAAQAAgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAEAAIABAADAAwAA8A8AAA==" type="image/x-icon" />
   <style>
--- a/src/org/openbravo/platform/features/errorpages/ErrorDefault.html	Fri Feb 23 14:16:29 2018 +0100
+++ b/src/org/openbravo/platform/features/errorpages/ErrorDefault.html	Fri Apr 06 08:45:22 2018 +0200
@@ -19,6 +19,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0"/>
   <title>Openbravo</title>
   <link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAQAQAAAAAAAAAAAAAAAAAAAAAAAAAp08AAKdPAACnTwAAp08AAKdPOQCnT6UAp0/tAKdP/wCnT/8Ap0/tAKdPpQCnTzkAp08AAKdPAACnTwAAp08AAKdPAACnTwAAp08JAKdPpQCnT/8Ap0//AKdP/wCnT/8Ap0//AKdP/wCnT/8Ap0//AKdPpQCnTwkAp08AAKdPAACnTwAAp08JAKdPzwCnT/8Ap0//AKdP/wCnT/8Ap0//AKdP/wCnT/8Ap0//AKdP/wCnT/8Ap0/PAKdPCQCnTwAAp08AAKdPpQCnT/8Ap0//AKdP/wCnT/82unT/c8+e/3nRo/9Gv3//BqlT/wCnT/8Ap0//AKdP/wCnT6UAp08AAKdPOQCnT/8Ap0//AKdP/xCtWv+m4ML//////////////////////8br2P8ks2j/AKdP/wCnT/8Ap0//AKdPOQCnT6IAp0//AKdP/wCnT/+l4MH//////8rt2v9TxIj/ScCB/63jxv//////ze7c/wurV/8Ap0//AKdP/wCnT6IAp0/kAKdP/wCnT/81uXT//////+H16v8Wr17/AKdP/wCnT/8Ap0//t+bN//////9iyZP/AKdP/wCnT/8Ap0/kAKdP/ACnT/8Ap0//aMuX//////+a3Ln/AKdP/wCnT/8Ap0//AKdP/2PJk///////nN27/wCnT/8Ap0//AKdP/wCnT/wAp0//AKdP/3DOnP//////j9iy/wCnT/8Ap0//AKdP/wCnT/9hyJL//////53du/8Ap0//AKdP/wCnT/8Ap0/kAKdP/wCnT/9wzpz//////4/Ysv8Ap0//AKdP/wCnT/8Ap0//seTJ//////9lypX/AKdP/wCnT/8Ap0/kAKdPogCnT/8Ap0//cM6c//////+N2LD/AKdP/xmwYP9Dvn3/od++///////T8OH/DqxZ/wCnT/8Ap0//AKdPogCnTzkAp0//AKdP/3DOnP//////i9ev/wCnT/9tzZr////////////N7tz/KbVr/wCnT/8Ap0//AKdP/wCnTzkAp08AAKdPogCnT/9uzZv//////4vXr/8Ap0//OLp2/4fWrP9NwoT/CKpV/wCnT/8Ap0//AKdP/wCnT6UAp08AAKdPAACnTwkLq1fQcM6d//////+L16//AKdP/wCnT/8Ap0//AKdP/wCnT/8Ap0//AKdP/wCnT88Ap08JAKdPAACnTwD///8AAKdPCQCnT6X/////idau/wCnT/8Ap0//AKdP/wCnT/8Ap0//AKdP/wCnT6UAp08J////AACnTwAAp08A////AP///wD///8AAKdPNj68erQOrFnuAKdP/wCnT/8Ap0/qAKdPnwCnTzb///8A////AP///wAAp08A8A8AAMADAACAAQAAgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAEAAIABAADAAwAA8A8AAA==" type="image/x-icon" />
   <style>
--- a/src/org/openbravo/platform/features/errorpages/RuntimeException.html	Fri Feb 23 14:16:29 2018 +0100
+++ b/src/org/openbravo/platform/features/errorpages/RuntimeException.html	Fri Apr 06 08:45:22 2018 +0200
@@ -19,6 +19,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0" />
   <title>Openbravo</title>
   <link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAQAQAAAAAAAAAAAAAAAAAAAAAAAAAp08AAKdPAACnTwAAp08AAKdPOQCnT6UAp0/tAKdP/wCnT/8Ap0/tAKdPpQCnTzkAp08AAKdPAACnTwAAp08AAKdPAACnTwAAp08JAKdPpQCnT/8Ap0//AKdP/wCnT/8Ap0//AKdP/wCnT/8Ap0//AKdPpQCnTwkAp08AAKdPAACnTwAAp08JAKdPzwCnT/8Ap0//AKdP/wCnT/8Ap0//AKdP/wCnT/8Ap0//AKdP/wCnT/8Ap0/PAKdPCQCnTwAAp08AAKdPpQCnT/8Ap0//AKdP/wCnT/82unT/c8+e/3nRo/9Gv3//BqlT/wCnT/8Ap0//AKdP/wCnT6UAp08AAKdPOQCnT/8Ap0//AKdP/xCtWv+m4ML//////////////////////8br2P8ks2j/AKdP/wCnT/8Ap0//AKdPOQCnT6IAp0//AKdP/wCnT/+l4MH//////8rt2v9TxIj/ScCB/63jxv//////ze7c/wurV/8Ap0//AKdP/wCnT6IAp0/kAKdP/wCnT/81uXT//////+H16v8Wr17/AKdP/wCnT/8Ap0//t+bN//////9iyZP/AKdP/wCnT/8Ap0/kAKdP/ACnT/8Ap0//aMuX//////+a3Ln/AKdP/wCnT/8Ap0//AKdP/2PJk///////nN27/wCnT/8Ap0//AKdP/wCnT/wAp0//AKdP/3DOnP//////j9iy/wCnT/8Ap0//AKdP/wCnT/9hyJL//////53du/8Ap0//AKdP/wCnT/8Ap0/kAKdP/wCnT/9wzpz//////4/Ysv8Ap0//AKdP/wCnT/8Ap0//seTJ//////9lypX/AKdP/wCnT/8Ap0/kAKdPogCnT/8Ap0//cM6c//////+N2LD/AKdP/xmwYP9Dvn3/od++///////T8OH/DqxZ/wCnT/8Ap0//AKdPogCnTzkAp0//AKdP/3DOnP//////i9ev/wCnT/9tzZr////////////N7tz/KbVr/wCnT/8Ap0//AKdP/wCnTzkAp08AAKdPogCnT/9uzZv//////4vXr/8Ap0//OLp2/4fWrP9NwoT/CKpV/wCnT/8Ap0//AKdP/wCnT6UAp08AAKdPAACnTwkLq1fQcM6d//////+L16//AKdP/wCnT/8Ap0//AKdP/wCnT/8Ap0//AKdP/wCnT88Ap08JAKdPAACnTwD///8AAKdPCQCnT6X/////idau/wCnT/8Ap0//AKdP/wCnT/8Ap0//AKdP/wCnT6UAp08J////AACnTwAAp08A////AP///wD///8AAKdPNj68erQOrFnuAKdP/wCnT/8Ap0/qAKdPnwCnTzb///8A////AP///wAAp08A8A8AAMADAACAAQAAgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAEAAIABAADAAwAA8A8AAA==" type="image/x-icon" />
   <style>