Commits

Florent Angebault  committed 90f8fde

Columns width more approrpriate for small screens.

  • Participants
  • Parent commits 73e65c9

Comments (0)

Files changed (1)

File pyramid_perfstat/templates/reporting.mako

 	border: 1px solid #FFF;
 	font-size: 8pt;
 	padding: 4px;
+	padding-right: 20px;
 }
 table.tablesorter thead tr .header {
 	background-image: url(${static_path}images/bg.gif);
 #perf_routes_reporting_table tbody td:nth-child(1),
 #perf_urls_reporting_table   tbody td:nth-child(1) {
 	width: 5%;
+	min-width: 50px;
 }
 
 #perf_views_reporting_table  tbody td:nth-child(2),
 #perf_urls_reporting_table   tbody td:nth-child(2) {
 	text-align: right;
 	width: 5%;
+	min-width: 50px;
 }
 
 #perf_views_reporting_table  tbody td:nth-child(3),
 #perf_routes_reporting_table tbody td:nth-child(3),
 #perf_urls_reporting_table   tbody td:nth-child(3) {
 	width: 5%;
+	min-width: 50px;
 }
 
 #perf_views_reporting_table  tbody td:nth-child(5),
 #perf_routes_reporting_table tbody td:nth-child(7) {
 	width: 5%;
+	min-width: 50px;
 }
 -->
 		</style>
 			<thead>
 				<tr>
 					<th>id</th>
-					<th>average time (ms)</th>
+					<th>avg&#160;time&#160;(ms)</th>
 					<th>category</th>
 					<th>matched view name</th>
 					<th>view count</th>
 			<thead>
 				<tr>
 					<th>id</th>
-					<th>average time (ms)</th>
+					<th>avg&#160;time&#160;(ms)</th>
 					<th>category</th>
 					<th>requested url</th>
 					<th>matched route name</th>
 			<thead>
 				<tr>
 					<th>id</th>
-					<th>average time (ms)</th>
+					<th>avg&#160;time&#160;(ms)</th>
 					<th>category</th>
 					<th>requested url</th>
 				</tr>