Some fixes and CSS enhancements
This commit is contained in:
parent
335b826559
commit
b872ec8281
5 changed files with 15 additions and 6 deletions
|
@ -1,5 +1,7 @@
|
|||
form {
|
||||
text-align: center;
|
||||
margin-top: 0.6rem;
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
|
||||
input, select, textarea {
|
||||
|
|
13
css/main.css
13
css/main.css
|
@ -29,10 +29,14 @@ h1 {
|
|||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.3rem;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
header, main > *:not(table, pre, form), form > *:not(textarea), footer {
|
||||
h3 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
header, main > *:not(pre, form), form > *:not(textarea), footer {
|
||||
max-width: 40rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
@ -98,3 +102,8 @@ a[rel=external]:after {
|
|||
dt a {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
table {
|
||||
max-width: none;
|
||||
border-spacing: 1ch 0;
|
||||
}
|
||||
|
|
|
@ -811,7 +811,7 @@ msgstr "Valeurs par défaut"
|
|||
#: pg-view/ns/edit.php:40
|
||||
#, php-format
|
||||
msgid "If the TTL is omitted, it will default to %s seconds."
|
||||
msgstr "Si le TTL est omis, is sera définit à %s secondes."
|
||||
msgstr "Si le TTL est omis, il sera définit à %s secondes."
|
||||
|
||||
#: pg-view/ns/edit.php:42
|
||||
msgid "Precising the class (<code>IN</code>) is optional."
|
||||
|
|
|
@ -7,5 +7,3 @@ if ($zone_content === false)
|
|||
output(500, 'Unable to read registry file.');
|
||||
|
||||
$data['zone-content'] = parseZoneFile($zone_content, ['A', 'AAAA', 'NS', 'DS'], $_POST['domain']);
|
||||
|
||||
output(200);
|
||||
|
|
|
@ -38,7 +38,7 @@ if (isset($data['zone-table'])) { ?>
|
|||
foreach ($data['zone-table'] as $zone_line) {
|
||||
echo ' <tr>' . LF;
|
||||
foreach ($zone_line as $element)
|
||||
echo ' <td><code>' . htmlspecialchars($element) . '</code></td>' . LF;
|
||||
echo ' <td><code>' . $element . '</code></td>' . LF;
|
||||
echo ' </tr>' . LF;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue