|
1 | 1 | <template> |
2 | 2 | <q-stepper |
3 | | - active-icon="" |
4 | 3 | animated |
| 4 | + color="primary" |
5 | 5 | class="bg-secondary text-primary" |
| 6 | + error-color="negative" |
| 7 | + error-icon="warning" |
6 | 8 | flat |
7 | 9 | header-nav |
| 10 | + inactive-color="primary" |
8 | 11 | inactive-icon="" |
9 | 12 | v-bind:model-value="stepName" |
10 | 13 | vertical |
11 | 14 | > |
12 | 15 | <q-step |
13 | | - error-color="negative" |
14 | | - error-icon="warning" |
15 | | - icon="" |
16 | 16 | name="start" |
17 | 17 | title="Start" |
18 | 18 | v-bind:active-icon="errorStateScreenStart ? 'warning' : 'edit'" |
19 | | - v-bind:color="errorStateScreenStart ? 'negative' : 'primary'" |
20 | 19 | v-bind:error="errorStateScreenStart" |
21 | 20 | v-bind:order="0" |
22 | 21 | v-on:click="setStepName('start')" |
23 | 22 | /> |
24 | 23 |
|
25 | 24 | <q-step |
26 | | - error-color="negative" |
27 | | - error-icon="warning" |
28 | | - icon="" |
29 | 25 | name="authors" |
30 | 26 | title="Authors" |
31 | 27 | v-bind:active-icon="errorStateScreenAuthors ? 'warning' : 'edit'" |
32 | | - v-bind:color="errorStateScreenAuthors ? 'negative' : 'primary'" |
33 | 28 | v-bind:error="errorStateScreenAuthors" |
34 | 29 | v-bind:order="1" |
35 | 30 | v-on:click="setStepName('authors')" |
36 | 31 | /> |
37 | 32 |
|
38 | 33 | <q-step |
39 | 34 | active-icon="navigate_next" |
40 | | - color="primary" |
41 | | - icon="" |
42 | 35 | name="finish-minimum" |
43 | 36 | title="Finish" |
44 | 37 | v-bind:order="2" |
|
47 | 40 | /> |
48 | 41 |
|
49 | 42 | <q-step |
50 | | - error-color="negative" |
51 | | - error-icon="warning" |
52 | | - icon="" |
53 | 43 | name="identifiers" |
54 | 44 | title="Identifiers" |
55 | 45 | v-bind:active-icon="errorStateScreenIdentifiers ? 'warning' : 'edit'" |
56 | | - v-bind:color="errorStateScreenIdentifiers ? 'negative' : 'primary'" |
57 | 46 | v-bind:error="errorStateScreenIdentifiers" |
58 | 47 | v-bind:order="3" |
59 | 48 | v-if="showAdvanced" |
60 | 49 | v-on:click="setStepName('identifiers')" |
61 | 50 | /> |
62 | 51 |
|
63 | 52 | <q-step |
64 | | - error-color="negative" |
65 | | - error-icon="warning" |
66 | | - icon="" |
67 | 53 | name="related-resources" |
68 | 54 | title="Related resources" |
69 | 55 | v-bind:active-icon="errorStateScreenRelatedResources ? 'warning' : 'edit'" |
70 | | - v-bind:color="errorStateScreenRelatedResources ? 'negative' : 'primary'" |
71 | 56 | v-bind:error="errorStateScreenRelatedResources" |
72 | 57 | v-bind:order="4" |
73 | 58 | v-if="showAdvanced" |
74 | 59 | v-on:click="setStepName('related-resources')" |
75 | 60 | /> |
| 61 | + |
76 | 62 | <q-step |
77 | | - color="primary" |
78 | | - icon="" |
79 | 63 | name="abstract" |
80 | 64 | title="Abstract" |
81 | 65 | v-bind:order="5" |
|
84 | 68 | /> |
85 | 69 |
|
86 | 70 | <q-step |
87 | | - error-color="negative" |
88 | | - error-icon="warning" |
89 | | - icon="" |
90 | 71 | name="keywords" |
91 | 72 | title="Keywords" |
92 | 73 | v-bind:active-icon="errorStateScreenKeywords ? 'warning' : 'edit'" |
93 | | - v-bind:color="errorStateScreenKeywords ? 'negative' : 'primary'" |
94 | 74 | v-bind:error="errorStateScreenKeywords" |
95 | 75 | v-bind:order="6" |
96 | 76 | v-if="showAdvanced" |
97 | 77 | v-on:click="setStepName('keywords')" |
98 | 78 | /> |
99 | 79 |
|
100 | 80 | <q-step |
101 | | - color="primary" |
102 | | - icon="" |
103 | 81 | name="license" |
104 | 82 | title="License" |
105 | 83 | v-bind:order="7" |
|
108 | 86 | /> |
109 | 87 |
|
110 | 88 | <q-step |
111 | | - error-color="negative" |
112 | | - error-icon="warning" |
113 | | - icon="" |
114 | 89 | name="version-specific" |
115 | 90 | title="Version specific" |
116 | 91 | v-bind:active-icon="errorStateScreenVersionSpecific ? 'warning' : 'edit'" |
117 | | - v-bind:color="errorStateScreenVersionSpecific ? 'negative' : 'primary'" |
118 | 92 | v-bind:error="errorStateScreenVersionSpecific" |
119 | 93 | v-bind:order="8" |
120 | 94 | v-if="showAdvanced" |
121 | 95 | v-on:click="setStepName('version-specific')" |
122 | 96 | /> |
| 97 | + |
123 | 98 | <q-step |
124 | 99 | active-icon="navigate_next" |
125 | | - color="primary" |
126 | | - icon="" |
127 | 100 | name="finish-advanced" |
128 | 101 | title="Finish" |
129 | 102 | v-bind:order="9" |
|
0 commit comments