2019-01-26 13:24:54 +00:00
|
|
|
<div class="installer">
|
|
|
|
<div>
|
|
|
|
<img src="/assets/img/setup/cogs.png" width="157" height="187" alt="Setup new database" class="no-select no-outline">
|
|
|
|
</div>
|
|
|
|
|
2018-12-21 11:15:59 +00:00
|
|
|
{{ui/ui-spacer size=300}}
|
2019-01-26 13:24:54 +00:00
|
|
|
<h1 class="color-gray-800">Documize Setup</h1>
|
|
|
|
<h3 class="color-gray-700">Database is {{model.dbname}}</h3>
|
|
|
|
{{ui/ui-spacer size=300}}
|
|
|
|
|
2018-12-21 11:15:59 +00:00
|
|
|
<form {{action "save" on="submit"}}>
|
2017-11-29 11:20:04 +00:00
|
|
|
<div class="form-group">
|
2019-01-26 13:24:54 +00:00
|
|
|
<label>Site name</label>
|
2018-12-08 20:54:19 +00:00
|
|
|
{{focus-input id="siteTitle" type="text" value=model.title class=(if hasEmptyTitleError "form-control is-invalid" "form-control")}}
|
2019-01-26 13:24:54 +00:00
|
|
|
<small class="form-text text-muted">Usually your company name</small>
|
2016-11-27 15:59:08 -08:00
|
|
|
</div>
|
2017-11-29 11:20:04 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="adminFirstname">Firstname</label>
|
2018-12-08 20:54:19 +00:00
|
|
|
{{input id="adminFirstname" type="text" value=model.firstname class=(if hasEmptyFirstnameError "form-control is-invalid" "form-control")}}
|
2017-11-29 11:20:04 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="adminLastname">Lastname</label>
|
2018-12-08 20:54:19 +00:00
|
|
|
{{input id="adminLastname" type="text" value=model.lastname class=(if hasEmptyLastnameError "form-control is-invalid" "form-control")}}
|
2017-11-29 11:20:04 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="adminEmail">Email</label>
|
2018-12-08 20:54:19 +00:00
|
|
|
{{input id="adminEmail" type="email" value=model.email class=(if hasEmptyEmailError "form-control is-invalid" "form-control")}}
|
2017-11-29 11:20:04 +00:00
|
|
|
<small class="form-text text-muted">No spam. Ever.</small>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="adminPassword">Password</label>
|
2018-12-08 20:54:19 +00:00
|
|
|
{{input id="adminPassword" type="password" value=model.password class=(if hasEmptyPasswordError "form-control is-invalid" "form-control")}}
|
2018-10-31 10:12:19 -07:00
|
|
|
<small class="form-text text-muted">Pick something strong and unique that you don't use anywhere else</small>
|
2017-11-29 11:20:04 +00:00
|
|
|
</div>
|
2018-12-21 11:15:59 +00:00
|
|
|
{{ui/ui-button submit=true color=constants.Color.Green light=true label=buttonLabel onClick=(action "save")}}
|
2017-10-06 13:59:58 -04:00
|
|
|
</form>
|
2019-01-26 13:24:54 +00:00
|
|
|
|
2018-12-21 11:15:59 +00:00
|
|
|
{{ui/ui-spacer size=300}}
|
2016-07-28 16:49:31 +02:00
|
|
|
</div>
|