Mercurial > gemma
comparison client/src/components/importconfiguration/types/Soundingresults.vue @ 3574:d5959f69e903
import_sounding_result: accept txt files
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 03 Jun 2019 16:08:34 +0200 |
parents | 2ec49a2dca83 |
children | 959312a236a0 |
comparison
equal
deleted
inserted
replaced
3573:9d1eb993ab14 | 3574:d5959f69e903 |
---|---|
107 /> | 107 /> |
108 </div> | 108 </div> |
109 </div> | 109 </div> |
110 <div class="custom-file mt-4"> | 110 <div class="custom-file mt-4"> |
111 <input | 111 <input |
112 accept=".zip" | 112 accept=".zip,.txt" |
113 type="file" | 113 type="file" |
114 @change="fileSelected" | 114 @change="fileSelected" |
115 class="custom-file-input" | 115 class="custom-file-input" |
116 id="uploadFile" | 116 id="uploadFile" |
117 /> | 117 /> |
188 importState: IMPORTSTATE.UPLOAD, | 188 importState: IMPORTSTATE.UPLOAD, |
189 depthReference: "", | 189 depthReference: "", |
190 bottleneck: "", | 190 bottleneck: "", |
191 projection: "", | 191 projection: "", |
192 importDate: "", | 192 importDate: "", |
193 uploadLabel: this.$gettext("choose .zip- file"), | 193 uploadLabel: this.$gettext(this.$options.UPLOADLABEL), |
194 uploadFile: null, | 194 uploadFile: null, |
195 disableUpload: false, | 195 disableUpload: false, |
196 token: null, | 196 token: null, |
197 messages: [], | 197 messages: [], |
198 eMailNotification: false | 198 eMailNotification: false |
206 this.importState = IMPORTSTATE.UPLOAD; | 206 this.importState = IMPORTSTATE.UPLOAD; |
207 this.depthReference = ""; | 207 this.depthReference = ""; |
208 this.bottleneck = null; | 208 this.bottleneck = null; |
209 this.projection = ""; | 209 this.projection = ""; |
210 this.importDate = ""; | 210 this.importDate = ""; |
211 this.uploadLabel = this.$gettext("choose .zip- file"); | 211 this.uploadLabel = this.$gettext(this.$options.UPLOADLABEL); |
212 this.uploadFile = null; | 212 this.uploadFile = null; |
213 this.disableUpload = false; | 213 this.disableUpload = false; |
214 this.token = null; | 214 this.token = null; |
215 this.eMailNotification = false; | 215 this.eMailNotification = false; |
216 this.messages = []; | 216 this.messages = []; |
374 return result; | 374 return result; |
375 } | 375 } |
376 return []; | 376 return []; |
377 } | 377 } |
378 }, | 378 }, |
379 UPLOADLABEL: "choose a .zip or .txt file", | |
379 on: "on", | 380 on: "on", |
380 off: "off" | 381 off: "off" |
381 }; | 382 }; |
382 </script> | 383 </script> |