Commit 8c1d414674d817d452c92b2fd95e722d52fc51fc
1 parent
a379bd00
Exists in
spb-stable
and in
3 other branches
Include tw bootstrap manually. Fix hide class
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
37 changed files
with
127 additions
and
50 deletions
Show diff stats
app/assets/javascripts/behaviors/toggler_behavior.coffee
@@ -9,7 +9,7 @@ $ -> | @@ -9,7 +9,7 @@ $ -> | ||
9 | toggleClass('icon-chevron-down'). | 9 | toggleClass('icon-chevron-down'). |
10 | toggleClass('icon-chevron-up') | 10 | toggleClass('icon-chevron-up') |
11 | container = $(".js-toggle-visibility-container") | 11 | container = $(".js-toggle-visibility-container") |
12 | - container.toggleClass("gl-hide") | 12 | + container.toggleClass("hide") |
13 | e.preventDefault() | 13 | e.preventDefault() |
14 | 14 | ||
15 | $("body").on "click", ".js-toggle-button", (e) -> | 15 | $("body").on "click", ".js-toggle-button", (e) -> |
app/assets/stylesheets/application.scss
app/assets/stylesheets/generic/common.scss
@@ -127,10 +127,6 @@ pre.well-pre { | @@ -127,10 +127,6 @@ pre.well-pre { | ||
127 | background: #29b; | 127 | background: #29b; |
128 | } | 128 | } |
129 | 129 | ||
130 | -.gl-hide { | ||
131 | - display: none; | ||
132 | -} | ||
133 | - | ||
134 | .breadcrumb > li + li:before { | 130 | .breadcrumb > li + li:before { |
135 | content: "/"; | 131 | content: "/"; |
136 | padding: 0; | 132 | padding: 0; |
@@ -0,0 +1,80 @@ | @@ -0,0 +1,80 @@ | ||
1 | +// Core variables and mixins | ||
2 | +@import "bootstrap/variables"; | ||
3 | +@import "bootstrap/mixins"; | ||
4 | + | ||
5 | +// Reset | ||
6 | +@import "bootstrap/normalize"; | ||
7 | +@import "bootstrap/print"; | ||
8 | + | ||
9 | +// Core CSS | ||
10 | +@import "bootstrap/scaffolding"; | ||
11 | +@import "bootstrap/type"; | ||
12 | +@import "bootstrap/code"; | ||
13 | +@import "bootstrap/grid"; | ||
14 | +@import "bootstrap/tables"; | ||
15 | +@import "bootstrap/forms"; | ||
16 | +@import "bootstrap/buttons"; | ||
17 | + | ||
18 | +// Components | ||
19 | +@import "bootstrap/component-animations"; | ||
20 | +@import "bootstrap/glyphicons"; | ||
21 | +@import "bootstrap/dropdowns"; | ||
22 | +@import "bootstrap/button-groups"; | ||
23 | +@import "bootstrap/input-groups"; | ||
24 | +@import "bootstrap/navs"; | ||
25 | +@import "bootstrap/navbar"; | ||
26 | +@import "bootstrap/breadcrumbs"; | ||
27 | +@import "bootstrap/pagination"; | ||
28 | +@import "bootstrap/pager"; | ||
29 | +@import "bootstrap/labels"; | ||
30 | +@import "bootstrap/badges"; | ||
31 | +@import "bootstrap/jumbotron"; | ||
32 | +@import "bootstrap/thumbnails"; | ||
33 | +@import "bootstrap/alerts"; | ||
34 | +@import "bootstrap/progress-bars"; | ||
35 | +@import "bootstrap/media"; | ||
36 | +@import "bootstrap/list-group"; | ||
37 | +@import "bootstrap/panels"; | ||
38 | +@import "bootstrap/wells"; | ||
39 | +@import "bootstrap/close"; | ||
40 | + | ||
41 | +// Components w/ JavaScript | ||
42 | +@import "bootstrap/modals"; | ||
43 | +@import "bootstrap/tooltip"; | ||
44 | +@import "bootstrap/popovers"; | ||
45 | +@import "bootstrap/carousel"; | ||
46 | + | ||
47 | +// Utility classes | ||
48 | +.clearfix { | ||
49 | + @include clearfix(); | ||
50 | +} | ||
51 | +.center-block { | ||
52 | + @include center-block(); | ||
53 | +} | ||
54 | +.pull-right { | ||
55 | + float: right !important; | ||
56 | +} | ||
57 | +.pull-left { | ||
58 | + float: left !important; | ||
59 | +} | ||
60 | +.hide { | ||
61 | + display: none; | ||
62 | +} | ||
63 | +.show { | ||
64 | + display: block !important; | ||
65 | +} | ||
66 | +.invisible { | ||
67 | + visibility: hidden; | ||
68 | +} | ||
69 | +.text-hide { | ||
70 | + @include text-hide(); | ||
71 | +} | ||
72 | +.hidden { | ||
73 | + display: none !important; | ||
74 | + visibility: hidden !important; | ||
75 | +} | ||
76 | +.affix { | ||
77 | + position: fixed; | ||
78 | +} | ||
79 | + | ||
80 | +@import "bootstrap/responsive-utilities"; |
app/assets/stylesheets/sections/events.scss
app/assets/stylesheets/sections/notes.scss
@@ -80,7 +80,6 @@ ul.notes { | @@ -80,7 +80,6 @@ ul.notes { | ||
80 | overflow: hidden; | 80 | overflow: hidden; |
81 | display: block; | 81 | display: block; |
82 | position:relative; | 82 | position:relative; |
83 | - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
84 | p { color: $style_color; } | 83 | p { color: $style_color; } |
85 | 84 | ||
86 | .avatar { | 85 | .avatar { |
@@ -122,6 +121,7 @@ ul.notes { | @@ -122,6 +121,7 @@ ul.notes { | ||
122 | .file .notes_holder { | 121 | .file .notes_holder { |
123 | font-size: 13px; | 122 | font-size: 13px; |
124 | line-height: 18px; | 123 | line-height: 18px; |
124 | + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
125 | 125 | ||
126 | td { | 126 | td { |
127 | border: 1px solid #ddd; | 127 | border: 1px solid #ddd; |
app/views/admin/broadcast_messages/index.html.haml
@@ -18,12 +18,12 @@ | @@ -18,12 +18,12 @@ | ||
18 | %div | 18 | %div |
19 | = link_to '#', class: 'js-toggle-colors-link' do | 19 | = link_to '#', class: 'js-toggle-colors-link' do |
20 | Customize colors | 20 | Customize colors |
21 | - .form-group.js-toggle-colors-container.gl-hide | 21 | + .form-group.js-toggle-colors-container.hide |
22 | = f.label :color, "Background Color" | 22 | = f.label :color, "Background Color" |
23 | .col-sm-10 | 23 | .col-sm-10 |
24 | = f.text_field :color, placeholder: "#AA33EE" | 24 | = f.text_field :color, placeholder: "#AA33EE" |
25 | .light Hex values as 3 double digit numbers, starting with a # sign. | 25 | .light Hex values as 3 double digit numbers, starting with a # sign. |
26 | - .form-group.js-toggle-colors-container.gl-hide | 26 | + .form-group.js-toggle-colors-container.hide |
27 | = f.label :font, "Font Color" | 27 | = f.label :font, "Font Color" |
28 | .col-sm-10 | 28 | .col-sm-10 |
29 | = f.text_field :font, placeholder: "#224466" | 29 | = f.text_field :font, placeholder: "#224466" |
app/views/dashboard/_activities.html.haml
app/views/groups/show.html.haml
@@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
11 | .content_list | 11 | .content_list |
12 | - else | 12 | - else |
13 | %p.nothing_here_message Project activity will be displayed here | 13 | %p.nothing_here_message Project activity will be displayed here |
14 | - .loading.gl-hide | 14 | + .loading.hide |
15 | .side.col-md-4 | 15 | .side.col-md-4 |
16 | - if @group.description.present? | 16 | - if @group.description.present? |
17 | .description-block | 17 | .description-block |
app/views/help/_shortcuts.html.haml
app/views/layouts/_head_panel.html.haml
app/views/layouts/_public_head_panel.html.haml
app/views/layouts/_search.html.haml
@@ -7,4 +7,4 @@ | @@ -7,4 +7,4 @@ | ||
7 | = hidden_field_tag :search_code, true | 7 | = hidden_field_tag :search_code, true |
8 | = hidden_field_tag :repository_ref, @ref | 8 | = hidden_field_tag :repository_ref, @ref |
9 | = submit_tag 'Go' if ENV['RAILS_ENV'] == 'test' | 9 | = submit_tag 'Go' if ENV['RAILS_ENV'] == 'test' |
10 | - .search-autocomplete-json.gl-hide{:'data-autocomplete-opts' => search_autocomplete_source } | 10 | + .search-autocomplete-json.hide{:'data-autocomplete-opts' => search_autocomplete_source } |
app/views/profiles/accounts/show.html.haml
@@ -50,7 +50,7 @@ | @@ -50,7 +50,7 @@ | ||
50 | %div | 50 | %div |
51 | = f.text_field :username, required: true, class: 'form-control' | 51 | = f.text_field :username, required: true, class: 'form-control' |
52 | | 52 | |
53 | - %span.loading-gif.gl-hide= image_tag "ajax_loader.gif" | 53 | + %span.loading-gif.hide= image_tag "ajax_loader.gif" |
54 | %p.light | 54 | %p.light |
55 | = user_url(@user) | 55 | = user_url(@user) |
56 | %div | 56 | %div |
app/views/profiles/notifications/show.html.haml
@@ -43,7 +43,7 @@ | @@ -43,7 +43,7 @@ | ||
43 | %span.btn.btn-tiny | 43 | %span.btn.btn-tiny |
44 | %i.icon-chevron-down | 44 | %i.icon-chevron-down |
45 | %span Advanced notifications settings | 45 | %span Advanced notifications settings |
46 | -.js-toggle-visibility-container.gl-hide | 46 | +.js-toggle-visibility-container.hide |
47 | %hr | 47 | %hr |
48 | %h4 Groups: | 48 | %h4 Groups: |
49 | %ul.bordered-list | 49 | %ul.bordered-list |
app/views/projects/blob/_remove.html.haml
app/views/projects/commit/_commit_box.html.haml
@@ -47,7 +47,7 @@ | @@ -47,7 +47,7 @@ | ||
47 | - if @branches.any? | 47 | - if @branches.any? |
48 | and in | 48 | and in |
49 | = link_to("#{pluralize(@branches.count, "other branch")}", "#", class: "js-details-expand") | 49 | = link_to("#{pluralize(@branches.count, "other branch")}", "#", class: "js-details-expand") |
50 | - %span.js-details-contain.gl-hide | 50 | + %span.js-details-contain.hide |
51 | = commit_branches_links(@project, @branches) | 51 | = commit_branches_links(@project, @branches) |
52 | 52 | ||
53 | .commit-box | 53 | .commit-box |
app/views/projects/commits/_image.html.haml
@@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
11 | .frame.deleted | 11 | .frame.deleted |
12 | %a{href: project_blob_path(@project, tree_join(@commit.parent_id, diff.old_path))} | 12 | %a{href: project_blob_path(@project, tree_join(@commit.parent_id, diff.old_path))} |
13 | %img{src: "data:#{old_file.mime_type};base64,#{Base64.encode64(old_file.data)}"} | 13 | %img{src: "data:#{old_file.mime_type};base64,#{Base64.encode64(old_file.data)}"} |
14 | - %p.image-info.gl-hide | 14 | + %p.image-info.hide |
15 | %span.meta-filesize= "#{number_to_human_size old_file.size}" | 15 | %span.meta-filesize= "#{number_to_human_size old_file.size}" |
16 | | | 16 | | |
17 | %b W: | 17 | %b W: |
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | .frame.added | 23 | .frame.added |
24 | %a{href: project_blob_path(@project, tree_join(@commit.id, diff.new_path))} | 24 | %a{href: project_blob_path(@project, tree_join(@commit.id, diff.new_path))} |
25 | %img{src: "data:#{file.mime_type};base64,#{Base64.encode64(file.data)}"} | 25 | %img{src: "data:#{file.mime_type};base64,#{Base64.encode64(file.data)}"} |
26 | - %p.image-info.gl-hide | 26 | + %p.image-info.hide |
27 | %span.meta-filesize= "#{number_to_human_size file.size}" | 27 | %span.meta-filesize= "#{number_to_human_size file.size}" |
28 | | | 28 | | |
29 | %b W: | 29 | %b W: |
@@ -32,7 +32,7 @@ | @@ -32,7 +32,7 @@ | ||
32 | %b H: | 32 | %b H: |
33 | %span.meta-height | 33 | %span.meta-height |
34 | 34 | ||
35 | - %div.swipe.view.gl-hide | 35 | + %div.swipe.view.hide |
36 | .swipe-frame | 36 | .swipe-frame |
37 | .frame.deleted | 37 | .frame.deleted |
38 | %img{src: "data:#{old_file.mime_type};base64,#{Base64.encode64(old_file.data)}"} | 38 | %img{src: "data:#{old_file.mime_type};base64,#{Base64.encode64(old_file.data)}"} |
@@ -43,7 +43,7 @@ | @@ -43,7 +43,7 @@ | ||
43 | %span.top-handle | 43 | %span.top-handle |
44 | %span.bottom-handle | 44 | %span.bottom-handle |
45 | 45 | ||
46 | - %div.onion-skin.view.gl-hide | 46 | + %div.onion-skin.view.hide |
47 | .onion-skin-frame | 47 | .onion-skin-frame |
48 | .frame.deleted | 48 | .frame.deleted |
49 | %img{src: "data:#{old_file.mime_type};base64,#{Base64.encode64(old_file.data)}"} | 49 | %img{src: "data:#{old_file.mime_type};base64,#{Base64.encode64(old_file.data)}"} |
@@ -56,7 +56,7 @@ | @@ -56,7 +56,7 @@ | ||
56 | .opaque | 56 | .opaque |
57 | 57 | ||
58 | 58 | ||
59 | - .view-modes.gl-hide | 59 | + .view-modes.hide |
60 | %ul.view-modes-menu | 60 | %ul.view-modes-menu |
61 | %li.two-up{data: {mode: 'two-up'}} 2-up | 61 | %li.two-up{data: {mode: 'two-up'}} 2-up |
62 | %li.swipe{data: {mode: 'swipe'}} Swipe | 62 | %li.swipe{data: {mode: 'swipe'}} Swipe |
app/views/projects/create.js.haml
@@ -5,5 +5,5 @@ | @@ -5,5 +5,5 @@ | ||
5 | :plain | 5 | :plain |
6 | $(".project-edit-errors").html("#{escape_javascript(render('errors'))}"); | 6 | $(".project-edit-errors").html("#{escape_javascript(render('errors'))}"); |
7 | $('.project-submit').enable(); | 7 | $('.project-submit').enable(); |
8 | - $('.save-project-loader').gl-hide(); | 8 | + $('.save-project-loader').hide(); |
9 | $('.project-edit-container').show(); | 9 | $('.project-edit-container').show(); |
app/views/projects/edit.html.haml
@@ -97,7 +97,7 @@ | @@ -97,7 +97,7 @@ | ||
97 | Show it to me | 97 | Show it to me |
98 | %i.icon-chevron-down | 98 | %i.icon-chevron-down |
99 | 99 | ||
100 | - .js-toggle-visibility-container.gl-hide | 100 | + .js-toggle-visibility-container.hide |
101 | - if can? current_user, :archive_project, @project | 101 | - if can? current_user, :archive_project, @project |
102 | .ui-box.ui-box-danger | 102 | .ui-box.ui-box-danger |
103 | .title | 103 | .title |
@@ -182,7 +182,7 @@ | @@ -182,7 +182,7 @@ | ||
182 | - else | 182 | - else |
183 | %p.nothing_here_message Only project owner can remove a project | 183 | %p.nothing_here_message Only project owner can remove a project |
184 | 184 | ||
185 | -.save-project-loader.gl-hide | 185 | +.save-project-loader.hide |
186 | %center | 186 | %center |
187 | = image_tag "ajax_loader.gif" | 187 | = image_tag "ajax_loader.gif" |
188 | %h3 Saving project. | 188 | %h3 Saving project. |
app/views/projects/graphs/show.html.haml
@@ -21,14 +21,14 @@ | @@ -21,14 +21,14 @@ | ||
21 | %ol.contributors-list.clearfix | 21 | %ol.contributors-list.clearfix |
22 | 22 | ||
23 | :javascript | 23 | :javascript |
24 | - $(".stat-graph").gl-hide(); | 24 | + $(".stat-graph").hide(); |
25 | 25 | ||
26 | $.ajax({ | 26 | $.ajax({ |
27 | type: "GET", | 27 | type: "GET", |
28 | url: location.href, | 28 | url: location.href, |
29 | complete: function() { | 29 | complete: function() { |
30 | $(".stat-graph").fadeIn(); | 30 | $(".stat-graph").fadeIn(); |
31 | - $(".loading-graph").gl-hide(); | 31 | + $(".loading-graph").hide(); |
32 | }, | 32 | }, |
33 | dataType: "script" | 33 | dataType: "script" |
34 | }); | 34 | }); |
app/views/projects/issues/_issues.html.haml
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | .title | 2 | .title |
3 | = check_box_tag "check_all_issues", nil, false, class: "check_all_issues left" | 3 | = check_box_tag "check_all_issues", nil, false, class: "check_all_issues left" |
4 | .clearfix | 4 | .clearfix |
5 | - .issues_bulk_update.gl-hide | 5 | + .issues_bulk_update.hide |
6 | = form_tag bulk_update_project_issues_path(@project), method: :post do | 6 | = form_tag bulk_update_project_issues_path(@project), method: :post do |
7 | %span Update selected issues with | 7 | %span Update selected issues with |
8 | = select_tag('update[status]', options_for_select(['open', 'closed']), prompt: "Status") | 8 | = select_tag('update[status]', options_for_select(['open', 'closed']), prompt: "Status") |
app/views/projects/issues/update.js.haml
@@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
6 | $('.issue-box .context').html("#{escape_javascript(render partial: 'issue_context', locals: { issue: @issue })}"); | 6 | $('.issue-box .context').html("#{escape_javascript(render partial: 'issue_context', locals: { issue: @issue })}"); |
7 | $('.issue-box .context').effect('highlight'); | 7 | $('.issue-box .context').effect('highlight'); |
8 | $('.chosen').chosen(); | 8 | $('.chosen').chosen(); |
9 | - $('.edit-issue.inline-update input[type="submit"]').gl-hide(); | 9 | + $('.edit-issue.inline-update input[type="submit"]').hide(); |
10 | - if @issue.milestone | 10 | - if @issue.milestone |
11 | $('.milestone-nav-link').replaceWith("#{escape_javascript(link_to "| #{@issue.milestone.title}", project_milestone_path(@issue.project, @issue.milestone), :class => 'milestone-nav-link')}") | 11 | $('.milestone-nav-link').replaceWith("#{escape_javascript(link_to "| #{@issue.milestone.title}", project_milestone_path(@issue.project, @issue.milestone), :class => 'milestone-nav-link')}") |
12 | - else | 12 | - else |
app/views/projects/merge_requests/show/_commits.html.haml
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | 8 of #{@commits.count} commits displayed. | 12 | 8 of #{@commits.count} commits displayed. |
13 | %strong | 13 | %strong |
14 | %a.show-all-commits Click here to show all | 14 | %a.show-all-commits Click here to show all |
15 | - %ul.all-commits.gl-hide.well-list | 15 | + %ul.all-commits.hide.well-list |
16 | - @commits.each do |commit| | 16 | - @commits.each do |commit| |
17 | = render "projects/commits/commit", commit: commit, project: @merge_request.source_project | 17 | = render "projects/commits/commit", commit: commit, project: @merge_request.source_project |
18 | 18 |
app/views/projects/merge_requests/show/_how_to_merge.html.haml
1 | -%div#modal_merge_info.modal.gl-hide | 1 | +%div#modal_merge_info.modal.hide |
2 | .modal-header | 2 | .modal-header |
3 | %a.close{href: "#", "data-dismiss" => "modal"} × | 3 | %a.close{href: "#", "data-dismiss" => "modal"} × |
4 | %h3 How to merge | 4 | %h3 How to merge |
@@ -46,6 +46,6 @@ | @@ -46,6 +46,6 @@ | ||
46 | modal.show(); | 46 | modal.show(); |
47 | }); | 47 | }); |
48 | $('.modal-header .close').bind("click", function(){ | 48 | $('.modal-header .close').bind("click", function(){ |
49 | - modal.gl-hide(); | 49 | + modal.hide(); |
50 | }) | 50 | }) |
51 | }) | 51 | }) |
app/views/projects/merge_requests/show/_mr_accept.html.haml
@@ -46,7 +46,7 @@ | @@ -46,7 +46,7 @@ | ||
46 | .alert.alert-info | 46 | .alert.alert-info |
47 | %strong This merge request already can not be merged. Try to reload page. | 47 | %strong This merge request already can not be merged. Try to reload page. |
48 | 48 | ||
49 | - .merge-in-progress.gl-hide | 49 | + .merge-in-progress.hide |
50 | %span.cgray | 50 | %span.cgray |
51 | %i.icon-refresh.icon-spin | 51 | %i.icon-refresh.icon-spin |
52 | | 52 | |
app/views/projects/new.html.haml
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | = link_to "#", class: 'js-toggle-visibility-link' do | 13 | = link_to "#", class: 'js-toggle-visibility-link' do |
14 | %span Customize repository name? | 14 | %span Customize repository name? |
15 | 15 | ||
16 | - .form-group.js-toggle-visibility-container.gl-hide | 16 | + .form-group.js-toggle-visibility-container.hide |
17 | = f.label :path, class: 'control-label' do | 17 | = f.label :path, class: 'control-label' do |
18 | %span Repository name | 18 | %span Repository name |
19 | .col-sm-10 | 19 | .col-sm-10 |
@@ -60,7 +60,7 @@ | @@ -60,7 +60,7 @@ | ||
60 | = link_to new_group_path, class: "btn btn-tiny" do | 60 | = link_to new_group_path, class: "btn btn-tiny" do |
61 | Create a group | 61 | Create a group |
62 | 62 | ||
63 | -.save-project-loader.gl-hide | 63 | +.save-project-loader.hide |
64 | %center | 64 | %center |
65 | = image_tag "ajax_loader.gif" | 65 | = image_tag "ajax_loader.gif" |
66 | %h3 Creating project & repository. | 66 | %h3 Creating project & repository. |
app/views/projects/notes/_discussion.html.haml
@@ -40,7 +40,7 @@ | @@ -40,7 +40,7 @@ | ||
40 | .file= render "projects/notes/discussion_diff", discussion_notes: discussion_notes, note: note | 40 | .file= render "projects/notes/discussion_diff", discussion_notes: discussion_notes, note: note |
41 | - else | 41 | - else |
42 | = link_to 'show outdated discussion', '#', class: 'js-show-outdated-discussion' | 42 | = link_to 'show outdated discussion', '#', class: 'js-show-outdated-discussion' |
43 | - %div.gl-hide.outdated-discussion | 43 | + %div.hide.outdated-discussion |
44 | .content | 44 | .content |
45 | .notes{ rel: discussion_notes.first.discussion_id } | 45 | .notes{ rel: discussion_notes.first.discussion_id } |
46 | = render discussion_notes | 46 | = render discussion_notes |
@@ -53,7 +53,7 @@ | @@ -53,7 +53,7 @@ | ||
53 | = render "projects/notes/discussion_reply_button", note: discussion_notes.first | 53 | = render "projects/notes/discussion_reply_button", note: discussion_notes.first |
54 | 54 | ||
55 | -# will be shown when the other one is hidden | 55 | -# will be shown when the other one is hidden |
56 | - .discussion-hidden.content.gl-hide | 56 | + .discussion-hidden.content.hide |
57 | .note | 57 | .note |
58 | %em Hidden discussion. | 58 | %em Hidden discussion. |
59 | = link_to "javascript:;", class: "js-details-target js-toggler-target" do | 59 | = link_to "javascript:;", class: "js-details-target js-toggler-target" do |
app/views/projects/notes/_form.html.haml
@@ -33,6 +33,6 @@ | @@ -33,6 +33,6 @@ | ||
33 | %span Choose File ... | 33 | %span Choose File ... |
34 | | 34 | |
35 | %span.file_name.js-attachment-filename File name... | 35 | %span.file_name.js-attachment-filename File name... |
36 | - = f.file_field :attachment, class: "js-note-attachment-input hide" | 36 | + = f.file_field :attachment, class: "js-note-attachment-input hidden" |
37 | 37 | ||
38 | .clearfix | 38 | .clearfix |
app/views/projects/notes/_note.html.haml
@@ -37,7 +37,7 @@ | @@ -37,7 +37,7 @@ | ||
37 | = form_for note, url: project_note_path(@project, note), method: :put, remote: true, authenticity_token: true do |f| | 37 | = form_for note, url: project_note_path(@project, note), method: :put, remote: true, authenticity_token: true do |f| |
38 | = f.text_area :note, class: 'note_text js-note-text js-gfm-input turn-on' | 38 | = f.text_area :note, class: 'note_text js-note-text js-gfm-input turn-on' |
39 | 39 | ||
40 | - .form-actions | 40 | + .form-actions.clearfix |
41 | = f.submit 'Save changes', class: "btn btn-primary btn-save" | 41 | = f.submit 'Save changes', class: "btn btn-primary btn-save" |
42 | 42 | ||
43 | .note-form-option | 43 | .note-form-option |
@@ -46,7 +46,7 @@ | @@ -46,7 +46,7 @@ | ||
46 | %span Choose File ... | 46 | %span Choose File ... |
47 | | 47 | |
48 | %span.file_name.js-attachment-filename File name... | 48 | %span.file_name.js-attachment-filename File name... |
49 | - = f.file_field :attachment, class: "js-note-attachment-input hide" | 49 | + = f.file_field :attachment, class: "js-note-attachment-input hidden" |
50 | 50 | ||
51 | = link_to 'Cancel', "#", class: "btn btn-cancel note-edit-cancel" | 51 | = link_to 'Cancel', "#", class: "btn btn-cancel note-edit-cancel" |
52 | 52 |
app/views/projects/show.html.haml
@@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
5 | = render "events/event_last_push", event: @last_push | 5 | = render "events/event_last_push", event: @last_push |
6 | = render 'shared/event_filter' | 6 | = render 'shared/event_filter' |
7 | .content_list | 7 | .content_list |
8 | - .loading.gl-hide | 8 | + .loading.hide |
9 | .col-md-3.project-side | 9 | .col-md-3.project-side |
10 | .clearfix | 10 | .clearfix |
11 | - if @project.archived? | 11 | - if @project.archived? |
app/views/projects/tree/_blob_item.html.haml
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | = tree_icon(type) | 3 | = tree_icon(type) |
4 | %span= link_to truncate(blob_item.name, length: 40), project_blob_path(@project, tree_join(@id || @commit.id, blob_item.name)) | 4 | %span= link_to truncate(blob_item.name, length: 40), project_blob_path(@project, tree_join(@id || @commit.id, blob_item.name)) |
5 | %td.tree_time_ago.cgray | 5 | %td.tree_time_ago.cgray |
6 | - %span.log_loading.gl-hide | 6 | + %span.log_loading.hide |
7 | Loading commit data... | 7 | Loading commit data... |
8 | = image_tag "ajax_loader_tree.gif", width: 14 | 8 | = image_tag "ajax_loader_tree.gif", width: 14 |
9 | %td.tree_commit{ colspan: 2 } | 9 | %td.tree_commit{ colspan: 2 } |
app/views/projects/tree/_tree_item.html.haml
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | = tree_icon(type) | 3 | = tree_icon(type) |
4 | %span= link_to truncate(tree_item.name, length: 40), project_tree_path(@project, tree_join(@id || @commit.id, tree_item.name)) | 4 | %span= link_to truncate(tree_item.name, length: 40), project_tree_path(@project, tree_join(@id || @commit.id, tree_item.name)) |
5 | %td.tree_time_ago.cgray | 5 | %td.tree_time_ago.cgray |
6 | - %span.log_loading.gl-hide | 6 | + %span.log_loading.hide |
7 | Loading commit data... | 7 | Loading commit data... |
8 | = image_tag "ajax_loader_tree.gif", width: 14 | 8 | = image_tag "ajax_loader_tree.gif", width: 14 |
9 | %td.tree_commit{ colspan: 2 } | 9 | %td.tree_commit{ colspan: 2 } |
app/views/projects/update.js.haml
@@ -4,6 +4,6 @@ | @@ -4,6 +4,6 @@ | ||
4 | - else | 4 | - else |
5 | :plain | 5 | :plain |
6 | $(".project-edit-errors").html("#{escape_javascript(render('errors'))}"); | 6 | $(".project-edit-errors").html("#{escape_javascript(render('errors'))}"); |
7 | - $('.save-project-loader').gl-hide(); | 7 | + $('.save-project-loader').hide(); |
8 | $('.project-edit-container').show(); | 8 | $('.project-edit-container').show(); |
9 | $('.project-edit-content .btn-save').enableButton(); | 9 | $('.project-edit-content .btn-save').enableButton(); |
app/views/projects/walls/show.html.haml
@@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
17 | %span Choose File ... | 17 | %span Choose File ... |
18 | | 18 | |
19 | %span.file_name.js-attachment-filename File name... | 19 | %span.file_name.js-attachment-filename File name... |
20 | - = f.file_field :attachment, class: "js-note-attachment-input hide" | 20 | + = f.file_field :attachment, class: "js-note-attachment-input hidden" |
21 | 21 | ||
22 | .hint.pull-right CTRL + Enter to send message | 22 | .hint.pull-right CTRL + Enter to send message |
23 | .clearfix | 23 | .clearfix |
app/views/projects/wikis/_new.html.haml
app/views/users_groups/_users_group.html.haml
@@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
16 | = link_to group_users_group_path(@group, member), data: { confirm: remove_user_from_group_message(@group, user) }, method: :delete, remote: true, class: "btn-tiny btn btn-remove", title: 'Remove user from group' do | 16 | = link_to group_users_group_path(@group, member), data: { confirm: remove_user_from_group_message(@group, user) }, method: :delete, remote: true, class: "btn-tiny btn btn-remove", title: 'Remove user from group' do |
17 | %i.icon-minus.icon-white | 17 | %i.icon-minus.icon-white |
18 | 18 | ||
19 | - .edit-member.gl-hide.js-toggle-content | 19 | + .edit-member.hide.js-toggle-content |
20 | = form_for [@group, member], remote: true do |f| | 20 | = form_for [@group, member], remote: true do |f| |
21 | .alert.prepend-top-20 | 21 | .alert.prepend-top-20 |
22 | = f.select :group_access, options_for_select(UsersGroup.group_access_roles, member.group_access) | 22 | = f.select :group_access, options_for_select(UsersGroup.group_access_roles, member.group_access) |