src/Administration/Resources/views/administration/index.html.twig line 1

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta charset="utf-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1">
  6.     <title>
  7.         Shopware Administration (c) shopware AG
  8.     </title>
  9.     {% block administration_favicons %}
  10.         <link rel="apple-touch-icon" sizes="180x180" href="{{ asset('static/img/favicon/apple-touch-icon.png', '@Administration') }}">
  11.         <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('static/img/favicon/favicon-16x16.png', '@Administration') }}">
  12.         <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('static/img/favicon/favicon-32x32.png', '@Administration') }}" id="dynamic-favicon">
  13.         <link rel="icon" type="image/png" sizes="192x192" href="{{ asset('static/img/favicon/android-chrome-192x192.png', '@Administration') }}">
  14.         <link rel="icon" type="image/png" sizes="256x256" href="{{ asset('static/img/favicon/android-chrome-256x256.png', '@Administration') }}">
  15.         <meta name="msapplication-TileImage" content="{{ asset('static/img/favicon/mstile-150x150.png', '@Administration') }}">
  16.         <meta name="msapplication-TileColor" content="#189eff">
  17.         <meta name="theme-color" content="#189eff">
  18.         <meta name="referrer" content="always">
  19.     {% endblock %}
  20.     <script nonce="{{ cspNonce }}" type="text/javascript">
  21.         window._features_ = {{ features|json_encode|raw }};
  22.         window.__sw__ = {
  23.             assetPath: '{{ asset('', 'asset') }}',
  24.         };
  25.     </script>
  26.     <link rel="stylesheet" href="{{ asset('static/css/app.css', '@Administration') }}">
  27. </head>
  28. <body>
  29. <div id="app"></div>
  30. {% block administration_templates %}{% endblock %}
  31. <script nonce="{{ cspNonce }}" src="{{ asset('static/js/app.js', '@Administration') }}"></script>
  32. <script nonce="{{ cspNonce }}">
  33.     {#
  34.         root-level domain configuration
  35.         host:               shopware.next
  36.         port:               80
  37.         scheme:             http
  38.         schemeAndHttpHost:  http://shopware.next
  39.         uri:                http://shopware.next/admin
  40.         basePath:
  41.         pathInfo:           /admin
  42.         -----------------------------------------------
  43.         sub-folder domain configuration
  44.         host:               localhost
  45.         port:               80
  46.         scheme:             http
  47.         schemeAndHttpHost:  http://localhost
  48.         uri:                http://localhost/next/web/admin
  49.         basePath:           /next/web
  50.         pathInfo:           /admin
  51.     #}
  52.     Shopware.Application.start({
  53.         apiContext: {
  54.             host: '{{ app.request.host }}',
  55.             port: {{ app.request.port }},
  56.             scheme: '{{ app.request.scheme }}',
  57.             schemeAndHttpHost: '{{ app.request.schemeAndHttpHost }}',
  58.             uri: '{{ app.request.uri }}',
  59.             basePath: '{{ app.request.basePath }}',
  60.             pathInfo: '{{ app.request.pathInfo }}',
  61.             liveVersionId: '{{ liveVersionId }}',
  62.             systemLanguageId: '{{ systemLanguageId }}',
  63.             apiVersion: {{ apiVersion }},
  64.             assetPath: '{{ asset('', 'asset') }}'
  65.         },
  66.         appContext: {
  67.             features: window._features_,
  68.             firstRunWizard: {{ firstRunWizard ? 'true' : 'false' }},
  69.             systemCurrencyId: '{{ systemCurrencyId }}',
  70.             systemCurrencyISOCode: '{{ systemCurrencyISOCode }}',
  71.             disableExtensions: {{ disableExtensions ? 'true' : 'false' }},
  72.             adminEsEnable: {{ adminEsEnable ? 'true' : 'false' }}
  73.         }
  74.     });
  75. </script>
  76. </body>
  77. </html>