Use new joined buttons style for groups of buttons
This commit is contained in:
parent
dc031d121c
commit
c789acd39d
6 changed files with 15 additions and 21 deletions
|
@ -1,4 +1,4 @@
|
|||
<div id="browse_controls" class='inner12'>
|
||||
<div id="browse_controls" class='inner12 buttons'>
|
||||
<a id="browse_filter_toggle" class="button" href="#"><%= t'browse.start_rjs.manually_select' %></a>
|
||||
<a id="browse_hide_areas_box" class="button" href="#"><%= t'browse.start_rjs.hide_areas' %></a>
|
||||
</div>
|
||||
|
|
|
@ -26,9 +26,7 @@
|
|||
|
||||
<p><%= t'oauth_clients.show.support_notice' %></p>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td><%= button_to t('oauth_clients.show.edit'), edit_oauth_client_path(@client_application.user.display_name, @client_application), :method => :get %></td>
|
||||
<td><%= button_to t('oauth_clients.show.delete'), oauth_client_path(@client_application.user.display_name, @client_application), :method => :delete, :data => { :confirm => t('oauth_clients.show.confirm') } %></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="buttons">
|
||||
<%= button_to t('oauth_clients.show.edit'), edit_oauth_client_path(@client_application.user.display_name, @client_application), :method => :get %>
|
||||
<%= button_to t('oauth_clients.show.delete'), oauth_client_path(@client_application.user.display_name, @client_application), :method => :delete, :data => { :confirm => t('oauth_clients.show.confirm') } %>
|
||||
</div>
|
||||
|
|
|
@ -13,10 +13,8 @@
|
|||
</p>
|
||||
|
||||
<% if @user and @user.moderator? %>
|
||||
<table>
|
||||
<tr>
|
||||
<td><%= button_to t('redaction.show.edit'), edit_redaction_path(@redaction), :method => :get %></td>
|
||||
<td><%= button_to t('redaction.show.destroy'), @redaction, :method => "delete", :remote => true, :data => { :confirm => t('redaction.show.confirm') } %></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="buttons">
|
||||
<%= button_to t('redaction.show.edit'), edit_redaction_path(@redaction), :method => :get %></td>
|
||||
<%= button_to t('redaction.show.destroy'), @redaction, :method => "delete", :remote => true, :data => { :confirm => t('redaction.show.confirm') } %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
|
@ -55,10 +55,8 @@
|
|||
<br /><br />
|
||||
|
||||
<%= if_user(@trace.user) do %>
|
||||
<table>
|
||||
<tr>
|
||||
<td><%= button_to t('trace.view.edit_track'), :controller => 'trace', :action => 'edit', :id => @trace.id %></td>
|
||||
<td><%= button_to t('trace.view.delete_track'), :controller => 'trace', :action => 'delete', :id => @trace.id %></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="buttons">
|
||||
<%= button_to t('trace.view.edit_track'), :controller => 'trace', :action => 'edit', :id => @trace.id %>
|
||||
<%= button_to t('trace.view.delete_track'), :controller => 'trace', :action => 'delete', :id => @trace.id %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<%= render :partial => 'user', :collection => @users %>
|
||||
</table>
|
||||
|
||||
<div id="user_list_actions">
|
||||
<div id="user_list_actions buttons">
|
||||
<%= submit_tag t('user.list.confirm'), :name => "confirm" %>
|
||||
<%= submit_tag t('user.list.hide'), :name => "hide" %>
|
||||
</div>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<span class="minorNote">(<%= link_to(t('user.terms.consider_pd_why'), t('user.terms.consider_pd_why_url'), :target => :new)%>)</span>
|
||||
</p>
|
||||
<%= hidden_field_tag('referer', h(params[:referer])) unless params[:referer].nil? %>
|
||||
<div class="signing-buttons">
|
||||
<div class="signing-buttons buttons">
|
||||
<%= submit_tag(t('user.terms.agree'), :name => "agree", :id => "agree") %>
|
||||
<%= submit_tag(t('user.terms.decline'), :name => "decline", :id => "decline") %>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue