Changeset a88607b for src/mapservice-webclient
- Timestamp:
- Mar 1, 2020, 12:25:19 PM (7 years ago)
- Branches:
- debian/bullseye, master
- Children:
- f601952
- Parents:
- bd0cb38
- Location:
- src/mapservice-webclient
- Files:
-
- 3 edited
-
src/app/logs/logs.component.html (modified) (1 diff)
-
src/app/mygnuboat/logadd.component.ts (modified) (3 diffs)
-
webpack.config.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/mapservice-webclient/src/app/logs/logs.component.html
rbd0cb38 ra88607b 29 29 <img *ngSwitchCase="2" class="pure-img state-icon" src='/resources/log-queued.svg' title='Status: {{log.processingState.label}}'> 30 30 <img *ngSwitchCase="3" class="pure-img state-icon" src='/resources/processing.svg' title='Status: {{log.processingState.label}}'> 31 <img *ngSwitchCase="4" class="pure-img state-icon" src='/resources/log-processed.svg' title='Status: {{log.processingState.label}}'> 32 <img *ngSwitchCase="4" class="pure-img state-icon" src='/resources/log-excluded.svg' title='Status: {{log.processingState.label}}'> 31 <img *ngSwitchCase="4" class="pure-img state-icon" src='/resources/log-queued.svg' title='Status: {{log.processingState.label}}'> 32 <img *ngSwitchCase="5" class="pure-img state-icon" src='/resources/processing.svg' title='Status: {{log.processingState.label}}'> 33 <img *ngSwitchCase="6" class="pure-img state-icon" src='/resources/log-deployed.svg' title='Status: {{log.processingState.label}}'> 34 <img *ngSwitchCase="7" class="pure-img state-icon" src='/resources/log-excluded.svg' title='Status: {{log.processingState.label}}'> 33 35 <img *ngSwitchDefault class="pure-img state-icon" src='/resources/log-undefined.svg' title='Status: {{log.processingState.label}}'> 34 36 </td> -
src/mapservice-webclient/src/app/mygnuboat/logadd.component.ts
rbd0cb38 ra88607b 16 16 id: number, 17 17 originalObject: {}, 18 }19 20 interface LogCreated {21 metaData: LogMetaData,22 logGeoJson: LogGeoJson,23 18 } 24 19 … … 33 28 currentUser: User = undefined; 34 29 @Output() cancel = new EventEmitter(); 35 @Output() logCreated = new EventEmitter<LogCreated>();36 30 @ViewChild('logFileInput') logFileInput; 37 31 … … 218 212 this.logsService.logsLogCreate(logCreation).pipe(first()).subscribe(result => { 219 213 this.logsService.logsLogUpload(result.logId, new Blob([fileReader.result], {type: 'text/plain'})).pipe(first()).subscribe(resultUpload => { 220 var logCreated = {} as LogCreated;221 logCreated.metaData = result;222 logCreated.logGeoJson = resultUpload;223 this.logCreated.emit(logCreated);224 214 this.isUploading = false; 225 215 this.logForm.reset(); -
src/mapservice-webclient/webpack.config.js
rbd0cb38 ra88607b 50 50 { from: '../common/icon/processing.svg', to: 'resources' }, 51 51 { from: '../common/icon/log-excluded.svg', to: 'resources' }, 52 { from: '../common/icon/log- processed.svg', to: 'resources' },52 { from: '../common/icon/log-deployed.svg', to: 'resources' }, 53 53 { from: '../common/icon/log-queued.svg', to: 'resources' }, 54 54 { from: '../common/icon/log-undefined.svg', to: 'resources' }
Note:
See TracChangeset
for help on using the changeset viewer.
