summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-07-22 20:43:04 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-07-22 20:43:04 +0200
commit56edd9584cb964f75ccaeae4db9d0040b71ffe5f (patch)
tree7e333b514df3db8af9bbe65d4aee9d7f8ba70b78 /views
parentc677e79c1227eedb656ad1a6830c38c64a4c0e4b (diff)
downloadcollection-json-explorer-56edd9584cb964f75ccaeae4db9d0040b71ffe5f.tar.gz
collection-json-explorer-56edd9584cb964f75ccaeae4db9d0040b71ffe5f.tar.bz2
collection-json-explorer-56edd9584cb964f75ccaeae4db9d0040b71ffe5f.tar.xz
collection-json-explorer-56edd9584cb964f75ccaeae4db9d0040b71ffe5f.zip
o Better layout of the data table.
Using a <table> instead of <dl> as the dl headings was collapsed by at least Chrome. o Adding mail logging.
Diffstat (limited to 'views')
-rw-r--r--views/data.jade19
1 files changed, 12 insertions, 7 deletions
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