diff --git a/xCAT-web-exp/index.html b/xCAT-web-exp/index.html new file mode 100644 index 000000000..530e9270a --- /dev/null +++ b/xCAT-web-exp/index.html @@ -0,0 +1,178 @@ + + + +xCAT WebUI + + + + + + + + + + + +
Noderange:
+
+ +
+
+
+
+
+
+ +
+ + diff --git a/xCAT-web-exp/log.php b/xCAT-web-exp/log.php new file mode 100644 index 000000000..6988fd240 --- /dev/null +++ b/xCAT-web-exp/log.php @@ -0,0 +1,44 @@ +{'xcatresponse'}->{'data'})) { + $result="".$testcred->{'xcatresponse'}->{'data'}; + if (is_numeric(strpos("Authenticated",$result))) { + $_SESSION["xcatpassvalid"]=1; #proven good + } else { + $_SESSION["xcatpassvalid"]=0; #proven bad + } + } + } + } + $jdata=array(); + if (isset($_SESSION["xcatpassvalid"]) and $_SESSION["xcatpassvalid"]==1) { + $jdata["authenticated"]="yes"; + } else { + $jdata["authenticated"]="no"; + } + + echo json_encode($jdata); +?> +