aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/templates/login/header.twig
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/phpmyadmin/templates/login/header.twig')
-rw-r--r--srcs/phpmyadmin/templates/login/header.twig16
1 files changed, 16 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/templates/login/header.twig b/srcs/phpmyadmin/templates/login/header.twig
new file mode 100644
index 0000000..a21dee5
--- /dev/null
+++ b/srcs/phpmyadmin/templates/login/header.twig
@@ -0,0 +1,16 @@
+{% if session_expired == true %}
+ <div id="modalOverlay">
+{% endif %}
+<div class="container{{ add_class }}">
+<a href="{{ 'https://www.phpmyadmin.net/'|link }}" target="_blank" rel="noopener noreferrer" class="logo">
+<img src="{{ theme.getImgPath('logo_right.png', 'pma_logo.png') }}" id="imLogo" name="imLogo" alt="phpMyAdmin" border="0">
+</a>
+<h1>{{ 'Welcome to %s'|trans|format('<bdo dir="ltr" lang="en">phpMyAdmin</bdo>')|raw }}</h1>
+
+<noscript>
+{{ "Javascript must be enabled past this point!"|trans|error }}
+</noscript>
+
+<div class="hide" id="js-https-mismatch">
+{{ "There is a mismatch between HTTPS indicated on the server and client. This can lead to a non working phpMyAdmin or a security risk. Please fix your server configuration to indicate HTTPS properly."|trans|error }}
+</div>