maintenance-page.html.twig 1.17 KB
Newer Older
1
2
3
4
5
{#
/**
 * @file
 * Seven's theme implementation to display a single Drupal page while offline.
 *
6
 * All of the available variables are mirrored in html.html.twig.
7
8
9
10
11
12
13
14
 *
 * @see template_preprocess_maintenance_page()
 * @see seven_preprocess_maintenance_page()
 *
 * @ingroup themeable
 */
#}
<!DOCTYPE html>
15
16
17
18
19
20
21
22
<html{{ html_attributes }}>
  <head>
    <title>{{ head_title }}</title>
    {{ head }}
    {{ styles }}
    {{ scripts }}
  </head>
  <body{{ attributes }}>
23
24
25

  {{ page_top }}

26
27
28
29
  <header id="branding">
    <div class="branding__inner">
      {% if title %}<h1 class="page-title">{{ title }}</h1>{% endif %}
    </div>
30
31
  </header>

32
33
34
35
36
  <div id="page">
    <div id="sidebar-first" class="sidebar">
      {% if logo %}
        <img id="logo" src="{{ logo }}" alt="{{ site_name }}" />
      {% endif %}
37
      {{ sidebar_first }}
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
    </div>

    <main id="content" class="clearfix">
      {% if messages %}
        <div id="console">{{ messages }}</div>
      {% endif %}
      {% if help %}
        <div id="help">
          {{ help }}
        </div>
      {% endif %}
      {{ content }}
    </main>
  </div>

  <footer role="contentinfo">
    {{ page_bottom }}
  </footer>

  </body>
58
</html>