mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-26 23:18:58 +08:00
some extra button styling
This commit is contained in:
parent
763d934aa7
commit
f97477f3f0
8 changed files with 12 additions and 12 deletions
|
@ -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() {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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") %>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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:"
|
||||
|
|
Loading…
Add table
Reference in a new issue