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