mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
39 lines
1.8 KiB
Handlebars
39 lines
1.8 KiB
Handlebars
<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>
|
|
|
|
{{ui/ui-spacer size=300}}
|
|
<h1 class="color-gray-800">Documize Setup</h1>
|
|
<h3 class="color-gray-700">Database is {{model.dbname}}</h3>
|
|
{{ui/ui-spacer size=300}}
|
|
|
|
<form {{action "save" on="submit"}}>
|
|
<div class="form-group">
|
|
<label>Site name</label>
|
|
{{focus-input id="siteTitle" type="text" value=model.title class=(if hasEmptyTitleError "form-control is-invalid" "form-control")}}
|
|
<small class="form-text text-muted">Usually your company name</small>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="adminFirstname">Firstname</label>
|
|
{{input id="adminFirstname" type="text" value=model.firstname class=(if hasEmptyFirstnameError "form-control is-invalid" "form-control")}}
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="adminLastname">Lastname</label>
|
|
{{input id="adminLastname" type="text" value=model.lastname class=(if hasEmptyLastnameError "form-control is-invalid" "form-control")}}
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="adminEmail">Email</label>
|
|
{{input id="adminEmail" type="email" value=model.email class=(if hasEmptyEmailError "form-control is-invalid" "form-control")}}
|
|
<small class="form-text text-muted">No spam. Ever.</small>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="adminPassword">Password</label>
|
|
{{input id="adminPassword" type="password" value=model.password class=(if hasEmptyPasswordError "form-control is-invalid" "form-control")}}
|
|
<small class="form-text text-muted">Pick something strong and unique that you don't use anywhere else</small>
|
|
</div>
|
|
{{ui/ui-button submit=true color=constants.Color.Green light=true label=buttonLabel onClick=(action "save")}}
|
|
</form>
|
|
|
|
{{ui/ui-spacer size=300}}
|
|
</div>
|