[tor-commits] [metrics-web/master] Tweak layout of start and end dates.

karsten at torproject.org karsten at torproject.org
Mon Jan 9 17:03:42 UTC 2017


commit 7e96562306fa91cacd0a7ee2b006778c341fa8c8
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Thu Dec 22 11:42:45 2016 +0100

    Tweak layout of start and end dates.
---
 website/web/WEB-INF/graph.jsp | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/website/web/WEB-INF/graph.jsp b/website/web/WEB-INF/graph.jsp
index 1299b6a..d6f69bf 100644
--- a/website/web/WEB-INF/graph.jsp
+++ b/website/web/WEB-INF/graph.jsp
@@ -43,16 +43,14 @@
 <form action="${id}.html">
     <c:if test="${fn:length(start) > 0}">
       <p>
-        <label>Start date (yyyy-mm-dd):
-          <input type="text" name="start" size="10" value="${start[0]}">
-        </label>
+        <label for="start">Start date:</label>
+        <input type="text" name="start" size="10" value="${start[0]}" placeholder="yyyy-mm-dd" id="start">
       </p>
     </c:if>
     <c:if test="${fn:length(end) > 0}">
       <p>
-        <label>End date (yyyy-mm-dd):
-          <input type="text" name="end" size="10" value="${end[0]}">
-        </label>
+        <label for="end">End date:</label>
+        <input type="text" name="end" size="10" value="${end[0]}" placeholder="yyyy-mm-dd" id="end">
       </p>
     </c:if>
     <c:if test="${fn:length(p) > 0}">





More information about the tor-commits mailing list