replaced Glyphicon icons by Font Awesome icons

This commit is contained in:
Hauke Klement
2015-03-18 10:19:39 +01:00
parent d109663cb9
commit 9d6b79c919
7 changed files with 11 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
- if current_user.internal_user?
li.dropdown
a.dropdown-toggle data-toggle='dropdown' href='#'
i.glyphicon.glyphicon-user
i.fa.fa-user
= current_user
span.caret
ul.dropdown-menu role='menu'
@@ -12,7 +12,7 @@
- else
li
p.navbar-text
i.glyphicon.glyphicon-user
i.fa.fa-user
= current_user
- else
li = link_to(sign_in_path) do

View File

@@ -2,8 +2,8 @@
hr
= render('editor_button', classes: 'btn-block btn-primary btn-sm', data: {:'data-cause' => 'file'}, icon: 'glyphicon glyphicon-plus', id: 'create-file', label: t('exercises.editor.create_file'))
= render('editor_button', classes: 'btn-block btn-warning btn-sm', data: {:'data-cause' => 'file', :'data-message-confirm' => t('shared.confirm_destroy')}, icon: 'glyphicon glyphicon-trash', id: 'destroy-file', label: t('exercises.editor.destroy_file'))
= render('editor_button', classes: 'btn-block btn-primary btn-sm', data: {:'data-cause' => 'file'}, icon: 'fa fa-plus', id: 'create-file', label: t('exercises.editor.create_file'))
= render('editor_button', classes: 'btn-block btn-warning btn-sm', data: {:'data-cause' => 'file', :'data-message-confirm' => t('shared.confirm_destroy')}, icon: 'fa fa-times', id: 'destroy-file', label: t('exercises.editor.destroy_file'))
= render('editor_button', classes: 'btn-block btn-primary btn-sm', icon: 'fa fa-download', id: 'download', label: t('exercises.editor.download'))
= render('shared/modal', id: 'modal-file', template: 'code_ocean/files/_form', title: t('exercises.editor.create_file'))

View File

@@ -1,4 +1,4 @@
- if policy(model).new?
a.btn.btn-success href=(local_assigns.has_key?(:path) ? path : send(:"new_#{model.model_name.singular}_path"))
i.glyphicon.glyphicon-plus
i.fa.fa-plus
= t('shared.new_model', model: model.model_name.human)