forked from openaps/oref0
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New monitoring page on port 80 (openaps#863)
* Automate the steps to install flask as a service Automate the steps to install flask as a service so can monitoring your rig OFFLINE with an Offline web page IPHONE USERS To access this from an iphone browser, enter something like the following: http://172.20.10:5000 ex : http://IP_address__rig:5000 * Automate the steps to install flask as a service (openaps#839) Automate the steps to install flask as a service so can monitoring your rig OFFLINE with an Offline web page IPHONE USERS To access this from an iphone browser, enter something like the following: http://172.20.10:5000 ex : http://IP_address__rig:5000 * use port 8080 for flask to avoid conflicts * add meta refresh and title * Change the port of offline webpage to 5001 * Create new webpage offline to monitoring the rig. Change the port of FLASK to port 80. * Create new webpage offline to monitoring the rig. Change the port of FLASK to port 80. * should we add a flask.log? (openaps#850) * added check for custom OPENAPSDIR enviornment var (openaps#851) * added check for custom OPENAPSDIR enviornment var * change environment variable to OPENAPS_DIR * convert tabs to spaces * show Sensitivity Ratio in topbox instead of BASAL T * Add indexError.html to handle JSON Value error (openaps#848) * do openaps#849 manually * clearer error message * allow smartphones to zoom out to see the whole page un-scrunched * catch IOErrors too * make BG black * improve column layout * display 4h past and future * use suggested predBGs, not enacted * display Temp Targets * calculate and display BG delta * syntax * print BG delta correctly * shorter chart forecast legends * 70% scale; units * more readability improvements
- Loading branch information
1 parent
959981d
commit 6b1c6ca
Showing
11 changed files
with
19,107 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
body { | ||
background: white; | ||
color: black; | ||
} | ||
.row{margin: 10px} | ||
.bg{font-size:40px;font-weight:bold} | ||
.delta,.timeago-bg{font-size:14px;} | ||
|
||
.topbox{ | ||
font-size:20px; | ||
background-color:#cccccc; | ||
border-radius:8px; | ||
margin: 13px 0 10px; | ||
} | ||
|
||
.box2{ | ||
background-color:#cccccc; | ||
border-radius:8px; | ||
margin:0px 10px; | ||
} | ||
|
||
.delta-box{ | ||
padding:30px 0 0 0; | ||
} | ||
|
||
@media (max-device-width:768px) { | ||
.delta-box{ | ||
padding:0; | ||
} | ||
} |
Oops, something went wrong.