comparison client/src/components/importconfiguration/Import.vue @ 2979:8f266dc8b4e3 unified_import

unified_imports: moved imports partially to new UI
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 09 Apr 2019 14:52:55 +0200
parents 2a29bf8776d0
children a9b61290fcc2
comparison
equal deleted inserted replaced
2978:d6dd158b8071 2979:8f266dc8b4e3
56 </div> 56 </div>
57 </template> 57 </template>
58 </UITableBody> 58 </UITableBody>
59 </div> 59 </div>
60 <ImportDetails v-if="mode === $options.MODES.EDIT"></ImportDetails> 60 <ImportDetails v-if="mode === $options.MODES.EDIT"></ImportDetails>
61 <div class="d-flex flex-row-reverse w-100 mb-3"> 61 <div class="d-flex flex-row w-100 mb-3">
62 <button
63 :key="1"
64 v-if="mode === $options.MODES.EDIT && !isOnetime"
65 @click="back()"
66 class="btn btn-warning mr-3"
67 >
68 Back
69 </button>
70 <button
71 :key="2"
72 v-if="
73 mode === $options.MODES.EDIT &&
74 currentSchedule.importType &&
75 !isOnetime
76 "
77 type="submit"
78 class="shadow-sm btn btn-info submit-button mr-3"
79 >
80 <translate>Submit</translate>
81 </button>
82 <button 62 <button
83 :key="3" 63 :key="3"
84 v-if="mode === $options.MODES.LIST && !isOnetime" 64 v-if="mode === $options.MODES.LIST && !isOnetime"
85 @click="newConfiguration()" 65 @click="newConfiguration()"
86 class="btn btn-info mr-3" 66 class="ml-auto btn btn-info mr-3"
87 > 67 >
88 <translate>New import</translate> 68 <translate>New import</translate>
89 </button>
90 <button
91 v-if="
92 mode === $options.MODES.EDIT &&
93 currentSchedule.importType &&
94 !isOnetime
95 "
96 @click="triggerManualImport"
97 type="button"
98 class="shadow-sm btn btn-outline-info trigger mr-auto ml-3"
99 >
100 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="play" />
101 <translate>Trigger import</translate>
102 </button> 69 </button>
103 </div> 70 </div>
104 </div> 71 </div>
105 </template> 72 </template>
106 73