1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-25 08:09:43 +02:00

Replaced Material Icons & Boostrap with custom UI framework

This commit is contained in:
Harvey Kandola 2018-12-21 11:15:59 +00:00
parent d0f0a12f2d
commit 61c648a7ac
75 changed files with 116 additions and 1445 deletions

View file

@ -1,7 +1,8 @@
<div class="col-9">
<h1>Let's setup Documize</h1>
<h3>Database: {{model.dbname}}</h3>
<form class="my-5" {{action "save" on="submit"}}>
{{ui/ui-spacer size=300}}
<form {{action "save" on="submit"}}>
<div class="form-group">
<label>Team</label>
{{focus-input id="siteTitle" type="text" value=model.title class=(if hasEmptyTitleError "form-control is-invalid" "form-control")}}
@ -27,6 +28,7 @@
{{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>
<button type="submit" class="btn btn-success mt-5" {{action "save"}}>{{buttonLabel}}</button>
{{ui/ui-button submit=true color=constants.Color.Green light=true label=buttonLabel onClick=(action "save")}}
</form>
{{ui/ui-spacer size=300}}
</div>