From 56edd9584cb964f75ccaeae4db9d0040b71ffe5f Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 22 Jul 2012 20:43:04 +0200 Subject: o Better layout of the data table. Using a instead of
as the dl headings was collapsed by at least Chrome. o Adding mail logging. --- views/data.jade | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'views') diff --git a/views/data.jade b/views/data.jade index 9dd54e4..203353f 100644 --- a/views/data.jade +++ b/views/data.jade @@ -121,9 +121,11 @@ block items | a(class='btn btn-danger btn-mini', href=urlgenerator.delete(url, item.href)) Delete - dl - dt href - dd: div: mixin href(item.href) + div(class='fluid-row') + div(class='span12') + dl + dt href + dd: div: mixin href(item.href) if item.links.length > 0 h3 Item Links @@ -132,10 +134,13 @@ block items block link h3 Data - dl(class='dl-horizontal') - each data in item.data - dt #{data.name} - dd #{data.value} + div(class='fluid-row') + div(class='span12') + table.data-table + each data in item.data + tr + th #{data.name} + td #{data.value} block items_links -- cgit v1.2.3