vendor/shopware/administration/Resources/views/administration/index.html.twig line 1

Open in your IDE?
  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.     {% set baseUrl = app.request.baseUrl %}
  10.     {% block administration_favicons %}
  11.         <link rel="apple-touch-icon" sizes="180x180" href="{{ baseUrl }}{{ asset('static/img/favicon/apple-touch-icon.png', '@Administration') }}">
  12.         <link rel="icon" type="image/png" sizes="16x16" href="{{ baseUrl }}{{ asset('static/img/favicon/favicon-16x16.png', '@Administration') }}">
  13.         <link rel="icon" type="image/png" sizes="32x32" href="{{ baseUrl }}{{ asset('static/img/favicon/favicon-32x32.png', '@Administration') }}" id="dynamic-favicon">
  14.         <link rel="icon" type="image/png" sizes="192x192" href="{{ baseUrl }}{{ asset('static/img/favicon/android-chrome-192x192.png', '@Administration') }}">
  15.         <link rel="icon" type="image/png" sizes="256x256" href="{{ baseUrl }}{{ asset('static/img/favicon/android-chrome-256x256.png', '@Administration') }}">
  16.         <meta name="msapplication-TileImage" content="{{ baseUrl }}{{ asset('static/img/favicon/mstile-150x150.png', '@Administration') }}">
  17.         <meta name="msapplication-TileColor" content="#189eff">
  18.         <meta name="theme-color" content="#189eff">
  19.     {% endblock %}
  20.     <link rel="stylesheet" href="{{ baseUrl }}{{ asset('static/css/vendors-node.css', '@Administration') }}">
  21.     <link rel="stylesheet" href="{{ baseUrl }}{{ asset('static/css/app.css', '@Administration') }}">
  22. </head>
  23. <body>
  24. <div id="app"></div>
  25. {% block administration_templates %}{% endblock %}
  26. <script src="{{ baseUrl }}{{ asset('static/js/runtime.js', '@Administration') }}"></script>
  27. <script src="{{ baseUrl }}{{ asset('static/js/vendors-node.js', '@Administration') }}"></script>
  28. <script src="{{ baseUrl }}{{ asset('static/js/commons.js', '@Administration') }}"></script>
  29. <script src="{{ baseUrl }}{{ asset('static/js/app.js', '@Administration') }}"></script>
  30. <script>
  31.     /*
  32.         root-level domain configuration
  33.         host:               shopware.next
  34.         port:               80
  35.         scheme:             http
  36.         schemeAndHttpHost:  http://shopware.next
  37.         uri:                http://shopware.next/admin
  38.         basePath:
  39.         pathInfo:           /admin
  40.         -----------------------------------------------
  41.         sub-folder domain configuration
  42.         host:               localhost
  43.         port:               80
  44.         scheme:             http
  45.         schemeAndHttpHost:  http://localhost
  46.         uri:                http://localhost/next/web/admin
  47.         basePath:           /next/web
  48.         pathInfo:           /admin
  49.     */
  50.     Shopware.Application.start({
  51.         apiContext: {
  52.             host: '{{ app.request.host }}',
  53.             port: {{ app.request.port }},
  54.             scheme: '{{ app.request.scheme }}',
  55.             schemeAndHttpHost: '{{ app.request.schemeAndHttpHost }}',
  56.             uri: '{{ app.request.uri }}',
  57.             basePath: '{{ app.request.basePath }}',
  58.             pathInfo: '{{ app.request.pathInfo }}',
  59.             liveVersionId: '{{ liveVersionId }}',
  60.             systemLanguageId: '{{ systemLanguageId }}',
  61.             apiVersion: {{ apiVersion }}
  62.         },
  63.         appContext: {
  64.             features: {{ features|json_encode|raw }},
  65.             firstRunWizard: {{ firstRunWizard ? 'true' : 'false' }},
  66.             systemCurrencyId: '{{ systemCurrencyId }}'
  67.         }
  68.     });
  69. </script>
  70. </body>
  71. </html>