diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/layout.haml | 4 | ||||
-rw-r--r-- | views/style.scss | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/views/layout.haml b/views/layout.haml index 280301b..b6b4c0e 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -13,7 +13,8 @@ url: uri, //timeout: 120000; success: function(data){ - data = "<h4>"+title+"</h4>"+"<button onclick='hide(\"" + title + "\",\"" + element + "\",\"" + uri + "\");'>Hide</button>" + data; + var slash = new RegExp("/","g"); + data = "<h4>"+title+"</h4>"+"<button onclick='hide(\"" + title + "\",\"" + element + "\",\"" + uri + "\");'>Hide</button> <a href=\"" + uri + "/" + uri.replace("/cid/", "").replace(slash,'-') + ".csv\"> (csv)</a>" + data; $(element).html(data); }, error: function(data,textStatus,message){ @@ -117,4 +118,3 @@ return false; }); }); - diff --git a/views/style.scss b/views/style.scss index 1ec0990..25833e7 100644 --- a/views/style.scss +++ b/views/style.scss @@ -39,9 +39,10 @@ h4 { /* tables */ th { - color: #333; + color: #000; text-align: left; - font-size: 1em; + font-size: 1.1em; + padding: 8px 0; } td { vertical-align: top; |