aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/templates/error/generic.twig
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/phpmyadmin/templates/error/generic.twig')
-rw-r--r--srcs/phpmyadmin/templates/error/generic.twig40
1 files changed, 40 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/templates/error/generic.twig b/srcs/phpmyadmin/templates/error/generic.twig
new file mode 100644
index 0000000..a47bce6
--- /dev/null
+++ b/srcs/phpmyadmin/templates/error/generic.twig
@@ -0,0 +1,40 @@
+<!DOCTYPE HTML>
+<html lang="{{ lang }}" dir="{{ dir }}">
+<head>
+ <link rel="icon" href="favicon.ico" type="image/x-icon">
+ <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
+ <title>phpMyAdmin</title>
+ <meta charset="utf-8">
+ <style type="text/css">
+ html {
+ padding: 0;
+ margin: 0;
+ }
+ body {
+ font-family: sans-serif;
+ font-size: small;
+ color: #000000;
+ background-color: #F5F5F5;
+ margin: 1em;
+ }
+ h1 {
+ margin: 0;
+ padding: 0.3em;
+ font-size: 1.4em;
+ font-weight: bold;
+ color: #ffffff;
+ background-color: #ff0000;
+ }
+ p {
+ margin: 0;
+ padding: 0.5em;
+ border: 0.1em solid red;
+ background-color: #ffeeee;
+ }
+ </style>
+</head>
+<body>
+<h1>phpMyAdmin - {{ error_header }}</h1>
+<p>{{ error_message|raw }}</p>
+</body>
+</html>