From 39bb6277eb539121291c92fa60b473b10e3be966 Mon Sep 17 00:00:00 2001 From: Toks Date: Mon, 2 Sep 2013 22:46:35 -0400 Subject: [PATCH] Move upload source hint to be more noticeable It's difficult to find when it only appears when hovering over the Source label, but it's important information for uploaders to know. --- app/assets/stylesheets/specific/uploads.css.scss | 4 ++++ app/views/uploads/new.html.erb | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/specific/uploads.css.scss b/app/assets/stylesheets/specific/uploads.css.scss index dab24f549..eabf737ef 100644 --- a/app/assets/stylesheets/specific/uploads.css.scss +++ b/app/assets/stylesheets/specific/uploads.css.scss @@ -18,6 +18,10 @@ div#c-uploads { margin-bottom: 0.5em; } + .hint { + display: block; + } + div#source-info { margin: 1em 0; padding: 1em; diff --git a/app/views/uploads/new.html.erb b/app/views/uploads/new.html.erb index d4d1f3014..552832095 100644 --- a/app/views/uploads/new.html.erb +++ b/app/views/uploads/new.html.erb @@ -32,10 +32,11 @@
- <%= f.label :source, nil, :title => "You can enter a URL to have #{Danbooru.config.app_name} automatically download and process it" %> + <%= f.label :source %> <%= f.text_field :source, :size => 50, :value => params[:url] %> <%= button_tag "Similar", :id => "similar-button", :type => "button" %> <%= button_tag "Artist", :id => "find-artist-button", :type => "button" %> + You can enter a URL to have <%= Danbooru.config.app_name %> automatically download and process it