WANG %!s(int64=5) %!d(string=hai) anos
pai
achega
7d0d91c8aa
Modificáronse 1 ficheiros con 22 adicións e 22 borrados
  1. 22 22
      src/main/resources/api-status.html

+ 22 - 22
src/main/resources/api-status.html

@@ -9,36 +9,36 @@
 	}
 </script>
 </head>
-<body>
-	<table style="border: 1px solid blue;" border="1" cellspacing="0">
+<body style="text-align: center;">
+	<table style="border: 1px solid blue;" border="1" cellspacing="0" align="center">
 		<caption>date: ${dateTime?string('yyyy-MM-dd HH:mm:ss')}</caption>
 		<tr>
-			<th rowspan="2" onclick="order('mapping')">mapping</th>
-			<th rowspan="2" onclick="order('description')">description</th>
-			<th rowspan="2" onclick="order('count')">total</th>
+			<th rowspan="2" onclick="order('mapping')" style="cursor: pointer;">mapping</th>
+			<th rowspan="2" onclick="order('description')" style="cursor: pointer;">description</th>
+			<th rowspan="2" onclick="order('count')" style="cursor: pointer;">total</th>
 			<th colspan="4">rate (calls/s)</th>
 			<th colspan="3">cost (ms)</th>
 			<th colspan="5">Line (<= ms)</th>
-			<th rowspan="2" onclick="order('exceptionCount')">error</th>
+			<th rowspan="2" onclick="order('exceptionCount')" style="cursor: pointer;">error</th>
 			<th colspan="5">error percent (%)</th>
 		</tr>
 		<tr style="">
-			<th onclick="order('meanRate')">mean</th>
-			<th onclick="order('oneMinuteRate')">1-min</th>
-			<th onclick="order('fiveMinuteRate')">5-min</th>
-			<th onclick="order('fifteenMinuteRate')">15-min</th>
-			<th onclick="order('min')">min</th>
-			<th onclick="order('max')">max</th>
-			<th onclick="order('mean')">mean</th>
-			<th onclick="order('p50')">50%</th>
-			<th onclick="order('p75')">75%</th>
-			<th onclick="order('p95')">95%</th>
-			<th onclick="order('p98')">98%</th>
-			<th onclick="order('p99')">99%</th>
-			<th onclick="order('exceptionMeanPercent')">mean</th>
-			<th onclick="order('exceptionOneMinutePercent')">1-min</th>
-			<th onclick="order('exceptionFiveMinutePercent')">5-min</th>
-			<th onclick="order('exceptionFifteenMinutePercent')">15-min</th>
+			<th onclick="order('meanRate')" style="cursor: pointer;">mean</th>
+			<th onclick="order('oneMinuteRate')" style="cursor: pointer;">1-min</th>
+			<th onclick="order('fiveMinuteRate')" style="cursor: pointer;">5-min</th>
+			<th onclick="order('fifteenMinuteRate')" style="cursor: pointer;">15-min</th>
+			<th onclick="order('min')" style="cursor: pointer;">min</th>
+			<th onclick="order('max')" style="cursor: pointer;">max</th>
+			<th onclick="order('mean')" style="cursor: pointer;">mean</th>
+			<th onclick="order('p50')" style="cursor: pointer;">50%</th>
+			<th onclick="order('p75')" style="cursor: pointer;">75%</th>
+			<th onclick="order('p95')" style="cursor: pointer;">95%</th>
+			<th onclick="order('p98')" style="cursor: pointer;">98%</th>
+			<th onclick="order('p99')" style="cursor: pointer;">99%</th>
+			<th onclick="order('exceptionMeanPercent')" style="cursor: pointer;">mean</th>
+			<th onclick="order('exceptionOneMinutePercent')" style="cursor: pointer;">1-min</th>
+			<th onclick="order('exceptionFiveMinutePercent')" style="cursor: pointer;">5-min</th>
+			<th onclick="order('exceptionFifteenMinutePercent')" style="cursor: pointer;">15-min</th>
 		</tr>
 		<#list data as cur>
 		<tr>