diff --git a/css/form.css b/css/form.css index cb4805b..0ebff75 100644 --- a/css/form.css +++ b/css/form.css @@ -1,5 +1,7 @@ form { text-align: center; + margin-top: 0.6rem; + margin-bottom: 0.6rem; } input, select, textarea { diff --git a/css/main.css b/css/main.css index 38b6dc3..4c1f3d7 100644 --- a/css/main.css +++ b/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; +} diff --git a/locales/fr/C/LC_MESSAGES/messages.po b/locales/fr/C/LC_MESSAGES/messages.po index 0540b16..fe0f022 100644 --- a/locales/fr/C/LC_MESSAGES/messages.po +++ b/locales/fr/C/LC_MESSAGES/messages.po @@ -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 (IN) is optional." diff --git a/pg-act/reg/print.php b/pg-act/reg/print.php index 11d3019..8cae8d5 100644 --- a/pg-act/reg/print.php +++ b/pg-act/reg/print.php @@ -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); diff --git a/pg-view/ns/print.php b/pg-view/ns/print.php index 3f9ed1e..147cb05 100644 --- a/pg-view/ns/print.php +++ b/pg-view/ns/print.php @@ -38,7 +38,7 @@ if (isset($data['zone-table'])) { ?> foreach ($data['zone-table'] as $zone_line) { echo ' ' . LF; foreach ($zone_line as $element) - echo ' ' . htmlspecialchars($element) . '' . LF; + echo ' ' . $element . '' . LF; echo ' ' . LF; } }