debian/bullseye
|
Last change
on this file was 0db5db4, checked in by Joachim Langenbach <joachim.langenbach@…>, 6 years ago |
|
Fixed build errors with angular 11
|
-
Property mode
set to
100644
|
|
File size:
1.7 KB
|
| Line | |
|---|
| 1 | <div class="header">
|
|---|
| 2 | <h1 i18n="@@wateraddTitle"><object data="/resources/gnuboat-water.svg" class="svg-icon"></object>Add a new Water</h1>
|
|---|
| 3 | <alert></alert>
|
|---|
| 4 | </div>
|
|---|
| 5 | <div class="content">
|
|---|
| 6 | <div class="pure-g">
|
|---|
| 7 | <div class="pure-u-2-3">
|
|---|
| 8 | <form class="pure-form pure-form-aligned" [formGroup]='watersForm' (ngSubmit)="addWater()">
|
|---|
| 9 | <fieldset>
|
|---|
| 10 | <div class="pure-control-group">
|
|---|
| 11 | <label for="name" i18n="@@waterAddName">Name:</label>
|
|---|
| 12 | <input #waterNameInput id="waterNameAutocomplete" formControlName='name' type="text" i18n-placeholder placeholder="Name of Water" required>
|
|---|
| 13 | <img *ngIf="isProcessingGnuBoat || isProcessingOverpass" class="processing" src="/resources/processing.svg" />
|
|---|
| 14 | <span *ngIf="watersForm.controls['name'].errors" class="pure-form-message-inline" i18n="@@waterNameRequired">Watername is required.</span>
|
|---|
| 15 | </div>
|
|---|
| 16 | <div class="pure-controls">
|
|---|
| 17 | <button [disabled]="!waterChoosen || !currentUser" *ngIf="!waterChoosen || waterChoosen.origin!=Origin.GNUBOAT" class="pure-button pure-button-primary button-add" i18n="@@waterButtonAdd">Add</button>
|
|---|
| 18 | <button [disabled]="!waterChoosen || !currentUser" *ngIf="waterChoosen && waterChoosen.origin==Origin.GNUBOAT" class="pure-button pure-button-primary button-add" i18n="@@waterButtonChoose">Choose</button>
|
|---|
| 19 | </div>
|
|---|
| 20 | </fieldset>
|
|---|
| 21 | </form>
|
|---|
| 22 | </div>
|
|---|
| 23 | <div class="pure-u-1-3">
|
|---|
| 24 | <img *ngIf="isProcessingRelation" class="processing" src="/resources/processing.svg" />
|
|---|
| 25 | <gnuboat-map #mapComponent [viewportStyleClass]='mapViewportStyleClass' [controlsShow]='mapControlsShow' [logoShow]='mapLogoShow' [logsShow]='mapLogsShow'></gnuboat-map>
|
|---|
| 26 | </div>
|
|---|
| 27 | </div>
|
|---|
| 28 | </div>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.