Update website

This commit is contained in:
Guilhem Lavaux 2024-11-19 09:35:33 +01:00
parent bb4b0f9be8
commit 011b183e28
4263 changed files with 3014 additions and 720369 deletions

View file

@ -1,40 +0,0 @@
<!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 - {% trans 'Error' %}</h1>
<p>{{ error_message|raw }}</p>
</body>
</html>

View file

@ -1,36 +0,0 @@
{% if allowed_to_send_error_reports %}
<p>
{% trans %}
This report automatically includes data about the error and information about relevant configuration settings. It will be sent to the phpMyAdmin team for debugging the error.
{% endtrans %}
</p>
<form action="{{ url('/error-report') }}" method="post" id="errorReportForm" class="ajax">
<div class="mb-3">
<label for="errorReportDescription">
<strong>
{% trans "Can you tell us the steps leading to this error? It decisively helps in debugging:" %}
</strong>
</label>
<textarea class="form-control" name="description" id="errorReportDescription"></textarea>
</div>
<div class="mb-3">
{% trans "You may examine the data in the error report:" %}
<pre class="pre-scrollable">{{ report_data|json_encode(constant('JSON_PRETTY_PRINT') b-or constant('JSON_UNESCAPED_SLASHES')) }}</pre>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="always_send" id="errorReportAlwaysSendCheckbox">
<label class="form-check-label" for="errorReportAlwaysSendCheckbox">
{% trans "Automatically send report next time" %}
</label>
</div>
{{ hidden_inputs|raw }}
{{ hidden_fields|raw }}
</form>
{% else %}
<div class="mb-3">
<pre class="pre-scrollable">{{ report_data|json_encode(constant('JSON_PRETTY_PRINT') b-or constant('JSON_UNESCAPED_SLASHES')) }}</pre>
</div>
{% endif %}

View file

@ -1,19 +0,0 @@
<div class="modal fade" id="errorReportModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="errorReportModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="errorReportModalLabel">{% trans 'Submit error report' %}</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Cancel' %}"></button>
</div>
<div class="modal-body"></div>
<div class="modal-footer">
{% if allowed_to_send_error_reports %}
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Cancel' %}</button>
<button type="button" class="btn btn-primary" id="errorReportModalConfirm">{% trans 'Send error report' %}</button>
{% else %}
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">{% trans 'Close' %}</button>
{% endif %}
</div>
</div>
</div>
</div>