diff --git a/gui/app/pods/setup/controller.js b/gui/app/pods/setup/controller.js index c4811b71..3a0bfdfc 100644 --- a/gui/app/pods/setup/controller.js +++ b/gui/app/pods/setup/controller.js @@ -10,12 +10,10 @@ // https://documize.com import { inject as service } from '@ember/service'; - import Controller from '@ember/controller'; -import NotifierMixin from "../../mixins/notifier"; import Encoding from "../../utils/encoding"; -export default Controller.extend(NotifierMixin, { +export default Controller.extend({ ajax: service(), actions: { diff --git a/gui/app/pods/setup/route.js b/gui/app/pods/setup/route.js index 23ae6b05..bb999212 100644 --- a/gui/app/pods/setup/route.js +++ b/gui/app/pods/setup/route.js @@ -36,6 +36,11 @@ export default Route.extend({ }, activate() { + $('body').addClass('background-color-theme-light'); document.title = "Documize Setup"; + }, + + deactivate() { + $('body').removeClass('background-color-theme-light'); } }); diff --git a/gui/app/templates/components/documize-setup.hbs b/gui/app/templates/components/documize-setup.hbs index 9375199f..f20958d9 100644 --- a/gui/app/templates/components/documize-setup.hbs +++ b/gui/app/templates/components/documize-setup.hbs @@ -1,36 +1,32 @@
-
-
-
-
Let's setup Documize
-
Database: {{model.dbname}}
-
-
- -
What's your tribe called?
- {{focus-input id="siteTitle" type="text" value=model.title class=(if hasEmptyTitleError 'error')}} -
-
- -
What do people call you?
- {{input id="adminFirstname" type="text" value=model.firstname class=(if hasEmptyFirstnameError 'error')}} -
-
- -
How the government refers to you
- {{input id="adminLastname" type="text" value=model.lastname class=(if hasEmptyLastnameError 'error')}} -
-
- -
No spam. Ever!
- {{input id="adminEmail" type="email" value=model.email class=(if hasEmptyEmailError 'error')}} -
-
- -
Something you can remember without writing it down.
- {{input id="adminPassword" type="text" value=model.password class=(if hasEmptyPasswordError 'error')}} -
- +

Let's setup Documize

+

Database: {{model.dbname}}

+ +
+ + {{focus-input id="siteTitle" type="text" value=model.title class=(if hasEmptyTitleError 'form-control error' 'form-control')}} + What's your tribe called?
+
+ + {{input id="adminFirstname" type="text" value=model.firstname class=(if hasEmptyFirstnameError 'form-control error' 'form-control')}} + What do people call you? +
+
+ + {{input id="adminLastname" type="text" value=model.lastname class=(if hasEmptyLastnameError 'form-control error' 'form-control')}} + How the government refers to you +
+
+ + {{input id="adminEmail" type="email" value=model.email class=(if hasEmptyEmailError 'form-control error' 'form-control')}} + No spam. Ever. +
+
+ + {{input id="adminPassword" type="password" value=model.password class=(if hasEmptyPasswordError 'form-control error' 'form-control')}} + Something you can remember without writing it down +
+