aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/utils.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-07 16:00:47 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-07 16:00:47 +0800
commit61a4c0e1c490b4977fde2e97c13858494dfa84aa (patch)
tree2b03dc132d9376a7b2cf7305cd0648a8ba8e9ead /fg21sim/webui/utils.py
parentcae20fa89b395290ec8b47796da4775524845b1c (diff)
downloadfg21sim-61a4c0e1c490b4977fde2e97c13858494dfa84aa.tar.bz2
webui: small misc changes
* milligram.css: Remove the "sourceMappingURL" * main.js: Add "use strict"; * utils.py: Add a TODO task
Diffstat (limited to 'fg21sim/webui/utils.py')
-rw-r--r--fg21sim/webui/utils.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/fg21sim/webui/utils.py b/fg21sim/webui/utils.py
index 1cea69f..fbb2ade 100644
--- a/fg21sim/webui/utils.py
+++ b/fg21sim/webui/utils.py
@@ -3,6 +3,12 @@
"""
Utilities for the Web UI
+
+TODO:
+* Add a function to determine whether the two IPs are in the same sub-network.
+ References:
+ + Stackoverflow: How can I check if an IP is in a network in Python?
+ https://stackoverflow.com/q/819355/4856091
"""