diff --git a/assets/css/main.css b/assets/css/main.css index 46958c5..46fc3fe 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -104,7 +104,8 @@ body { } #ConfigureDNSTable { - width: 400px; + display: inline-block; + float: left; } /* Tables */ diff --git a/routes/dns.js b/routes/dns.js index 6950aaf..f271132 100644 --- a/routes/dns.js +++ b/routes/dns.js @@ -10,10 +10,11 @@ const { GetAllRecords, CoreDNSToDomain } = require('../coredns_bridge.js'); const { capitalizeFirstLetter } = require('../helpers.js'); const recordTypeMap = { - "host": "A", - "cname": "CNAME", - "txt": "TXT", - "srv": "SRV" + "host": "A", + "cname": "CNAME", + "txt": "TXT", + "mx": "MX", + "srv": "SRV" } // Manage domains diff --git a/views/dns.handlebars b/views/dns.handlebars index ccb83e3..6c08ee6 100644 --- a/views/dns.handlebars +++ b/views/dns.handlebars @@ -1,17 +1,26 @@
Configuring DNS records for {{domain.domain}}.{{domain.tld}}
-| {{this}} | +
|---|
| {{this}} | + {{/each}} +
|---|
| {{this}} | + {{/each}} +
| {{this}} | - {{/each}} -
Options
+