DodoApp: Restrict users to one domain
Change-Id: I4d09d5ee61d0ec712fd9dfa848c0af0c8e550d68
diff --git a/core/installer/welcome/dodo-app-tmpl/index.html b/core/installer/welcome/dodo-app-tmpl/index.html
index e9a9b11..af82173 100644
--- a/core/installer/welcome/dodo-app-tmpl/index.html
+++ b/core/installer/welcome/dodo-app-tmpl/index.html
@@ -5,6 +5,15 @@
<meta charset='utf-8'>
</head>
<body>
+ <form action="" method="POST">
+ <select name="network">
+ {{ range .Networks }}
+ <option value="{{ .Name }}">{{ .Name }} - {{ .Domain }}</option>
+ {{ end }}
+ </select>
+ <input type="text" name="admin-public-key" placeholder="Admin Public Key" />
+ <button type="submit" name="create-app">Create App</button>
+ </form>
{{ range .Apps }}
<a href="/{{ . }}">{{ . }}</a>
{{ end }}