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

  {{ page_top }}

  <header id="branding">
27
28
29
    <div class="branding__inner">
      {% if title %}<h1 class="page-title">{{ title }}</h1>{% endif %}
    </div>
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
  </header>

  <div id="page">
    <div id="sidebar-first" class="sidebar">
      {% if logo %}
        <img id="logo" src="{{ logo }}" alt="{{ site_name }}" />
      {% endif %}
      {{ sidebar_first }}
    </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>
</html>