Skip to content

Commit 50a1725

Browse files
committed
setup UX improvements
1 parent ca783dd commit 50a1725

File tree

7 files changed

+716
-709
lines changed

7 files changed

+716
-709
lines changed

embed/bindata_assetfs.go

Lines changed: 694 additions & 694 deletions
Large diffs are not rendered by default.

gui/app/pods/setup/template.hbs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
<div class="page-setup container-fluid padding-100">
1+
<div class="container page-setup padding-100">
22
<div class="row">
3-
<div class="col-lg-3 col-md-3 col-sm-3">
3+
<div class="col-4">
44
<div>
55
<img src="/assets/img/setup/logo.png" alt="Documize" class="no-select no-outline margin-top-20" />
66
</div>
77
<div class="margin-top-150">
88
<img src="/assets/img/setup/cogs.png" width="157" height="187" alt="Setup new database" class="no-select no-outline" />
99
</div>
1010
</div>
11-
{{documize-setup model=model save=(action 'save')}}
11+
<div class="col-8">
12+
{{documize-setup model=model save=(action 'save')}}
13+
</div>
1214
</div>
1315
</div>

gui/app/styles/view/spaces.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
}
1515
}
1616

17+
> .empty {
18+
font-size: 1.2rem;
19+
color: $color-gray;
20+
font-weight: normal;
21+
margin: 20px 0 50px 0;
22+
}
23+
1724
> .list {
1825
margin: 30px 0;
1926
padding: 0;
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
<div class="col-lg-9 col-md-9 col-sm-9">
1+
<div class="col-9">
22
<h1>Let's setup Documize</h1>
33
<h3>Database: {{model.dbname}}</h3>
44
<form class="my-5" {{action "save" on="submit"}}>
55
<div class="form-group">
66
<label>Team</label>
7-
{{focus-input id="siteTitle" type="text" value=model.title class=(if hasEmptyTitleError 'form-control error' 'form-control')}}
7+
{{focus-input id="siteTitle" type="text" value=model.title class=(if hasEmptyTitleError 'form-control is-invalid' 'form-control')}}
88
<small class="form-text text-muted">What's your tribe called?</small>
99
</div>
1010
<div class="form-group">
1111
<label for="adminFirstname">Firstname</label>
12-
{{input id="adminFirstname" type="text" value=model.firstname class=(if hasEmptyFirstnameError 'form-control error' 'form-control')}}
12+
{{input id="adminFirstname" type="text" value=model.firstname class=(if hasEmptyFirstnameError 'form-control is-invalid' 'form-control')}}
1313
<small class="form-text text-muted">What do people call you?</small>
1414
</div>
1515
<div class="form-group">
1616
<label for="adminLastname">Lastname</label>
17-
{{input id="adminLastname" type="text" value=model.lastname class=(if hasEmptyLastnameError 'form-control error' 'form-control')}}
17+
{{input id="adminLastname" type="text" value=model.lastname class=(if hasEmptyLastnameError 'form-control is-invalid' 'form-control')}}
1818
<small class="form-text text-muted">How the government refers to you</small>
1919
</div>
2020
<div class="form-group">
2121
<label for="adminEmail">Email</label>
22-
{{input id="adminEmail" type="email" value=model.email class=(if hasEmptyEmailError 'form-control error' 'form-control')}}
22+
{{input id="adminEmail" type="email" value=model.email class=(if hasEmptyEmailError 'form-control is-invalid' 'form-control')}}
2323
<small class="form-text text-muted">No spam. Ever.</small>
2424
</div>
2525
<div class="form-group">
2626
<label for="adminPassword">Password</label>
27-
{{input id="adminPassword" type="password" value=model.password class=(if hasEmptyPasswordError 'form-control error' 'form-control')}}
27+
{{input id="adminPassword" type="password" value=model.password class=(if hasEmptyPasswordError 'form-control is-invalid' 'form-control')}}
2828
<small class="form-text text-muted">Something you can remember without writing it down</small>
2929
</div>
30-
<button type="submit" class="btn bt-success mt-5" {{action 'save'}}>Setup</button>
30+
<button type="submit" class="btn btn-success mt-5" {{action 'save'}}>Setup</button>
3131
</form>
3232
</div>

gui/app/templates/components/spaces/space-list.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="view-spaces">
77
<div class="heading">EVERYONE <div class="counter">({{publicFolders.length}})</div></div>
88
{{#unless hasPublicFolders}}
9-
<p>No global spaces</p>
9+
<p class="empty">No global spaces</p>
1010
{{/unless}}
1111
<ul class="list clearfix">
1212
{{#each publicFolders as |folder|}}
@@ -19,7 +19,7 @@
1919
{{#if session.authenticated}}
2020
<div class="heading">TEAM <div class="counter">({{protectedFolders.length}})</div></div>
2121
{{#unless hasProtectedFolders}}
22-
<p>No team spaces</p>
22+
<p class="empty">No team spaces</p>
2323
{{/unless}}
2424
<ul class="list clearfix">
2525
{{#each protectedFolders as |folder|}}
@@ -31,7 +31,7 @@
3131

3232
<div class="heading">PERSONAL <div class="counter">({{privateFolders.length}})</div></div>
3333
{{#unless hasPrivateFolders}}
34-
<p>No personal spaces</p>
34+
<p class="empty">No personal spaces</p>
3535
{{/unless}}
3636
<ul class="list clearfix">
3737
{{#each privateFolders as |folder|}}

gui/vendor/bootstrap.bundle.min.js

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gui/vendor/bootstrap.bundle.min.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)