[issue #279] Changed buttons alignment.
This commit is contained in:
parent
9e31ae75b1
commit
524fa2302f
|
@ -626,6 +626,10 @@ div.admin-role {
|
|||
padding-right: 10px;
|
||||
}
|
||||
|
||||
article a.right_floated {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* TODO think, how to do it more beautiful */
|
||||
ul.ui-autocomplete {
|
||||
z-index: 999 !important;
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
.radio
|
||||
= radio_button_tag "user[#{user.id}]", role, ((@project.relations.exists? :object_id => user.id, :object_type => 'User', :role => role) ? :checked : nil), :class => 'niceRadio'
|
||||
.forradio= t("layout.collaborators.role_names.#{ role }")
|
||||
= link_to_function t("layout.delete"), "deleteAdminMember();", :class => 'button'
|
||||
= link_to_function t("layout.save"), "saveAdminMember();", :class => 'button'
|
||||
= link_to_function t("layout.delete_selected"), "deleteAdminMember();", :class => 'button'
|
||||
= link_to_function t("layout.save"), "saveAdminMember();", :class => 'button right_floated'
|
||||
.both
|
||||
%br
|
||||
|
||||
|
@ -85,11 +85,8 @@
|
|||
.radio
|
||||
= radio_button_tag "group[#{group.id}]", role, ((@project.relations.exists? :object_id => group.id, :object_type => 'Group', :role => role) ? :checked : nil), :class => 'niceRadio'
|
||||
.forradio= t("layout.collaborators.role_names.#{ role }")
|
||||
= link_to_function t("layout.delete"), "deleteAdminGroup();", :class => 'button'
|
||||
= link_to_function t("layout.save"), "saveAdminGroup();", :class => 'button'
|
||||
= link_to_function t("layout.delete_selected"), "deleteAdminGroup();", :class => 'button'
|
||||
= link_to_function t("layout.save"), "saveAdminGroup();", :class => 'button right_floated'
|
||||
.both
|
||||
%br
|
||||
|
||||
.hr.bottom
|
||||
.both
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@ en:
|
|||
create: Create
|
||||
update: Update
|
||||
delete: Erase
|
||||
delete_selected: Remove selected
|
||||
save: Save
|
||||
clone: Clone
|
||||
search_by_name: Filter by name
|
||||
|
|
|
@ -24,6 +24,7 @@ ru:
|
|||
create: Создать
|
||||
update: Обновить
|
||||
delete: Удалить
|
||||
delete_selected: Удалить выбранное
|
||||
save: Сохранить
|
||||
clone: Клонировать
|
||||
search_by_name: Фильтр по имени
|
||||
|
|
Loading…
Reference in New Issue