Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Header class to use templates
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
- Loading branch information
1 parent
05b064c
commit a686ff8
Showing
3 changed files
with
63 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!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="{{ base_dir }}phpmyadmin.css.php?nocache={{ unique_value }}{{ text_dir }} | ||
{{- server is not empty ? '&server=' ~ server }}"> | ||
<link rel="stylesheet" type="text/css" href="{{ theme_path }}/css/printview.css?{{ version }}" media="print" id="printcss"> | ||
{% endif %} | ||
{{ title|raw }} | ||
{{ scripts|raw }} | ||
<noscript><style>html{display:block}</style></noscript> | ||
</head> | ||
<body{{ body_id is not empty ? ' id=' ~ body_id }}> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<title>{{ title }}</title> |
a686ff8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #14626