From fa55b7f146bceed4a85637f7747877a9c9ceebc6 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 21 Jun 2015 10:51:26 +0200 Subject: implemented start/stop in the web interface, disabling disabled workers --- src/index.html | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/src/index.html b/src/index.html index ed3d1fd..b25d1db 100644 --- a/src/index.html +++ b/src/index.html @@ -52,14 +52,18 @@ $.each( lines, function( ) { var fields = this.split( ' ' ); var type = fields[0]; - var name = fields[1]; - var status = fields[2]; if( type == "worker" ) { + var name = fields[1]; + var status = fields[2]; + var workertype = fields[3]; + var start_button = " -- cgit v1.2.3-54-g00ecf