From 61a4c0e1c490b4977fde2e97c13858494dfa84aa Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 7 Nov 2016 16:00:47 +0800 Subject: webui: small misc changes * milligram.css: Remove the "sourceMappingURL" * main.js: Add "use strict"; * utils.py: Add a TODO task --- fg21sim/webui/utils.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'fg21sim/webui/utils.py') 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 """ -- cgit v1.2.2