2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-11 13:10:41 +00:00
RTL/src/app/lnd/routing/routing.component.html

43 lines
2.7 KiB
HTML
Raw Normal View History

2019-12-02 22:21:49 +00:00
<div fxLayout="column">
<div fxLayout="row" fxLayoutAlign="start center" class="page-title-container">
<fa-icon [icon]="faMapSigns" class="page-title-img mr-1"></fa-icon>
2019-12-02 22:21:49 +00:00
<span class="page-title">Routing</span>
</div>
<div fxLayout="row" fxFlex="100" fxLayoutAlign="start start" class="padding-gap-x">
<mat-card fxLayout="row" fxFlex="100" fxLayoutAlign="start start">
<mat-card-content fxLayout="column" fxFlex="100" fxLayoutAlign="start stretch" class="card-content-gap mt-1">
<form fxFlex="100" fxLayout="column" fxLayout.gt-sm="row wrap" fxLayoutAlign.gt-sm="space-between center" fxLayoutAlign="start stretch" class="w-100 mb-1" (ngSubmit)="onEventsFetch()" #routingForm="ngForm">
2019-12-18 21:41:04 +00:00
<div fxFlex="100" fxLayoutAlign="space-between stretch">
2019-12-02 22:21:49 +00:00
<mat-form-field fxFlex="49" fxLayoutAlign="start">
<input matInput [matDatepicker]="startDatepicker" placeholder="Start Date" [max]="today"
2019-12-02 22:21:49 +00:00
name="startDate" [(ngModel)]="startDate" tabindex="1" #strtDate="ngModel">
<mat-datepicker-toggle matSuffix [for]="startDatepicker"></mat-datepicker-toggle>
<mat-datepicker #startDatepicker [startAt]="startDate"></mat-datepicker>
<mat-error *ngIf="strtDate.errors">Invalid date format.</mat-error>
2019-12-02 22:21:49 +00:00
</mat-form-field>
<mat-form-field fxFlex="49" fxLayoutAlign="start">
<input matInput [matDatepicker]="endDatepicker" [min]="startDate" [max]="today" placeholder="End Date" name="endDate"
2019-12-02 22:21:49 +00:00
[(ngModel)]="endDate" tabindex="2" #enDate="ngModel">
<mat-datepicker-toggle matSuffix [for]="endDatepicker"></mat-datepicker-toggle>
<mat-datepicker #endDatepicker [startAt]="endDate"></mat-datepicker>
<mat-error *ngIf="enDate.errors">Invalid date format.</mat-error>
2019-12-02 22:21:49 +00:00
</mat-form-field>
</div>
<div fxLayout="row" class="mt-2">
<button class="mr-1" mat-stroked-button color="primary" tabindex="3" type="reset" (click)="resetData()">Clear</button>
<button mat-flat-button color="primary" type="submit" tabindex="4">Fetch Events</button>
2019-12-02 22:21:49 +00:00
</div>
</form>
<div fxLayout="row" fxFlex="100">
<nav mat-tab-nav-bar fxFlex="100">
<div role="tab" mat-tab-link *ngFor="let link of links" class="mat-tab-label" [active]="activeLink === link.link" (click)="activeLink = link.link" routerLink="{{link.link}}">{{link.name}}</div>
</nav>
</div>
<div fxLayout="column" fxFlex="100" fxLayoutAlign="start stretch">
<router-outlet></router-outlet>
2019-12-02 22:21:49 +00:00
</div>
</mat-card-content>
</mat-card>
</div>
</div>