[tor-commits] [metrics-web/master] Avoid line breaks between checkboxes and labels.
karsten at torproject.org
karsten at torproject.org
Mon Jan 9 19:47:10 UTC 2017
commit 42101f8b41f069cf98e53c3e626550fde2fd7f47
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Mon Jan 9 20:45:37 2017 +0100
Avoid line breaks between checkboxes and labels.
Fixes #21175.
---
website/web/WEB-INF/graph.jsp | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/website/web/WEB-INF/graph.jsp b/website/web/WEB-INF/graph.jsp
index 4be02bd..59261a6 100644
--- a/website/web/WEB-INF/graph.jsp
+++ b/website/web/WEB-INF/graph.jsp
@@ -75,8 +75,9 @@
<p>
<b>Relay flags:</b>
<c:forEach var="row" items="${flag}">
- <input type="checkbox" name="flag" value="${row[0]}" id="flag_${row[0]}"${row[1]}>
- <label class="checkbox-label" for="flag_${row[0]}">${row[0]}</label>
+ <label class="checkbox-label">
+ <input type="checkbox" name="flag" value="${row[0]}"${row[1]}> ${row[0]}
+ </label>
</c:forEach>
</p>
</c:if>
@@ -105,8 +106,9 @@
<p>
<b>Source:</b>
<c:forEach var="row" items="${transport}">
- <input type="checkbox" name="transport" value="${row[0]}" id="transport_${row[0]}"${row[1]}>
- <label class="checkbox-label" for="transport_${row[0]}">${row[2]}</label>
+ <label class="checkbox-label">
+ <input type="checkbox" name="transport" value="${row[0]}"${row[1]}> ${row[2]}
+ </label>
</c:forEach>
</p>
</c:if>
More information about the tor-commits
mailing list