33< div class ="dashboard-view-page ">
44 < div class ="dashboard-header ">
55 < div class ="header-left ">
6- < button mat-icon-button (click) ="navigateBack() " matTooltip ="Back to dashboards ">
6+ < button type =" button " mat-icon-button (click) ="navigateBack() " matTooltip ="Back to dashboards ">
77 < mat-icon > arrow_back</ mat-icon >
88 </ button >
99 < div class ="header-info ">
@@ -22,11 +22,11 @@ <h1 class="mat-h1">{{ dashboard()?.name || 'Loading...' }}</h1>
2222 data-testid ="edit-mode-toggle ">
2323 Edit mode
2424 </ mat-slide-toggle >
25- < button mat-flat-button color ="primary "
25+ < button type =" button " mat-flat-button color ="primary "
2626 (click) ="openAddPanelDialog() "
2727 data-testid ="add-panel-button ">
2828 < mat-icon > add</ mat-icon >
29- Add chart
29+ Add panel
3030 </ button >
3131 </ div >
3232 }
@@ -41,11 +41,11 @@ <h1 class="mat-h1">{{ dashboard()?.name || 'Loading...' }}</h1>
4141 @if (!loading() && gridsterItems().length === 0) {
4242 < div class ="no-panels ">
4343 < mat-icon class ="no-panels-icon "> bar_chart</ mat-icon >
44- < h3 > No charts yet</ h3 >
45- < p > Add charts to visualize your data from saved queries.</ p >
46- < button mat-flat-button color ="primary " (click) ="openAddPanelDialog() ">
44+ < h3 > No panels yet</ h3 >
45+ < p > Add panels to visualize your data from saved queries.</ p >
46+ < button type =" button " mat-flat-button color ="primary " (click) ="openAddPanelDialog() ">
4747 < mat-icon > add</ mat-icon >
48- Add chart
48+ Add panel
4949 </ button >
5050 </ div >
5151 }
@@ -56,19 +56,19 @@ <h3>No charts yet</h3>
5656 < gridster-item [item] ="item " class ="panel-item " [class.edit-mode] ="editMode() ">
5757 < div class ="panel-header ">
5858 < span class ="panel-title "> {{ panelRef.savedQuery()?.name || 'Loading...' }}</ span >
59- < button mat-icon-button [matMenuTriggerFor] ="panelMenu " class ="panel-menu-button ">
59+ < button type =" button " mat-icon-button [matMenuTriggerFor] ="panelMenu " class ="panel-menu-button ">
6060 < mat-icon > more_vert</ mat-icon >
6161 </ button >
6262 < mat-menu #panelMenu ="matMenu ">
6363 < a mat-menu-item [routerLink] ="['/panels', connectionId(), item.widget.query_id] ">
6464 < mat-icon > tune</ mat-icon >
65- < span > Configure chart </ span >
65+ < span > Configure panel </ span >
6666 </ a >
67- < button mat-menu-item (click) ="openEditPanelDialog(item.widget) ">
67+ < button type =" button " mat-menu-item (click) ="openEditPanelDialog(item.widget) ">
6868 < mat-icon > swap_horiz</ mat-icon >
6969 < span > Change query</ span >
7070 </ button >
71- < button mat-menu-item (click) ="openDeletePanelDialog(item.widget) " class ="delete-action ">
71+ < button type =" button " mat-menu-item (click) ="openDeletePanelDialog(item.widget) " class ="delete-action ">
7272 < mat-icon color ="warn "> delete</ mat-icon >
7373 < span > Delete</ span >
7474 </ button >
0 commit comments