twbs3 fixes for UI
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
7399c8c928
commit
0b017e8e17
6 changed files with 8 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
.update-notifications {
|
||||
.radio-inline {
|
||||
margin-right: 30px;
|
||||
margin-right: 9%;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
%li
|
||||
.row
|
||||
.col-md-4
|
||||
.col-sm-4
|
||||
%span
|
||||
= notification_icon(notification)
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
= link_to membership.group.name, membership.group
|
||||
- else
|
||||
= link_to_project(membership.project)
|
||||
.col-md-7
|
||||
.col-sm-8
|
||||
= form_tag profile_notifications_path, method: :put, remote: true, class: 'update-notifications' do
|
||||
= hidden_field_tag :notification_type, type, id: dom_id(membership, 'notification_type')
|
||||
= hidden_field_tag :notification_id, membership.id, id: dom_id(membership, 'notification_id')
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
– You will receive all notifications from projects in which you participate
|
||||
|
||||
.row
|
||||
.col-md-4
|
||||
.col-sm-4
|
||||
%h4
|
||||
= notification_icon(@notification)
|
||||
Global setting
|
||||
.col-md-7
|
||||
.col-sm-8
|
||||
= form_tag profile_notifications_path, method: :put, remote: true, class: 'update-notifications' do
|
||||
= hidden_field_tag :notification_type, 'global'
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
%ul.nav.nav-pills.nav-stacked.nav-stacked-menu
|
||||
%ul.nav.nav-pills.nav-stacked.nav-stacked-menu.append-bottom-20
|
||||
= nav_link(path: 'projects#edit') do
|
||||
= link_to edit_project_path(@project), class: "stat-tab tab " do
|
||||
%i.icon-edit
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
New Milestone
|
||||
|
||||
.row
|
||||
.col-md-3
|
||||
.col-md-3.hidden-sm
|
||||
%ul.nav.nav-pills.nav-stacked
|
||||
%li{class: ("active" if (params[:f] == "active" || !params[:f]))}
|
||||
= link_to project_milestones_path(@project, f: "active") do
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
= markdown @milestone.description
|
||||
|
||||
|
||||
%ul.nav.nav-tabs
|
||||
%ul.nav.nav-tabs.append-bottom-10
|
||||
%li.active
|
||||
= link_to '#tab-issues', 'data-toggle' => 'tab' do
|
||||
Issues
|
||||
|
|
Loading…
Reference in a new issue