diff --git a/Bench4Q-Web/src/main/webapp/css/script-editor.css b/Bench4Q-Web/src/main/webapp/css/script-editor.css
index a19bb5aa..79c06549 100644
--- a/Bench4Q-Web/src/main/webapp/css/script-editor.css
+++ b/Bench4Q-Web/src/main/webapp/css/script-editor.css
@@ -10,9 +10,8 @@ button {
.containerBox {
width: 80%;
- border: 1px solid #d5d5d5;
+ border: 1px solid #888888;
color: #212121;
- margin-top: 20px;
margin-left: auto;
margin-right: auto;
margin-bottom: 20px;
@@ -20,24 +19,85 @@ button {
.containerBox .header {
border-bottom: 1px solid #c5d5dd;
+ height: 25px;
+ line-height: 25px;
padding-left: 10px;
padding-top: 3px;
font-weight: bold;
text-shadow: 0 1px white;
- background: #e5eecc;
+ /* background: #e5eecc; */
+ background: #F6F6EA;
+ box-shadow: 3px 3px 3px #888888;
border-top-right-radius: 4px;
border-top-left-radius: 4px;
color: #3a505b;
+ border-top-right-radius: 4px;
+}
+
+.containerBox .header img {
+ src: images/device.png;
+ height: 36;
+}
+
+.separator {
+ width: 80%;
+ border: 1px solid #d5d5d5;
+ border-top: 3px solid #212121;
+ color: #212121;
+ margin-top: 20px;
+ margin-left: auto;
+ margin-right: auto;
+ height: 50px;
+ line-height: 50px;
+ background: #f7f7f7;
+ text-align: center;
+}
+
+.separator label {
+ margin-right: 10px;
+ font-weight: bold;
+ font-size: 25px;
+ font-weight: bold;
+}
+
+.separator input {
+ width: 100px;
+ height: 25px;
+ font-weight: bold;
+ font-size: 25px;
+ font-weight: bold;
}
.editor {
- background: #f7f7f7;;
+ background: #f7f7f7;
padding-left: 10px;
padding-right: 30px;
padding-top: 10px;
padding-bottom: 10px;
}
+.action {
+ background-color: #8AC007;
+ font-weight: bold;
+ font-size: 12px;
+ text-align: center;
+ padding-left: 10px;
+ padding-right: 10px;
+ padding-top: 3px;
+ padding-bottom: 4px;
+ text-decoration: none;
+ border-radius: 5px;
+ white-space: nowrap;
+ float:right;
+ color:#FFFFFF;
+}
+.booter{
+ width: 80%;
+ margin-left: auto;
+ margin-right: auto;
+ margin-bottom: 20px;
+
+}
tr,thead {
width: 100%;
}
diff --git a/Bench4Q-Web/src/main/webapp/device.jsp b/Bench4Q-Web/src/main/webapp/device.jsp
index fba360ed..a5f276f2 100644
--- a/Bench4Q-Web/src/main/webapp/device.jsp
+++ b/Bench4Q-Web/src/main/webapp/device.jsp
@@ -27,15 +27,18 @@ body {
diff --git a/Bench4Q-Web/src/main/webapp/images/device.png b/Bench4Q-Web/src/main/webapp/images/device.png new file mode 100644 index 00000000..870b6304 Binary files /dev/null and b/Bench4Q-Web/src/main/webapp/images/device.png differ diff --git a/Bench4Q-Web/src/main/webapp/lib/HashMap/HashMap.js b/Bench4Q-Web/src/main/webapp/lib/HashMap/HashMap.js new file mode 100644 index 00000000..7c6ae755 --- /dev/null +++ b/Bench4Q-Web/src/main/webapp/lib/HashMap/HashMap.js @@ -0,0 +1,63 @@ +function HashMap() { + this.arrKey = new Array(); + this.arrValue = new Array(); + + this.exists = function(strKey) { + /*strKey = strKey.toUpperCase();*/ + for (var i = 0; i < this.arrKey.length; i++) { + if (this.arrKey[i] == strKey) { + return true; + } + } + return false; + }; + this.length = function() { + return this.arrKey.length; + }; + + this.put = function(strKey, objValue) { + /*strKey = strKey.toUpperCase();*/ + for (var i = 0; i < this.arrKey.length; i++) { + if (this.arrKey[i] == strKey) { + this.arrValue[i] = objValue; + return; + } + } + this.arrKey[this.arrKey.length] = strKey; + this.arrValue[this.arrValue.length] = objValue; + }; + + this.get = function(strKey) { + /*strKey = strKey.toUpperCase();*/ + for (var i = 0; i < this.arrKey.length; i++) { + if (this.arrKey[i] == strKey) { + return this.arrValue[i]; + } + } + return null; + }; + + this.remove = function(strKey) { + /*strKey = strKey.toUpperCase();*/ + for (var i = 0; i < this.arrKey.length; i++) { + if (this.arrKey[i] == strKey) { + this.arrKey.splice(i, 1); + this.arrValue.splice(i, 1); + return; + } + } + }; + + this.getKeys = function() { + return this.arrKey; + }; + + this.getValues = function() { + return this.arrValue; + }; + + this.clear = function(){ + this.arrKey.splice(0, this.arrKey.length); + this.arrValue.splice(0, this.arrValue.length); + }; +} \ No newline at end of file diff --git a/Bench4Q-Web/src/main/webapp/plugin-old.jsp b/Bench4Q-Web/src/main/webapp/plugin-old.jsp deleted file mode 100644 index 7dbd65ca..00000000 --- a/Bench4Q-Web/src/main/webapp/plugin-old.jsp +++ /dev/null @@ -1,278 +0,0 @@ - -<%@ page language="java" contentType="text/html; charset=UTF-8" - pageEncoding="UTF-8"%> - -
-<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> - -
- - - - - - - - - - - - - - - - - - -
-