Prepare for version 5.1.3
[phpmyadmin.git] / templates / header.twig
blobe372066d9b80c42435ca990057664ef1eb409016
1 <!doctype html>
2 <html lang="{{ lang }}" dir="{{ text_dir }}">
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="referrer" content="no-referrer">
7   <meta name="robots" content="noindex,nofollow">
8   <meta http-equiv="X-UA-Compatible" content="IE=Edge">
9   {% if not allow_third_party_framing -%}
10     <style id="cfs-style">html{display: none;}</style>
11   {%- endif %}
13   <link rel="icon" href="favicon.ico" type="image/x-icon">
14   <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
15   {% if is_print_view %}
16     <link rel="stylesheet" type="text/css" href="{{ base_dir }}print.css?{{ version }}">
17   {% else %}
18     <link rel="stylesheet" type="text/css" href="{{ theme_path }}/jquery/jquery-ui.css">
19     <link rel="stylesheet" type="text/css" href="{{ base_dir }}js/vendor/codemirror/lib/codemirror.css?{{ version }}">
20     <link rel="stylesheet" type="text/css" href="{{ base_dir }}js/vendor/codemirror/addon/hint/show-hint.css?{{ version }}">
21     <link rel="stylesheet" type="text/css" href="{{ base_dir }}js/vendor/codemirror/addon/lint/lint.css?{{ version }}">
22     <link rel="stylesheet" type="text/css" href="{{ theme_path }}/css/theme{{ text_dir == 'rtl' ? '-rtl' }}.css?{{ version }}&nocache=
23       {{- unique_value }}{{ text_dir }}{% if server is not empty %}&server={{ server }}{% endif %}">
24     <link rel="stylesheet" type="text/css" href="{{ theme_path }}/css/printview.css?{{ version }}" media="print" id="printcss">
25   {% endif %}
26   <title>{{ title }}</title>
27   {{ scripts|raw }}
28   <noscript><style>html{display:block}</style></noscript>
29 </head>
30 <body{{ body_id is not empty ? ' id=' ~ body_id }}>
31   {{ navigation|raw }}
32   {{ custom_header|raw }}
33   {{ load_user_preferences|raw }}
35   {% if not show_hint %}
36     <span id="no_hint" class="hide"></span>
37   {% endif %}
39   {% if is_warnings_enabled %}
40     <noscript>
41       {{ 'Javascript must be enabled past this point!'|trans|error }}
42     </noscript>
43   {% endif %}
45   {% if is_menu_enabled and server > 0 %}
46     {{ menu|raw }}
47     <span id="page_nav_icons">
48       <span id="lock_page_icon"></span>
49       <span id="page_settings_icon">
50         {{ get_image('s_cog', 'Page-related settings'|trans) }}
51       </span>
52       <a id="goto_pagetop" href="#">{{ get_image('s_top', 'Click on the bar to scroll to top of page'|trans) }}</a>
53     </span>
54   {% endif %}
56   {{ console|raw }}
58   <div id="page_content">
59     {{ messages|raw }}
61     {{ recent_table|raw }}