Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one
  4. or more contributor license agreements. See the NOTICE file
  5. distributed with this work for additional information
  6. regarding copyright ownership. The ASF licenses this file
  7. to you under the Apache License, Version 2.0 (the
  8. "License"); you may not use this file except in compliance
  9. with the License. You may obtain a copy of the License at
  10.  
  11. http://www.apache.org/licenses/LICENSE-2.0
  12.  
  13. Unless required by applicable law or agreed to in writing,
  14. software distributed under the License is distributed on an
  15. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. KIND, either express or implied. See the License for the
  17. specific language governing permissions and limitations
  18. under the License.
  19. -->
  20. <html>
  21. <head>
  22. <!--
  23. Customize this policy to fit your own app's needs. For more guidance, see:
  24. https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#content-security-policy
  25. Some notes:
  26. * gap: is required only on iOS (when using UIWebView) and is needed for JS->native communication
  27. * https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
  28. * Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
  29. * Enable inline JS: add 'unsafe-inline' to default-src
  30. -->
  31. <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
  32. <meta name="format-detection" content="telephone=no">
  33. <meta name="msapplication-tap-highlight" content="no">
  34. <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
  35. <link rel="stylesheet" type="text/css" href="css/index.css">
  36. <title>Hello World</title>
  37. </head>
  38. <body>
  39. <div class="app">
  40. <h1>Service Manual</h1>
  41. <div id="deviceready" class="blink">
  42. <p class="event listening">Connecting to Device</p>
  43. <p class="event received">Offline Version</p>
  44. <button id = "networkInfo">INFO</button>
  45. </div>
  46. </div>
  47. <script type="text/javascript" src="cordova.js"></script>
  48. <script type="text/javascript" src="js/index.js"></script>
  49. </body>
  50. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement