mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +08:00
Change icons to be relative
This commit is contained in:
parent
cbf109f884
commit
7ac88ee84b
2 changed files with 7 additions and 7 deletions
|
@ -6,6 +6,6 @@
|
|||
'id': element_id,
|
||||
'type': element_type,
|
||||
} do %>
|
||||
<%= image_tag '/assets/office/office-online-logo.svg' %>
|
||||
<%= image_tag 'office/office-online-logo.svg' %>
|
||||
<%= t('assets.create_wopi_file.button_text') %>
|
||||
<% end %>
|
||||
|
|
|
@ -29,20 +29,20 @@
|
|||
<div class="btn-group btn-group-toggle btn-group-justified"
|
||||
data-toggle="buttons">
|
||||
<label class="btn btn-default active" id="word-btn">
|
||||
<%= image_tag '/assets/office/ms-word-active.svg', class: 'act' %>
|
||||
<%= image_tag '/assets/office/ms-word-inactive.svg', class: 'inactive' %>
|
||||
<%= image_tag 'office/ms-word-active.svg', class: 'act' %>
|
||||
<%= image_tag 'office/ms-word-inactive.svg', class: 'inactive' %>
|
||||
<input type="radio" name="file_type" value='docx' checked>
|
||||
<span><%= t('assets.create_wopi_file.ms_word').html_safe %></span>
|
||||
</label>
|
||||
<label class="btn btn-default" id="excel-btn">
|
||||
<%= image_tag '/assets/office/ms-excel-active.svg', class: 'act' %>
|
||||
<%= image_tag '/assets/office/ms-excel-inactive.svg', class: 'inactive' %>
|
||||
<%= image_tag 'office/ms-excel-active.svg', class: 'act' %>
|
||||
<%= image_tag 'office/ms-excel-inactive.svg', class: 'inactive' %>
|
||||
<input type="radio" name="file_type" value='xlsx'>
|
||||
<span><%= t('assets.create_wopi_file.ms_excel').html_safe %></span>
|
||||
</label>
|
||||
<label class="btn btn-default" id='powerpoint-btn'>
|
||||
<%= image_tag '/assets/office/ms-pwrpt-active.svg', class: 'act' %>
|
||||
<%= image_tag '/assets/office/ms-pwrpt-inactive.svg', class: 'inactive' %>
|
||||
<%= image_tag 'office/ms-pwrpt-active.svg', class: 'act' %>
|
||||
<%= image_tag 'office/ms-pwrpt-inactive.svg', class: 'inactive' %>
|
||||
<input type="radio" name="file_type" value='pptx'>
|
||||
<span><%= t('assets.create_wopi_file.ms_powerpoint').html_safe %></span>
|
||||
</label>
|
||||
|
|
Loading…
Reference in a new issue