github.com/marinho/drone@v0.2.1-0.20140504195434-d3ba962e89a7/pkg/template/pages/install.html (about)

     1  {{ define "title" }}Installation ยท drone.io{{ end }}
     2  
     3  {{ define "content" }}
     4  	<h1>Installation</h1>
     5  	<form action="install" method="post">
     6  		<div>
     7  			<input class="form-control" type="text" name="name" placeholder="Full Name (e.g. John Smith)" autocomplete="off" spellcheck="off" />
     8  			<input class="form-control" type="text" name="email" placeholder="Email Address" autocomplete="off" spellcheck="off" style="border-top:0px;border-radius:0px;" />
     9  			<input class="form-control" type="password" name="password" placeholder="Password" />
    10  		</div>
    11  		<div>
    12  			<input type="hidden" name="Scheme" />
    13  			<input type="hidden" name="Domain" />
    14  			<input type="submit" value="Create Admin" />
    15  		</div>
    16  	</form>
    17  {{ end }}
    18  
    19  {{ define "script" }}
    20  	<script>
    21  	$("input[name=Domain]").val(window.location.host)
    22  	$("input[name=Scheme]").val(window.location.protocol == "https:"?"https":"http")
    23  	</script>
    24  {{ end }}