File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22< html lang ="en ">
33< head >
44 < meta charset ="utf-8 ">
5- < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6- < meta http-equiv ="refresh " content ="30 ">
5+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
76 < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
87 < meta name ="description " content ="A SQL Server Integration Services monitoring dashboard ">
98
9190
9291 <!-- Page-Specific JavaScript -->
9392 {% block pagejs %}{% endblock %}
93+
94+ < script lang ="JavaScript ">
95+
96+ var timeOut ;
97+
98+ function reloadPage ( ) {
99+ timeOut = setTimeout ( function ( ) {
100+ location . reload ( ) ;
101+ } , 30000 ) ;
102+ }
103+
104+ $ ( function ( ) {
105+ reloadPage ( ) ;
106+
107+ $ ( document ) . click ( function ( e ) {
108+ clearTimeout ( timeOut ) ;
109+ timeOut = reloadPage ( ) ;
110+ } ) ;
111+ } ) ;
112+
113+
114+
115+ </ script >
94116</ body >
95117</ html >
Original file line number Diff line number Diff line change 88from dashboard import app
99
1010# Set app version
11- version = "0.6.7 (beta)"
11+ version = "0.6.8 (beta)"
1212
1313# Define routes
1414@app .route ('/' )
Original file line number Diff line number Diff line change 1+ set FLASK_APP = dashboard\__init__.py
2+ flask run
You can’t perform that action at this time.
0 commit comments