File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 75
75
</ div >
76
76
< div class ="separator-vertical "> < span > </ span > </ div >
77
77
< i class ="btn bi-power text-muted p-2 m-1 mx-2 " title ="Shut down the Helm Dashboard application "> </ i >
78
+
79
+ <!-- Modal -->
80
+ < div class ="modal fade " id ="PowerOffModal " tabindex ="-1 " aria-labelledby ="ModalLabel " aria-hidden ="true ">
81
+ < div class ="modal-dialog ">
82
+ < div class ="modal-content ">
83
+ < div class ="modal-header ">
84
+ < h5 class ="modal-title " id ="ModalLabel "> Message</ h5 >
85
+ < button type ="button " class ="btn-close " data-bs-dismiss ="modal " aria-label ="Close "> </ button >
86
+ </ div >
87
+ < div class ="modal-body ">
88
+ Close this browser tab now.
89
+ </ div >
90
+ < div class ="modal-footer ">
91
+ < button type ="button " class ="btn btn-secondary " data-bs-dismiss ="modal "> Close</ button >
92
+ </ div >
93
+ </ div >
94
+ </ div >
95
+ </ div >
78
96
</ div >
79
97
</ nav >
80
98
<!-- /TOP BAR -->
Original file line number Diff line number Diff line change @@ -265,6 +265,7 @@ $(".bi-power").click(function () {
265
265
type : 'DELETE' ,
266
266
} ) . done ( function ( ) {
267
267
// TODO: display explanation overlay here
268
+ $ ( "#PowerOffModal" ) . modal ( 'show' ) ;
268
269
window . close ( ) ;
269
270
} )
270
271
} )
You can’t perform that action at this time.
0 commit comments