diff options
Diffstat (limited to 'data/empathy-log-window.html')
-rw-r--r-- | data/empathy-log-window.html | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/data/empathy-log-window.html b/data/empathy-log-window.html index db93240b5..d466c9117 100644 --- a/data/empathy-log-window.html +++ b/data/empathy-log-window.html @@ -12,6 +12,7 @@ body { div.row { margin-left: 1em; + clear: both; } div.row p { @@ -28,6 +29,11 @@ span.closed:after { content: "\25B8"; margin-right: 2px; } + +span.date { + float: right; + color: gray; +} </style> <script type="text/javascript"> function filterNodes (node, tagName) @@ -102,7 +108,7 @@ function expandAll() expandAllRecurse(treeview); } -function insertRow (path, text) +function insertRow (path, text, date_) { var treeview = document.getElementById('treeview'); var parentnode = treeview; @@ -144,14 +150,14 @@ function insertRow (path, text) var contents = document.createElement('p'); newnode.appendChild(contents); - contents.innerHTML = text; + contents.innerHTML = text + '<span class="date">' + date_ + '</span>'; // if the node is not a top-level node, hide it if (parentnode != treeview) newnode.style.display = 'none'; } -function changeRow (path, text) +function changeRow (path, text, date_) { var treeview = document.getElementById('treeview'); var node = treeview; @@ -164,7 +170,7 @@ function changeRow (path, text) // set the contents var contents = getContent(node); - contents.innerHTML = text; + contents.innerHTML = text + '<span class="date">' + date_ + '</span>'; } function deleteRow (path) |