File tree Expand file tree Collapse file tree 2 files changed +18
-22
lines changed
plugins/arcgis/web-app/projects/main/src/lib/arc-event Expand file tree Collapse file tree 2 files changed +18
-22
lines changed Original file line number Diff line number Diff line change 1- < div class ="arc-event ">
2- < mat-card appearance ="outlined ">
3- < mat-card-header >
1+ < div >
2+ < mat-card appearance ="outlined ">
43 < mat-card-title > Events</ mat-card-title >
54 < mat-card-subtitle > Change the ArcGIS layers each MAGE event sends its observations to.</ mat-card-subtitle >
6- </ mat-card-header >
75 < mat-card-content >
86 < section class ="arc-event-sync ">
97 < div *ngIf ="!model.events.length ">
1513 < ng-container *ngFor ="let event of model.events; let last = last ">
1614 < mat-list-item class ="arcEvent ">
1715 < div class ="arcEvent__info ">
18- < a href ="/#/admin/events/{{event.id}} " target ="_blank "> {{event.name}}</ a >
19-
16+ < div >
17+ {{ event.name }}
18+ </ div >
2019 < div *ngIf ="event.layers.length; else noLayers ">
2120 < div >
2221 < ng-container *ngFor ="let featureLayer of event.layers; let i = index ">
2928 < div > This event is not synchronizing to any ArcGIS layers.</ div >
3029 </ ng-template >
3130 </ div >
32- < div class ="arcEvent__edit ">
33- < button mat-button color ="primary " (click) ="onEditEvent(event) "> Edit</ button >
31+ < div class ="arcEvent__icons ">
32+ < a mat-icon-button color ="primary " href ="/#/admin/events/{{event.id}} " target ="_blank ">
33+ < mat-icon > open_in_new</ mat-icon >
34+ </ a >
35+ < button mat-icon-button color ="primary " (click) ="onEditEvent(event) ">
36+ < mat-icon > edit</ mat-icon >
37+ </ button >
3438 </ div >
3539 </ mat-list-item >
3640 < mat-divider *ngIf ="!last "> </ mat-divider >
3741 </ ng-container >
38- </ mat-list >
42+ </ mat-list >
3943 </ section >
4044 </ mat-card-content >
4145 </ mat-card >
Original file line number Diff line number Diff line change 1- .arcEvent {
2- display : flex ;
3- justify-content : space-between ;
4- align-items : center ;
5- margin-top : 16px ;
1+ .arcEvent__info {
2+ flex-grow : 1 ;
63}
74
8- .arc-event {
9- mat-card-subtitle {
10- margin-bottom : 0px ;
11- }
12- }
13-
14- .arcEvent__info {
15- flex-grow : 1 ;
5+ .mat-divider {
6+ margin-top : 12px ;
7+ margin-bottom : 12px ;
168}
You can’t perform that action at this time.
0 commit comments