2019-12-02 22:21:49 +00:00
< div fxLayout = "column" >
2020-12-20 23:36:04 +00:00
< div fxLayout = "row" fxLayoutAlign = "start center" class = "page-title-container" >
2019-12-26 01:13:21 +00:00
< 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" >
2020-12-20 23:36:04 +00:00
< mat-card-content fxLayout = "column" fxFlex = "100" fxLayoutAlign = "start stretch" class = "card-content-gap mt-1" >
2019-12-31 00:39:17 +00:00
< 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" >
2020-12-20 23:36:04 +00:00
< 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 >
2020-12-20 23:36:04 +00:00
< 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" >
2020-12-20 23:36:04 +00:00
< 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 >
2020-12-20 23:36:04 +00:00
< mat-error * ngIf = "enDate.errors" > Invalid date format.< / mat-error >
2019-12-02 22:21:49 +00:00
< / mat-form-field >
< / div >
2020-05-03 19:52:38 +00:00
< 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 >
2020-12-20 23:36:04 +00:00
< 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 >
2019-12-02 03:46:30 +00:00
< / div >