style buttons for upload/post edit pages
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
<%= hidden_field_tag :random, params[:random] %>
|
||||
<% end %>
|
||||
<%= hidden_field_tag "ms", "1" %>
|
||||
<%= submit_tag "Go", :name => nil %>
|
||||
<%= submit_tag "+", :id => "expand-search", "data-jq-dropdown" => "#search-dropdown" %>
|
||||
<%= submit_tag "Go", :name => nil, :class => "ui-button ui-widget ui-corner-all tiny gradient" %>
|
||||
<%= submit_tag "+", :id => "expand-search", "data-jq-dropdown" => "#search-dropdown", :class => "ui-button ui-widget ui-corner-all tiny gradient" %>
|
||||
<div id="search-dropdown" class="jq-dropdown jq-dropdown-tip">
|
||||
<ul class="jq-dropdown-menu">
|
||||
<% if SavedSearch.enabled? && CurrentUser.show_saved_searches? %>
|
||||
|
||||
@@ -61,8 +61,8 @@
|
||||
<div class="input">
|
||||
<%= f.label :source %>
|
||||
<%= f.text_field :source %>
|
||||
<%= button_tag "Similar", :id => "similar-button", :type => "button" %>
|
||||
<%= button_tag "Artist", :id => "find-artist-button", :type => "button" %>
|
||||
<%= button_tag "Similar", :id => "similar-button", :type => "button", :class => "ui-button ui-widget ui-corner-all sub gradient" %>
|
||||
<%= button_tag "Artist", :id => "find-artist-button", :type => "button", :class => "ui-button ui-widget ui-corner-all sub gradient" %>
|
||||
</div>
|
||||
|
||||
<% if Danbooru.config.iqdbs_server %>
|
||||
@@ -76,15 +76,15 @@
|
||||
<span id="open-edit-dialog" class="ui-icon ui-icon-arrow-1-ne" title="detach" style="display: none;"/>
|
||||
</div>
|
||||
|
||||
<%= button_tag "Related tags", :id => "related-tags-button", :type => "button" %>
|
||||
<%= button_tag "General", :id => "related-general-button", :type => "button" %>
|
||||
<%= button_tag "Artists", :id => "related-artists-button", :type => "button" %>
|
||||
<%= button_tag "Characters", :id => "related-characters-button", :type => "button" %>
|
||||
<%= button_tag "Copyrights", :id => "related-copyrights-button", :type => "button" %>
|
||||
<%= button_tag "Related tags", :id => "related-tags-button", :type => "button", :class => "ui-button ui-widget ui-corner-all sub gradient" %>
|
||||
<%= button_tag "General", :id => "related-general-button", :type => "button", :class => "ui-button ui-widget ui-corner-all sub gradient" %>
|
||||
<%= button_tag "Artists", :id => "related-artists-button", :type => "button", :class => "ui-button ui-widget ui-corner-all sub gradient" %>
|
||||
<%= button_tag "Characters", :id => "related-characters-button", :type => "button", :class => "ui-button ui-widget ui-corner-all sub gradient" %>
|
||||
<%= button_tag "Copyrights", :id => "related-copyrights-button", :type => "button", :class => "ui-button ui-widget ui-corner-all sub gradient" %>
|
||||
</div>
|
||||
|
||||
<div class="input">
|
||||
<%= submit_tag "Submit", :data => { :disable_with => "Submitting..." } %>
|
||||
<%= submit_tag "Submit", :data => { :disable_with => "Submitting..." }, :class => "ui-button ui-widget ui-corner-all" %>
|
||||
</div>
|
||||
|
||||
<div id="related-tags-container">
|
||||
|
||||
@@ -49,8 +49,8 @@
|
||||
</section>
|
||||
|
||||
<div class="fav-buttons">
|
||||
<%= button_to "Favorite", favorites_path(post_id: @post.id), remote: true, method: :post, form: {id: "add-fav-button"} %>
|
||||
<%= button_to "Unfavorite", favorite_path(@post), remote: true, method: :delete, form: {id: "remove-fav-button"} %>
|
||||
<%= button_to "Favorite", favorites_path(post_id: @post.id), remote: true, method: :post, form: {id: "add-fav-button"}, class: "ui-button ui-widget ui-corner-all gradient" %>
|
||||
<%= button_to "Unfavorite", favorite_path(@post), remote: true, method: :delete, form: {id: "remove-fav-button"}, class: "ui-button ui-widget ui-corner-all gradient" %>
|
||||
</div>
|
||||
|
||||
<section id="mark-as-translated-section" style="display: none;">
|
||||
|
||||
Reference in New Issue
Block a user