From 17b7f81deadededf7dd0c03e0db0ec790a6a8d1b Mon Sep 17 00:00:00 2001 From: jelhan Date: Sun, 18 Sep 2016 20:44:22 +0200 Subject: [PATCH] UX: next and back buttons in create wizzard in xs and sm --- app/templates/components/create-options-datetime.hbs | 4 ++-- app/templates/components/create-options.hbs | 4 ++-- app/templates/create/index.hbs | 9 ++++++++- app/templates/create/meta.hbs | 4 ++-- app/templates/create/settings.hbs | 4 ++-- 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/app/templates/components/create-options-datetime.hbs b/app/templates/components/create-options-datetime.hbs index c0bab87..6175101 100644 --- a/app/templates/components/create-options-datetime.hbs +++ b/app/templates/components/create-options-datetime.hbs @@ -66,14 +66,14 @@ {{/if}}
-
+
{{bs-button action='back' classNames='back' defaultText=(t 'action.back') }}
-
+
{{bs-button buttonType='submit' defaultText=(t 'action.next') diff --git a/app/templates/components/create-options.hbs b/app/templates/components/create-options.hbs index 711f553..6045668 100644 --- a/app/templates/components/create-options.hbs +++ b/app/templates/components/create-options.hbs @@ -20,14 +20,14 @@ {{/if}}
-
+
{{bs-button action='back' classNames='back' defaultText=(t 'action.back') }}
-
+
{{bs-button buttonType='submit' defaultText=(t 'action.next') diff --git a/app/templates/create/index.hbs b/app/templates/create/index.hbs index 5dc3f90..6eaf328 100644 --- a/app/templates/create/index.hbs +++ b/app/templates/create/index.hbs @@ -24,7 +24,14 @@ }} {{/bs-form-element}}
-
+
+ {{bs-button + classNames='back' + defaultText=(t 'action.back') + disabled=true + }} +
+
{{bs-button defaultText=(t 'action.next') type="primary" diff --git a/app/templates/create/meta.hbs b/app/templates/create/meta.hbs index e440d1b..db76334 100644 --- a/app/templates/create/meta.hbs +++ b/app/templates/create/meta.hbs @@ -21,14 +21,14 @@ property="description" }}
-
+
{{bs-button action='back' classNames='back' defaultText=(t 'action.back') }}
-
+
{{bs-button defaultText=(t 'action.next') type="primary" diff --git a/app/templates/create/settings.hbs b/app/templates/create/settings.hbs index b71e20a..1595576 100644 --- a/app/templates/create/settings.hbs +++ b/app/templates/create/settings.hbs @@ -55,14 +55,14 @@ value=forceAnswer }}
-
+
{{bs-button action='back' defaultText=(t 'action.back') classNames='back' }}
-
+
{{bs-button defaultText=(t 'action.save') type="primary"