app/template/admin/default_frame.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. <html lang="{{ eccube_config.locale }}">
  3. <head>
  4.     <meta charset="utf-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6.     <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  7.     <title>{{ block('sub_title') }} {{ block('title') }} - {{ BaseInfo.shop_name }}</title>
  8.     <link rel="icon" href="{{ asset('assets/img/favicon.ico', 'admin') }}">
  9.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  10.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/v4-shims.css" integrity="sha384-lmquXrF9qn7mMo6iRQ662vN44vTTVUBpcdtDFWPxD9uFPqC/aMn6pcQrTTupiv1A" crossorigin="anonymous">
  11.     <link rel="stylesheet" href="{{ asset('assets/css/bootstrap.css', 'admin') }}">
  12.     <link rel="stylesheet" href="{{ asset('assets/css/app.css', 'admin') }}">
  13.     <link rel="stylesheet" href="{{ asset('assets/css/jquery.gorilla-dropdown.css', 'admin') }}">
  14.     <script src="{{ asset('admin.bundle.js', 'bundle') }}"></script>
  15.     {% block stylesheet %}{% endblock %}
  16.     <script>
  17.         $(function() {
  18.             $.ajaxSetup({
  19.                 'headers': {
  20.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  21.                 }
  22.             });
  23.         });
  24.     </script>
  25.     {# プラグイン用styleseetやmetatagなど #}
  26.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', {snippets: plugin_assets}) }}{% endif %}
  27. </head>
  28. <body id="page_{{ app.request.get('_route') }}">
  29. <header class="c-headerBar">
  30.     <div class="c-headerBar__container">
  31.         <div class="c-headerBar__logo">
  32.             <h1><img src="{{ asset('assets/img/logo@2x.png', 'admin') }}"></h1>
  33.         </div>
  34.         <a class="c-headerBar__toggleBtn"><i class="fa fa-bars" aria-hidden="true"></i></a>
  35.         <a class="c-headerBar__shopTitle" href="{{ url('homepage') }}" target="_blank"><span>{{ BaseInfo.shop_name }}</span><i class="fa fa-angle-right" aria-hidden="true"></i></a>
  36.         <a class="c-headerBar__userMenu"
  37.            data-bs-container="body"
  38.            data-bs-toggle="popover"
  39.            data-bs-placement="bottom"
  40.            title="{{ 'admin.header.last_login'|trans }}"
  41.            data-bs-content="&lt;p&gt;{{ app.user.login_date|date_min }}&lt;/p&gt;&lt;a href='{{ url("admin_change_password") }}' class='btn btn-ec-regular w-100 mb-2'&gt;{{ 'admin.header.change_password'|trans }}&lt;/a&gt;{% if app.user.two_factor_auth_enabled %}&lt;a href='{{ url("admin_setting_system_two_factor_auth_edit") }}' class='btn btn-ec-regular w-100 mb-2'&gt;{{ 'admin.header.two_factor_auth'|trans }}&lt;/a&gt;{% endif %}&lt;a href='{{ url("admin_logout") }}' class='btn btn-ec-sub w-100'&gt;{{ 'admin.header.logout'|trans }}&lt;/a&gt;"
  42.            data-bs-html="true"><i class="fa fa-user-circle" aria-hidden="true"></i><span>{{ 'admin.header.user_name'|trans({'%name%':app.user.name}) }}</span><i class="fa fa-angle-down" aria-hidden="true"></i></a>
  43.     </div>
  44. </header>
  45. <div class="c-container">
  46.     <div class="c-mainNavArea">
  47.         {{ include('@admin/nav.twig') }}
  48.     </div>
  49.     <div class="c-curtain"></div>
  50.     <div class="c-contentsArea">
  51.         <div class="c-pageTitle">
  52.             <div class="c-pageTitle__titles">
  53.                 <h2 class="c-pageTitle__title">{{ block('title') }}</h2><span class="c-pageTitle__subTitle">{{ block('sub_title') }}</span>
  54.             </div>
  55.         </div>
  56.         {{ include('@admin/alert.twig') }}
  57.         {% block main %}{% endblock %}
  58.     </div>
  59. </div>
  60. {% include('@common/lang.twig') %}
  61. <script src="{{ asset('assets/js/function.js', 'admin') }}"></script>
  62. <script src="{{ asset('assets/js/jquery.gorilla-dropdown.js', 'admin') }}"></script>
  63. {% block javascript %}{% endblock %}
  64. {# プラグイン用Snippet #}
  65. {% if plugin_snippets is defined %}
  66.     {{ include('@admin/snippet.twig', {snippets: plugin_snippets}) }}
  67. {% endif %}
  68. </body>
  69. </html>