Files
NetDomainManager/views/newdns.handlebars
T

36 lines
988 B
Handlebars
Raw Normal View History

2026-05-14 18:43:00 -04:00
<p>Add a new DNS record to {{domain.domain}}.{{domain.tld}}</p>
<form action="/dns/new/{{domain.id}}" method="post">
2026-05-14 18:33:29 -04:00
<label for="dns_record_type">Type</label>
2026-05-14 18:37:02 -04:00
<br>
2026-05-14 18:33:29 -04:00
<select name="dns_record_type" id="dns_record_type">
{{#each supportedRecordTypes}}
2026-05-14 18:35:40 -04:00
<option value="{{this}}">{{this}}</option>
2026-05-14 18:33:29 -04:00
{{/each}}
</select>
2026-05-14 18:41:31 -04:00
<br><br>
2026-05-14 18:33:29 -04:00
<label for="dns_record_name">Name</label>
2026-05-14 18:35:40 -04:00
<br>
2026-05-14 18:33:29 -04:00
<input type="text" name="dns_record_name" id="dns_record_name">
2026-05-14 18:41:31 -04:00
<br><br>
2026-05-14 18:33:29 -04:00
<label for="dns_record_host">Host</label>
2026-05-14 18:35:40 -04:00
<br>
2026-05-14 18:33:29 -04:00
<input type="text" name="dns_record_host" id="dns_record_host">
2026-05-14 18:41:31 -04:00
<br><br>
2026-05-14 18:33:29 -04:00
<label for="dns_record_ttl">TTL</label>
2026-05-14 18:35:40 -04:00
<br>
2026-05-14 18:41:31 -04:00
<!--[if lte IE 9]>
2026-05-14 18:33:29 -04:00
<input type="text" name="dns_record_ttl" id="dns_record_ttl">
2026-05-14 18:41:31 -04:00
<![endif]-->
<!--[if !IE]>-->
<input type="number" name="dns_record_ttl" id="dns_record_ttl">
<!--<![endif]-->
<br><br>
2026-05-14 18:43:00 -04:00
<input type="submit" class="DefaultButton">
2026-05-14 18:33:29 -04:00
</form>