From 922642005d6f5665c05e66b827d6554cc611e28f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Sat, 4 Oct 2014 14:13:37 +0200 Subject: [PATCH] Improve UI * add CSS classes to fields * use monospace font for field values * min-width for record content edit field, stretch label and content to dialog width * max-width for record content table cell, explicit (percent) column sizes * text-align: right numbers * display raw data in cells with $('').text(...) * add DNSSEC info and masters for slave zones * add some RR types and disable distinction from address .arpa zone; show all types for every field --- css/base.css | 28 +++++ index.php | 283 +++++++++++++++++++++++++++++++++++---------------- 2 files changed, 222 insertions(+), 89 deletions(-) diff --git a/css/base.css b/css/base.css index ccdeb1a..7f3fce0 100644 --- a/css/base.css +++ b/css/base.css @@ -139,3 +139,31 @@ pre { .ui-dialog { max-width: 80%; } +tr.jtable-data-row td { + font-family: monospace; + font-size: 16px; + vertical-align: top; + white-space: pre-wrap; /* css-3 */ + white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; +} +tr.jtable-data-row td.ttl, tr.jtable-data-row td.priority, +.jtable-input input.ttl, .jtable-input input.priority { + text-align: right; +} +tr.jtable-data-row td.content { + max-width: 800px; +} +.jtable-input input { + font-family: monospace; + font-size: 16px; +} +.jtable-input input.name { + width: 100%; +} +.jtable-input input.content { + min-width: 600px; + width: 100%; +} diff --git a/index.php b/index.php index 48f6257..438a5a0 100644 --- a/index.php +++ b/index.php @@ -113,21 +113,45 @@ exit(0);