1 {% if not is_ajax and is_enabled -%}
4 <html lang="{{ lang }}" dir="{{ text_dir }}">
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>
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 }}">
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">
28 <title>{{ title }}</title>
30 <noscript><style>html{display:block}</style></noscript>
32 <body{{ body_id is not empty ? ' id=' ~ body_id }}>
34 {{ custom_header|raw }}
35 {{ load_user_preferences|raw }}
37 {% if not show_hint %}
38 <span id="no_hint" class="hide"></span>
41 {% if is_warnings_enabled %}
43 {{ 'Javascript must be enabled past this point!'|trans|error }}
47 {% if is_menu_enabled and server > 0 %}
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) }}
54 <a id="goto_pagetop" href="#">{{ get_image('s_top', 'Click on the bar to scroll to top of page'|trans) }}</a>
60 <div id="page_content">
64 {% if is_enabled and has_recent_table %}
65 {{ recent_table|raw }}