gooderp18绿色标准版
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.

81 lines
3.4KB

  1. <!DOCTYPE html>
  2. <!--[if lt IE 7]>
  3. <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  4. <!--[if IE 7]>
  5. <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
  6. <!--[if IE 8]>
  7. <html class="no-js lt-ie9"> <![endif]-->
  8. <!--[if gt IE 8]><!-->
  9. <html class="no-js"> <!--<![endif]-->
  10. <head>
  11. <meta charset="utf-8">
  12. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  13. <title>{% block title %}{% endblock %}</title>
  14. <meta name="viewport" content="width=device-width, initial-scale=1">
  15. <!-- To set pgAdmin4 shortcut icon in browser -->
  16. <link rel="shortcut icon" href="{{ url_for('redirects.favicon') }}"/>
  17. <!-- Base template stylesheets -->
  18. <link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='js/generated/style.css')}}"/>
  19. <link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='js/generated/pgadmin.style.css')}}"/>
  20. <link type="text/css" rel="stylesheet" href="{{ url_for('static', filename=('js/generated/'+get_theme_css())) }}"/>
  21. <!--View specified stylesheets-->
  22. {% block css_link %}{% endblock %}
  23. <script>
  24. /* This is used to change publicPath of webpack at runtime */
  25. window.getChunkURL = function() {
  26. return "{{ url_for('static', filename='js') }}/generated/";
  27. };
  28. </script>
  29. <!-- Base template scripts -->
  30. <script type="text/javascript"
  31. src="{{ url_for('static', filename='vendor/require/require.js' if config.DEBUG else 'vendor/require/require.min.js') }}"></script>
  32. <script type="text/javascript">
  33. require.config({
  34. baseUrl: '',
  35. {% if config.APP_VERSION_PARAM is not none and config.APP_VERSION_PARAM != '' %}
  36. urlArgs: '{{config.APP_VERSION_PARAM}}={{config.APP_VERSION_INT}}',
  37. {% endif %}
  38. waitSeconds: 0,
  39. shim: {},
  40. paths: {
  41. sources: "{{ url_for('static', filename='js') }}",
  42. datagrid: "{{ url_for('static', filename='js/generated/datagrid') }}",
  43. sqleditor: "{{ url_for('static', filename='js/generated/sqleditor') }}",
  44. 'pgadmin.browser.utils': "{{ url_for('browser.index') }}" + "js/utils",
  45. 'pgadmin.browser.endpoints': "{{ url_for('browser.index') }}" + "js/endpoints",
  46. 'pgadmin.browser.messages': "{{ url_for('browser.index') }}" + "js/messages",
  47. 'pgadmin.server.supported_servers': "{{ url_for('browser.index') }}" + "server/supported_servers",
  48. 'pgadmin.user_management.current_user': "{{ url_for('user_management.index') }}" + "current_user",
  49. 'translations': "{{ url_for('tools.index') }}" + "translations"
  50. }
  51. });
  52. </script>
  53. <!-- View specified scripts -->
  54. <script type="text/javascript" src="{{ url_for('static', filename='js/generated/vendor.main.js') }}" ></script>
  55. <script type="text/javascript" src="{{ url_for('static', filename='js/generated/vendor.others.js') }}" ></script>
  56. <script type="text/javascript" src="{{ url_for('static', filename='js/generated/pgadmin_commons.js') }}" ></script>
  57. </head>
  58. <body>
  59. <!--[if lt IE 7]>
  60. <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade
  61. your browser</a> to improve your experience.</p>
  62. <![endif]-->
  63. {% block body %}{% endblock %}
  64. <script>
  65. {% block init_script %}{% endblock %}
  66. </script>
  67. </body>
  68. </html>
上海开阖软件有限公司 沪ICP备12045867号-1