فهرست منبع

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 dlColor="#6060AA",
-	ulColor="#309030";
+	ulColor="#616161";
 var progColor=meterBk;
 
 //CODE FOR GAUGES
@@ -384,12 +384,12 @@ function initUI(){
 		<div class="testGroup">
             <div class="testArea2">
 				<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>
 			<div class="testArea2">
 				<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>
 		</div>
@@ -445,6 +445,10 @@ function initUI(){
         </ul>
         No personal information is disclosed to third parties.
     </p>
+    <h4>Your consent</h4>
+    <p>
+        By starting the test, you consent to the terms of this privacy policy.
+    </p>
     <h4>Data removal</h4>
     <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/>

+ 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 dlColor="#6060AA",
-	ulColor="#309030";
+	ulColor="#616161";
 var progColor=meterBk;
 
 //CODE FOR GAUGES
@@ -277,12 +277,12 @@ function initUI(){
 		<div class="testGroup">
 			<div class="testArea2">
 				<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>
 			<div class="testArea2">
 				<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>
 		</div>
@@ -338,6 +338,10 @@ function initUI(){
         </ul>
         No personal information is disclosed to third parties.
     </p>
+    <h4>Your consent</h4>
+    <p>
+        By starting the test, you consent to the terms of this privacy policy.
+    </p>
     <h4>Data removal</h4>
     <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/>

+ 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 dlColor="#6060AA",
-	ulColor="#309030";
+	ulColor="#616161";
 var progColor=meterBk;
 
 //CODE FOR GAUGES
@@ -228,12 +228,12 @@ function initUI(){
         <div class="testGroup">
 			<div class="testArea2">
 				<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>
 			<div class="testArea2">
 				<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>
 		</div>