some extra button styling

This commit is contained in:
mlorb 2018-04-26 15:19:05 +02:00
parent 763d934aa7
commit f97477f3f0
8 changed files with 12 additions and 12 deletions

View file

@ -137,7 +137,7 @@
html += 'placeholder="<%= I18n.t('assets.from_clipboard.file_name_placeholder') %>" aria-describedby="image-name">';
html += '<span class="input-group-addon" id="image-name"></span></div>';
html += '</div><div class="modal-footer">';
html += '<button type="button" class="btn btn-default" data-dismiss="modal"><%= I18n.t('general.cancel') %></button>'
html += '<button type="button" class="btn btn-default" data-dismiss="modal"><%= I18n.t('general.cancel') %></button>';
html += '<button type="button" class="btn btn-success" data-action="addImageFormClipboard"><%= I18n.t('assets.from_clipboard.add_image') %></button>';
html += '</div></div></div></div><!-- /.modal -->';
return $(html).appendTo($('body')).promise().done(function() {

View file

@ -16,12 +16,12 @@
<p><%=t 'my_modules.complete_modal.description' %></p>
</div>
<div class="modal-footer">
<button type="button"
class="btn btn-primary"
data-action="complete"><%=t 'my_modules.buttons.complete' %></button>
<button type="button"
class="btn btn-default"
data-dismiss="modal"><%=t 'my_modules.complete_modal.leave_uncompleted' %></button>
<button type="button"
class="btn btn-success"
data-action="complete"><%=t 'my_modules.buttons.complete' %></button>
</div>
</div>
</div>

View file

@ -7,9 +7,9 @@
</div>
<div class="modal-body"></div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-action="submit"></button>
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel") %></button>
<button type="button" class="btn btn-success" data-action="submit"></button>
</div>
</div>
</div>
</div>
</div>

View file

@ -82,7 +82,7 @@
</div>
<script>window.initPreviewModal()</script>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal"><%= t("general.close")%></button>
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.close")%></button>
</div>
</div>
</div>

View file

@ -15,7 +15,7 @@
<div class="modal-footer">
<%= bootstrap_form_tag url: destroy_team_path(team), method: :delete do |f| %>
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t('general.cancel') %></button>
<%= f.submit t("users.settings.teams.edit.modal_destroy_team.confirm"), class: "btn btn-primary" %>
<%= f.submit t("users.settings.teams.edit.modal_destroy_team.confirm"), class: "btn btn-danger" %>
<% end %>
</div>
</div>

View file

@ -15,7 +15,7 @@
<% end %>
<% if can_create_teams? %>
<span id="new-team-button">
<%= link_to new_team_path, class: "btn btn-default", style: "margin-left: 30px;" do %>
<%= link_to new_team_path, class: "btn btn-primary", style: "margin-left: 30px;" do %>
<span class="glyphicon glyphicon-plus"></span>
<span class="hidden-xs">
<%= t("users.settings.teams.index.new_team") %>

View file

@ -26,7 +26,7 @@
</div>
<%= link_to t('general.cancel'), teams_path, class: 'btn btn-default' %>
<%= f.submit t('users.settings.teams.new.create'), class: 'btn btn-primary' %>
<%= f.submit t('users.settings.teams.new.create'), class: 'btn btn-success' %>
<% end %>
</div>

View file

@ -1396,7 +1396,7 @@ en:
one: "You are member of %{count} team."
other: "You are member of %{count} teams."
no_teams: "You are not a member of any team."
new_team: "New team"
new_team: "New Team"
thead_name: "Team"
thead_role: "Role"
thead_created_at: "Created at"
@ -1410,7 +1410,7 @@ en:
name_sublabel: "Pick a name that would best describe your team (e.g. 'University of ..., Department of ...')."
description_label: "Description"
description_sublabel: "Describe your team."
create: "Create team"
create: "Create"
edit:
header_created_at: "Created on:"
header_created_by: "Created by:"