installer-env: render dns records to publish
diff --git a/core/installer/welcome/env-created.html b/core/installer/welcome/env-created.html
index 26f551a..5e54fb3 100644
--- a/core/installer/welcome/env-created.html
+++ b/core/installer/welcome/env-created.html
@@ -20,7 +20,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
{{ if not (or (eq .Root.Status 2) (eq .Root.Status 3))}}
- <meta http-equiv="refresh" content="2">
+ <meta http-equiv="refresh" content="10">
{{ end }}
</head>
<body>
@@ -35,6 +35,19 @@
</ul>
</nav>
<main class="container">
+ {{ if .DNSRecords }}
+ <form action="" method="POST">
+ You will have to publish following DNS records via your domain registrar.
+ <textarea disabled>{{ .DNSRecords }}</textarea>
+ <label for="domain-registrar">Domain Registrar</label>
+ <select id="domain-registrar" required>
+ <option value="" selected>Select registrar</option>
+ <option value="gandi">Gandi</option>
+ <option value="namecheap">Namecheap</option>
+ </select>
+ <button type="submit" tabindex="1">Update</button>
+ </form>
+ {{ end }}
<ul>
{{ template "task" .Root.Subtasks }}
</ul>