From 2eb16c63689f12245fcbaf863705ddc745951f8c Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Tue, 25 Oct 2016 11:37:50 +0200 Subject: Add sub date in TODO --- modules/todo/todo.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules/todo') diff --git a/modules/todo/todo.html b/modules/todo/todo.html index ae13163..47bf07d 100644 --- a/modules/todo/todo.html +++ b/modules/todo/todo.html @@ -83,6 +83,11 @@ function tablerowfor(task){ e.classList.add("taskdate"); e.appendChild(document.createTextNode(fancydate(task.date))); e.setAttribute("title",task.date.toString()); + e.appendChild(document.createElement("br")); + var e2=document.createElement("span"); + e2.classList.add("subdate"); + e2.appendChild(document.createTextNode(task.date.toString())); + e.appendChild(e2); float.appendChild(e); e=document.createElement("span"); @@ -204,12 +209,17 @@ body{ display:inline-block; cursor:help; } +.subdate{ + color:#ccc; + font-size:8px; +} .taskdelete{ margin-left:60px; font-size:10px; font-family:sans-serif; color:red; cursor:pointer; + vertical-align:top; } #addtaskform{ border:1px #ddd solid; -- cgit v1.2.3-70-g09d2