You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

63 lines
2.0 KiB

  1. <!DOCTYPE html>
  2. <head>
  3. <meta charset="utf-8">
  4. <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
  5. <meta content="utf-8" http-equiv="encoding">
  6. <meta name="author" content="">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0,
  8. maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">
  9. <meta name="apple-mobile-web-app-capable" content="yes">
  10. <meta name="apple-mobile-web-app-status-bar-style" content="white">
  11. <meta name="mobile-web-app-capable" content="yes">
  12. <title>Frappe Desk</title>
  13. <link rel="shortcut icon"
  14. href="{{ favicon or "/assets/frappe/images/favicon.png" }}" type="image/x-icon">
  15. <link rel="icon"
  16. href="{{ favicon or "/assets/frappe/images/favicon.png" }}" type="image/x-icon">
  17. {% for include in include_css -%}
  18. <link type="text/css" rel="stylesheet" href="{{ include }}">
  19. {%- endfor -%}
  20. </head>
  21. <body>
  22. <div class="centered splash" style="width: 200px; height: 200px;">
  23. <img src="{{ splash_image or "/assets/frappe/images/frappe-bird-thin.svg" }}">
  24. </div>
  25. <div class="main-section">
  26. <header></header>
  27. <div id="body_div"></div>
  28. <footer></footer>
  29. </div>
  30. <!-- hack! load background image asap, before desktop is rendered -->
  31. {% if background_image %}
  32. <img src="{{ background_image }}" style="height: 1px; width: 1px; margin-bottom: -1px;">
  33. {% endif %}
  34. <script type="text/javascript" src="/assets/frappe/js/lib/jquery/jquery.min.js"></script>
  35. <script type="text/javascript">
  36. window._version_number = "{{ build_version }}";
  37. // browser support
  38. window.app = true;
  39. window.dev_server = {{ dev_server }};
  40. if(!window.frappe) window.frappe = {};
  41. frappe.boot = {{ boot }};
  42. frappe.csrf_token = "{{ csrf_token }}";
  43. </script>
  44. {% for include in include_js %}
  45. <script type="text/javascript" src="{{ include }}"></script>
  46. {% endfor %}
  47. {% include "templates/includes/google_analytics.html" %}
  48. {% for sound in (sounds or []) %}
  49. <audio preload="auto" id="sound-{{ sound.name }}" volume={{ sound.volume or 1 }}>
  50. <source src="{{ sound.src }}"></source>
  51. </audio>
  52. {% endfor %}
  53. </body>