Skip to content

Commit 810313a

Browse files
authored
Merge pull request #553 from citation-file-format/525-homogenize-stepper-properties
2 parents 141182a + 151bbd9 commit 810313a

1 file changed

Lines changed: 6 additions & 33 deletions

File tree

src/components/Stepper.vue

Lines changed: 6 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,37 @@
11
<template>
22
<q-stepper
3-
active-icon=""
43
animated
4+
color="primary"
55
class="bg-secondary text-primary"
6+
error-color="negative"
7+
error-icon="warning"
68
flat
79
header-nav
10+
inactive-color="primary"
811
inactive-icon=""
912
v-bind:model-value="stepName"
1013
vertical
1114
>
1215
<q-step
13-
error-color="negative"
14-
error-icon="warning"
15-
icon=""
1616
name="start"
1717
title="Start"
1818
v-bind:active-icon="errorStateScreenStart ? 'warning' : 'edit'"
19-
v-bind:color="errorStateScreenStart ? 'negative' : 'primary'"
2019
v-bind:error="errorStateScreenStart"
2120
v-bind:order="0"
2221
v-on:click="setStepName('start')"
2322
/>
2423

2524
<q-step
26-
error-color="negative"
27-
error-icon="warning"
28-
icon=""
2925
name="authors"
3026
title="Authors"
3127
v-bind:active-icon="errorStateScreenAuthors ? 'warning' : 'edit'"
32-
v-bind:color="errorStateScreenAuthors ? 'negative' : 'primary'"
3328
v-bind:error="errorStateScreenAuthors"
3429
v-bind:order="1"
3530
v-on:click="setStepName('authors')"
3631
/>
3732

3833
<q-step
3934
active-icon="navigate_next"
40-
color="primary"
41-
icon=""
4235
name="finish-minimum"
4336
title="Finish"
4437
v-bind:order="2"
@@ -47,35 +40,26 @@
4740
/>
4841

4942
<q-step
50-
error-color="negative"
51-
error-icon="warning"
52-
icon=""
5343
name="identifiers"
5444
title="Identifiers"
5545
v-bind:active-icon="errorStateScreenIdentifiers ? 'warning' : 'edit'"
56-
v-bind:color="errorStateScreenIdentifiers ? 'negative' : 'primary'"
5746
v-bind:error="errorStateScreenIdentifiers"
5847
v-bind:order="3"
5948
v-if="showAdvanced"
6049
v-on:click="setStepName('identifiers')"
6150
/>
6251

6352
<q-step
64-
error-color="negative"
65-
error-icon="warning"
66-
icon=""
6753
name="related-resources"
6854
title="Related resources"
6955
v-bind:active-icon="errorStateScreenRelatedResources ? 'warning' : 'edit'"
70-
v-bind:color="errorStateScreenRelatedResources ? 'negative' : 'primary'"
7156
v-bind:error="errorStateScreenRelatedResources"
7257
v-bind:order="4"
7358
v-if="showAdvanced"
7459
v-on:click="setStepName('related-resources')"
7560
/>
61+
7662
<q-step
77-
color="primary"
78-
icon=""
7963
name="abstract"
8064
title="Abstract"
8165
v-bind:order="5"
@@ -84,22 +68,16 @@
8468
/>
8569

8670
<q-step
87-
error-color="negative"
88-
error-icon="warning"
89-
icon=""
9071
name="keywords"
9172
title="Keywords"
9273
v-bind:active-icon="errorStateScreenKeywords ? 'warning' : 'edit'"
93-
v-bind:color="errorStateScreenKeywords ? 'negative' : 'primary'"
9474
v-bind:error="errorStateScreenKeywords"
9575
v-bind:order="6"
9676
v-if="showAdvanced"
9777
v-on:click="setStepName('keywords')"
9878
/>
9979

10080
<q-step
101-
color="primary"
102-
icon=""
10381
name="license"
10482
title="License"
10583
v-bind:order="7"
@@ -108,22 +86,17 @@
10886
/>
10987

11088
<q-step
111-
error-color="negative"
112-
error-icon="warning"
113-
icon=""
11489
name="version-specific"
11590
title="Version specific"
11691
v-bind:active-icon="errorStateScreenVersionSpecific ? 'warning' : 'edit'"
117-
v-bind:color="errorStateScreenVersionSpecific ? 'negative' : 'primary'"
11892
v-bind:error="errorStateScreenVersionSpecific"
11993
v-bind:order="8"
12094
v-if="showAdvanced"
12195
v-on:click="setStepName('version-specific')"
12296
/>
97+
12398
<q-step
12499
active-icon="navigate_next"
125-
color="primary"
126-
icon=""
127100
name="finish-advanced"
128101
title="Finish"
129102
v-bind:order="9"

0 commit comments

Comments
 (0)