2014-02-07 10:10:01 +00:00
|
|
|
{{ define "title" }}Installation · drone.io{{ end }}
|
|
|
|
|
|
|
|
{{ define "content" }}
|
|
|
|
<h1>Installation</h1>
|
2014-02-16 17:40:23 +00:00
|
|
|
<form action="install" method="post">
|
|
|
|
<div>
|
|
|
|
<input class="form-control" type="text" name="name" placeholder="Full Name (e.g. John Smith)" autocomplete="off" spellcheck="off" />
|
|
|
|
<input class="form-control" type="text" name="email" placeholder="Email Address" autocomplete="off" spellcheck="off" style="border-top:0px;border-radius:0px;" />
|
|
|
|
<input class="form-control" type="password" name="password" placeholder="Password" />
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<input type="hidden" name="Scheme" />
|
|
|
|
<input type="hidden" name="Domain" />
|
|
|
|
<input type="submit" value="Create Admin" />
|
|
|
|
</div>
|
|
|
|
</form>
|
2014-02-07 10:10:01 +00:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "script" }}
|
|
|
|
<script>
|
|
|
|
$("input[name=Domain]").val(window.location.host)
|
2014-02-08 21:19:51 +00:00
|
|
|
$("input[name=Scheme]").val(window.location.protocol == "https:"?"https":"http")
|
2014-02-07 10:10:01 +00:00
|
|
|
</script>
|
|
|
|
{{ end }}
|