Changeset f601952 for src/mapservice-webclient
- Timestamp:
- Mar 22, 2020, 12:03:15 PM (7 years ago)
- Branches:
- debian/bullseye, master
- Children:
- 9f5877d
- Parents:
- a88607b
- git-author:
- Joachim Langenbach <joachim.langenbach@…> (03/22/20 11:27:40)
- git-committer:
- Joachim Langenbach <joachim.langenbach@…> (03/22/20 12:03:15)
- Location:
- src/mapservice-webclient/src/app
- Files:
-
- 4 edited
-
logs/logs.component.html (modified) (2 diffs)
-
mygnuboat/logadd.component.html (modified) (1 diff)
-
mygnuboat/logadd.component.ts (modified) (2 diffs)
-
water/gauges.component.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/mapservice-webclient/src/app/logs/logs.component.html
ra88607b rf601952 9 9 <th>Device</th> 10 10 <th>Gauge</th> 11 <th>Gauge Level</th>11 <th>Gauge Height</th> 12 12 <th>Start</th> 13 13 <th>End</th> … … 42 42 </ng-container> 43 43 <ng-template #noLogs> 44 <tr><td colspan=" 8">No Logfiles</td></tr>44 <tr><td colspan="9">No Logfiles</td></tr> 45 45 </ng-template> 46 46 </tbody> -
src/mapservice-webclient/src/app/mygnuboat/logadd.component.html
ra88607b rf601952 19 19 </div> 20 20 <div class="pure-control-group"> 21 <label for="gauge Level" i18n="@@logEditGaugeLevel">Gauge Levelin metre:</label>22 <input #logGauge LevelInput ngModel formControlName='gaugeLevel' type='number' i18n-placeholder placeholder="Level as number with . as decimal seperator" required>23 <span *ngIf="logForm.controls['gauge Level'].errors" class="pure-form-message-inline" i18n="@@logGaugeLevelRequired">Level of gauge is required.</span>21 <label for="gaugeHeight" i18n="@@logEditGaugeHeight">Gauge Height (Stage) in metre:</label> 22 <input #logGaugeHeightInput ngModel formControlName='gaugeHeight' type='number' i18n-placeholder placeholder="Level as number with . as decimal seperator" required> 23 <span *ngIf="logForm.controls['gaugeHeight'].errors" class="pure-form-message-inline" i18n="@@logGaugeHeightRequired">Level of gauge is required.</span> 24 24 </div> 25 25 <div class="pure-control-group"> -
src/mapservice-webclient/src/app/mygnuboat/logadd.component.ts
ra88607b rf601952 88 88 device: [, Validators.required], 89 89 gauge: [, Validators.required], 90 gauge Level: [, Validators.required],90 gaugeHeight: [, Validators.required], 91 91 logfile: [, Validators.required], 92 92 comment: [], … … 198 198 logCreation.device = this.device.id; 199 199 logCreation.gauge = this.gauge.id; 200 logCreation.gauge Level = this.logForm.get('gaugeLevel').value;200 logCreation.gaugeHeight = this.logForm.get('gaugeHeight').value; 201 201 logCreation.comment = (this.logForm.get('comment').value == undefined) ? "" : this.logForm.get('comment').value; 202 202 -
src/mapservice-webclient/src/app/water/gauges.component.html
ra88607b rf601952 6 6 <th>Latitude</th> 7 7 <th>Longitude</th> 8 <th>Comment</th> 8 9 <th></th> 9 10 <th></th> … … 17 18 <td>{{decimalDegreesToDegreesMinutesSeconds(gauge.location[0], Coordinate.Longitude)}}</td> 18 19 <td> 20 <ng-container *ngIf="gauge.comment"> 21 {{gauge.comment}} 22 </ng-container> 23 </td> 24 <td> 19 25 <a *ngIf="currentUser" class="pure-button button-add" [routerLink]="['/mygnuboat/log/add']" [queryParams]="logParameter.getAddParameter(water, undefined, gauge)">Add Logfile</a> 20 26 </td> … … 25 31 </ng-container> 26 32 <ng-template #noGauges> 27 <tr><td colspan=" 4">No Gauges</td></tr>33 <tr><td colspan="6">No Gauges</td></tr> 28 34 </ng-template> 29 35 </tbody>
Note:
See TracChangeset
for help on using the changeset viewer.
