diff options
Diffstat (limited to 'srcs/phpmyadmin/templates/header.twig')
| -rw-r--r-- | srcs/phpmyadmin/templates/header.twig | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/templates/header.twig b/srcs/phpmyadmin/templates/header.twig new file mode 100644 index 0000000..c931e8c --- /dev/null +++ b/srcs/phpmyadmin/templates/header.twig @@ -0,0 +1,66 @@ +{% if not is_ajax and is_enabled -%} + +<!doctype html> +<html lang="{{ lang }}" dir="{{ text_dir }}"> +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + <meta name="referrer" content="no-referrer"> + <meta name="robots" content="noindex,nofollow"> + <meta http-equiv="X-UA-Compatible" content="IE=Edge"> + {% if not allow_third_party_framing -%} + <style id="cfs-style">html{display: none;}</style> + {%- endif %} + + <link rel="icon" href="favicon.ico" type="image/x-icon"> + <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> + {% if is_print_view %} + <link rel="stylesheet" type="text/css" href="{{ base_dir }}print.css?{{ version }}"> + {% else %} + <link rel="stylesheet" type="text/css" href="{{ theme_path }}/jquery/jquery-ui.css"> + <link rel="stylesheet" type="text/css" href="{{ base_dir }}js/vendor/codemirror/lib/codemirror.css?{{ version }}"> + <link rel="stylesheet" type="text/css" href="{{ base_dir }}js/vendor/codemirror/addon/hint/show-hint.css?{{ version }}"> + <link rel="stylesheet" type="text/css" href="{{ base_dir }}js/vendor/codemirror/addon/lint/lint.css?{{ version }}"> + <link rel="stylesheet" type="text/css" href="{{ theme_path }}/css/theme{{ text_dir == 'rtl' ? '-rtl' }}.css?{{ version }}&nocache= + {{- unique_value }}{{ text_dir }}{% if server is not empty %}&server={{ server }}{% endif %}"> + <link rel="stylesheet" type="text/css" href="{{ theme_path }}/css/printview.css?{{ version }}" media="print" id="printcss"> + {% endif %} + <title>{{ title }}</title> + {{ scripts|raw }} + <noscript><style>html{display:block}</style></noscript> +</head> +<body{{ body_id is not empty ? ' id=' ~ body_id }}> + {{ navigation|raw }} + {{ custom_header|raw }} + {{ load_user_preferences|raw }} + + {% if not show_hint %} + <span id="no_hint" class="hide"></span> + {% endif %} + + {% if is_warnings_enabled %} + <noscript> + {{ 'Javascript must be enabled past this point!'|trans|error }} + </noscript> + {% endif %} + + {% if is_menu_enabled and server > 0 %} + {{ menu|raw }} + <span id="page_nav_icons"> + <span id="lock_page_icon"></span> + <span id="page_settings_icon"> + {{ get_image('s_cog', 'Page-related settings'|trans) }} + </span> + <a id="goto_pagetop" href="#">{{ get_image('s_top', 'Click on the bar to scroll to top of page'|trans) }}</a> + </span> + {% endif %} + + {{ console|raw }} + + <div id="page_content"> + {{ messages|raw }} +{% endif %} + +{% if is_enabled and has_recent_table %} + {{ recent_table|raw }} +{% endif %} |
