소스 검색

Updated examples for better consistency

dosse91 6 년 전
부모
커밋
19c19ac088
3개의 변경된 파일17개의 추가작업 그리고 9개의 파일을 삭제
  1. 7 3
      example-multipleServers-full.html
  2. 7 3
      example-singleServer-full.html
  3. 3 3
      example-singleServer-gauges.html

+ 7 - 3
example-multipleServers-full.html

@@ -59,7 +59,7 @@ function initServers(){
 
 
 var meterBk=/Trident.*rv:(\d+\.\d+)/i.test(navigator.userAgent)?"#EAEAEA":"#80808040";
 var meterBk=/Trident.*rv:(\d+\.\d+)/i.test(navigator.userAgent)?"#EAEAEA":"#80808040";
 var dlColor="#6060AA",
 var dlColor="#6060AA",
-	ulColor="#309030";
+	ulColor="#616161";
 var progColor=meterBk;
 var progColor=meterBk;
 
 
 //CODE FOR GAUGES
 //CODE FOR GAUGES
@@ -384,12 +384,12 @@ function initUI(){
 		<div class="testGroup">
 		<div class="testGroup">
             <div class="testArea2">
             <div class="testArea2">
 				<div class="testName">Ping</div>
 				<div class="testName">Ping</div>
-				<div id="pingText" class="meterText"></div>
+				<div id="pingText" class="meterText" style="color:#AA6060"></div>
 				<div class="unit">ms</div>
 				<div class="unit">ms</div>
 			</div>
 			</div>
 			<div class="testArea2">
 			<div class="testArea2">
 				<div class="testName">Jitter</div>
 				<div class="testName">Jitter</div>
-				<div id="jitText" class="meterText"></div>
+				<div id="jitText" class="meterText" style="color:#AA6060"></div>
 				<div class="unit">ms</div>
 				<div class="unit">ms</div>
 			</div>
 			</div>
 		</div>
 		</div>
@@ -445,6 +445,10 @@ function initUI(){
         </ul>
         </ul>
         No personal information is disclosed to third parties.
         No personal information is disclosed to third parties.
     </p>
     </p>
+    <h4>Your consent</h4>
+    <p>
+        By starting the test, you consent to the terms of this privacy policy.
+    </p>
     <h4>Data removal</h4>
     <h4>Data removal</h4>
     <p>
     <p>
         If you want to have your information deleted, you need to provide either the ID of the test or your IP address. This is the only way to identify your data, without this information we won't be able to comply with your request.<br/><br/>
         If you want to have your information deleted, you need to provide either the ID of the test or your IP address. This is the only way to identify your data, without this information we won't be able to comply with your request.<br/><br/>

+ 7 - 3
example-singleServer-full.html

@@ -13,7 +13,7 @@ s.setParameter("telemetry_level","basic"); //enable telemetry
 
 
 var meterBk=/Trident.*rv:(\d+\.\d+)/i.test(navigator.userAgent)?"#EAEAEA":"#80808040";
 var meterBk=/Trident.*rv:(\d+\.\d+)/i.test(navigator.userAgent)?"#EAEAEA":"#80808040";
 var dlColor="#6060AA",
 var dlColor="#6060AA",
-	ulColor="#309030";
+	ulColor="#616161";
 var progColor=meterBk;
 var progColor=meterBk;
 
 
 //CODE FOR GAUGES
 //CODE FOR GAUGES
@@ -277,12 +277,12 @@ function initUI(){
 		<div class="testGroup">
 		<div class="testGroup">
 			<div class="testArea2">
 			<div class="testArea2">
 				<div class="testName">Ping</div>
 				<div class="testName">Ping</div>
-				<div id="pingText" class="meterText"></div>
+				<div id="pingText" class="meterText" style="color:#AA6060"></div>
 				<div class="unit">ms</div>
 				<div class="unit">ms</div>
 			</div>
 			</div>
 			<div class="testArea2">
 			<div class="testArea2">
 				<div class="testName">Jitter</div>
 				<div class="testName">Jitter</div>
-				<div id="jitText" class="meterText"></div>
+				<div id="jitText" class="meterText" style="color:#AA6060"></div>
 				<div class="unit">ms</div>
 				<div class="unit">ms</div>
 			</div>
 			</div>
 		</div>
 		</div>
@@ -338,6 +338,10 @@ function initUI(){
         </ul>
         </ul>
         No personal information is disclosed to third parties.
         No personal information is disclosed to third parties.
     </p>
     </p>
+    <h4>Your consent</h4>
+    <p>
+        By starting the test, you consent to the terms of this privacy policy.
+    </p>
     <h4>Data removal</h4>
     <h4>Data removal</h4>
     <p>
     <p>
         If you want to have your information deleted, you need to provide either the ID of the test or your IP address. This is the only way to identify your data, without this information we won't be able to comply with your request.<br/><br/>
         If you want to have your information deleted, you need to provide either the ID of the test or your IP address. This is the only way to identify your data, without this information we won't be able to comply with your request.<br/><br/>

+ 3 - 3
example-singleServer-gauges.html

@@ -12,7 +12,7 @@ var s=new Speedtest(); //create speedtest object
 
 
 var meterBk=/Trident.*rv:(\d+\.\d+)/i.test(navigator.userAgent)?"#EAEAEA":"#80808040";
 var meterBk=/Trident.*rv:(\d+\.\d+)/i.test(navigator.userAgent)?"#EAEAEA":"#80808040";
 var dlColor="#6060AA",
 var dlColor="#6060AA",
-	ulColor="#309030";
+	ulColor="#616161";
 var progColor=meterBk;
 var progColor=meterBk;
 
 
 //CODE FOR GAUGES
 //CODE FOR GAUGES
@@ -228,12 +228,12 @@ function initUI(){
         <div class="testGroup">
         <div class="testGroup">
 			<div class="testArea2">
 			<div class="testArea2">
 				<div class="testName">Ping</div>
 				<div class="testName">Ping</div>
-				<div id="pingText" class="meterText"></div>
+				<div id="pingText" class="meterText" style="color:#AA6060"></div>
 				<div class="unit">ms</div>
 				<div class="unit">ms</div>
 			</div>
 			</div>
 			<div class="testArea2">
 			<div class="testArea2">
 				<div class="testName">Jitter</div>
 				<div class="testName">Jitter</div>
-				<div id="jitText" class="meterText"></div>
+				<div id="jitText" class="meterText" style="color:#AA6060"></div>
 				<div class="unit">ms</div>
 				<div class="unit">ms</div>
 			</div>
 			</div>
 		</div>
 		</div>