diff --git a/sorteerhoed/webserver.py b/sorteerhoed/webserver.py index 74d87e3..3e0f6d2 100644 --- a/sorteerhoed/webserver.py +++ b/sorteerhoed/webserver.py @@ -186,7 +186,7 @@ class StatusWebSocketHandler(tornado.websocket.WebSocketHandler): # the client connected def open(self, p = None): self.__class__.connections.add(self) - for prop, value in enumerate(self.statusPage.__dict__): + for prop, value in self.statusPage.__dict__.items(): self.write_message(json.dumps({ 'property': prop, 'value': value.isoformat(timespec='seconds') if type(value) is datetime.datetime else value diff --git a/www/worker_specs/index.html b/www/worker_specs/index.html index 0550be6..5f8d9fe 100644 --- a/www/worker_specs/index.html +++ b/www/worker_specs/index.html @@ -19,8 +19,11 @@ -->
+ human intelligent task id +   + human worker id -  it +   ip address   location @@ -30,8 +33,6 @@ os   - human intelligent task id -   task started at   task status diff --git a/www/worker_specs/style.css b/www/worker_specs/style.css index 1f398bd..8b97640 100644 --- a/www/worker_specs/style.css +++ b/www/worker_specs/style.css @@ -11,7 +11,7 @@ :root{ - --base-font-size: 25px; + --base-font-size: 22px; --spec_name-font-size: 120%; --spec_value-font-size: 250%; @@ -20,10 +20,10 @@ /* /////// GAT VOORKANT PLEK & POSITIE //////// */ /* */ /* */ - /* */ --pos-x: calc(50% - (var(--width)/2)); /* */ - /* */ --pos-y: 200px; /* */ - /* */ --width: 560px; /* 115mm */ - /* */ --height: 1250px; /* 260mm */ + /* */ --pos-x: 555px; /* */ + /* */ --pos-y: 120px; /* */ + /* */ --width: 420px; /* 115mm */ + /* */ --height: 1000px; /* 270mm */ /* */ /* */ /* //////////////////////////////////////////// */ @@ -38,7 +38,7 @@ html, body{ font-family: 'bebas'; font-size: var(--base-font-size); line-height: 1.1; - background: #000; + background: var(--alt-color); overflow: hidden; }