1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00
documize/gui/app/templates/components/setup/documize-setup.hbs

40 lines
1.8 KiB
Handlebars
Raw Normal View History

<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"}}>
2017-11-29 11:20:04 +00:00
<div class="form-group">
<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")}}
<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>
{{ui/ui-button submit=true color=constants.Color.Green light=true label=buttonLabel onClick=(action "save")}}
</form>
{{ui/ui-spacer size=300}}
</div>