From 239c1e2eb7525edfaa63ea7e3aaef1b6ae09f37e Mon Sep 17 00:00:00 2001 From: Victoria Wang Date: Mon, 18 May 2015 17:43:24 -0700 Subject: [PATCH] Added checkboxes to file list, fixed links --- sass/_project-sass/_project-Main.scss | 19 +++++++++++++++++-- views/dashboard.erb | 1 + 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/sass/_project-sass/_project-Main.scss b/sass/_project-sass/_project-Main.scss index 9aed6a47..29c50cff 100644 --- a/sass/_project-sass/_project-Main.scss +++ b/sass/_project-sass/_project-Main.scss @@ -237,6 +237,10 @@ width: 100%; position: relative; margin-top: 7px; + + .column, input[type='checkbox'] { + display: none; + } } .files .header { background: #5E95A1; @@ -470,6 +474,12 @@ width: 30%; text-overflow: ellipsis; } + input[type='checkbox'] { + display: block; + float: left; + margin-top: 5px; + margin-right: 6px; + } } .html-thumbnail, .misc-icon { margin: 0; @@ -495,8 +505,9 @@ height: 23px; } .file > .overlay { - border-radius: 3px; padding-top: 3px; + margin-left: 20px; + padding-right: 20px; text-align: right; background-color: transparent; display: block; @@ -506,13 +517,17 @@ display: inline; margin-right: 5px; } + .link-overlay { + width: 30%; + } } .html-thumbnail > .overlay { - background-color: transparent; + display: none; } .column { float: left; width: 15%; + display: block; } } .site-actions { diff --git a/views/dashboard.erb b/views/dashboard.erb index 3046a157..1b7fec51 100644 --- a/views/dashboard.erb +++ b/views/dashboard.erb @@ -114,6 +114,7 @@
<% @file_list.each do |file| %>
+ <% if file[:is_html] && current_site.screenshot_exists?(file[:path], '210x158') %>