Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
a4be4596
Commit
a4be4596
authored
Apr 09, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] Replace .visible-sm-* with .d-block.d-md-none
parent
ec0976eb
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
11 deletions
+11
-11
app/assets/javascripts/vue_shared/components/header_ci_component.vue
...javascripts/vue_shared/components/header_ci_component.vue
+2
-2
app/views/admin/abuse_reports/_abuse_report.html.haml
app/views/admin/abuse_reports/_abuse_report.html.haml
+3
-3
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+1
-1
app/views/projects/commit/_commit_box.html.haml
app/views/projects/commit/_commit_box.html.haml
+1
-1
app/views/projects/jobs/_header.html.haml
app/views/projects/jobs/_header.html.haml
+1
-1
app/views/projects/jobs/_sidebar.html.haml
app/views/projects/jobs/_sidebar.html.haml
+1
-1
app/views/projects/wikis/_sidebar.html.haml
app/views/projects/wikis/_sidebar.html.haml
+1
-1
app/views/shared/_label.html.haml
app/views/shared/_label.html.haml
+1
-1
No files found.
app/assets/javascripts/vue_shared/components/header_ci_component.vue
View file @
a4be4596
...
@@ -163,8 +163,8 @@
...
@@ -163,8 +163,8 @@
<button
<button
v-if=
"hasSidebarButton"
v-if=
"hasSidebarButton"
type=
"button"
type=
"button"
class=
"btn btn-secondary d-block d-sm-none
class=
"btn btn-secondary d-block d-sm-none
d-md-none
visible-sm-block
sidebar-toggle-btn js-sidebar-build-toggle js-sidebar-build-toggle-header"
sidebar-toggle-btn js-sidebar-build-toggle js-sidebar-build-toggle-header"
aria-label=
"Toggle Sidebar"
aria-label=
"Toggle Sidebar"
id=
"toggleSidebar"
id=
"toggleSidebar"
>
>
...
...
app/views/admin/abuse_reports/_abuse_report.html.haml
View file @
a4be4596
-
reporter
=
abuse_report
.
reporter
-
reporter
=
abuse_report
.
reporter
-
user
=
abuse_report
.
user
-
user
=
abuse_report
.
user
%tr
%tr
%th
.d-block.d-sm-none.
visible-sm-block
%th
.d-block.d-sm-none.
d-md-none
%strong
User
%strong
User
%td
%td
-
if
user
-
if
user
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
-
else
-
else
(removed)
(removed)
%td
%td
%strong
.subheading.d-block.d-sm-none.
visible-sm-block
Reported by
%strong
.subheading.d-block.d-sm-none.
d-md-none
Reported by
-
if
reporter
-
if
reporter
=
link_to
reporter
.
name
,
reporter
=
link_to
reporter
.
name
,
reporter
-
else
-
else
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
.light.small
.light.small
=
time_ago_with_tooltip
(
abuse_report
.
created_at
)
=
time_ago_with_tooltip
(
abuse_report
.
created_at
)
%td
%td
%strong
.subheading.d-block.d-sm-none.
visible-sm-block
Message
%strong
.subheading.d-block.d-sm-none.
d-md-none
Message
.message
.message
=
markdown_field
(
abuse_report
,
:message
)
=
markdown_field
(
abuse_report
,
:message
)
%td
%td
...
...
app/views/layouts/header/_default.html.haml
View file @
a4be4596
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
-
if
header_link?
(
:search
)
-
if
header_link?
(
:search
)
%li
.hidden-sm.hidden-xs
%li
.hidden-sm.hidden-xs
=
render
'layouts/search'
unless
current_controller?
(
:search
)
=
render
'layouts/search'
unless
current_controller?
(
:search
)
%li
.
visible-sm-inline-block.d-inline-block.d-sm-none-block
%li
.
d-inline-block.d-sm-none.d-md-none
=
link_to
search_path
,
title:
'Search'
,
aria:
{
label:
"Search"
},
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
=
link_to
search_path
,
title:
'Search'
,
aria:
{
label:
"Search"
},
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
=
sprite_icon
(
'search'
,
size:
16
)
=
sprite_icon
(
'search'
,
size:
16
)
...
...
app/views/projects/commit/_commit_box.html.haml
View file @
a4be4596
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
%span
=
_
(
'Options'
)
%span
=
_
(
'Options'
)
=
icon
(
'caret-down'
)
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right
%li
.d-block.d-sm-none.
visible-sm-block
%li
.d-block.d-sm-none.
d-md-none
=
link_to
project_tree_path
(
@project
,
@commit
)
do
=
link_to
project_tree_path
(
@project
,
@commit
)
do
#{
_
(
'Browse Files'
)
}
#{
_
(
'Browse Files'
)
}
-
unless
@commit
.
has_been_reverted?
(
current_user
)
-
unless
@commit
.
has_been_reverted?
(
current_user
)
...
...
app/views/projects/jobs/_header.html.haml
View file @
a4be4596
...
@@ -27,5 +27,5 @@
...
@@ -27,5 +27,5 @@
=
link_to
"New issue"
,
new_project_issue_path
(
@project
,
issue:
build_failed_issue_options
),
class:
'btn btn-new btn-inverted'
=
link_to
"New issue"
,
new_project_issue_path
(
@project
,
issue:
build_failed_issue_options
),
class:
'btn btn-new btn-inverted'
-
if
can?
(
current_user
,
:update_build
,
@build
)
&&
@build
.
retryable?
-
if
can?
(
current_user
,
:update_build
,
@build
)
&&
@build
.
retryable?
=
link_to
"Retry job"
,
retry_project_job_path
(
@project
,
@build
),
class:
'btn btn-inverted-secondary'
,
method: :post
=
link_to
"Retry job"
,
retry_project_job_path
(
@project
,
@build
),
class:
'btn btn-inverted-secondary'
,
method: :post
%button
.btn.btn-secondary.float-right.d-block.d-sm-none.
visible-sm-block
.build-gutter-toggle.js-sidebar-build-toggle
{
role:
"button"
,
type:
"button"
}
%button
.btn.btn-secondary.float-right.d-block.d-sm-none.
d-md-none
.build-gutter-toggle.js-sidebar-build-toggle
{
role:
"button"
,
type:
"button"
}
=
icon
(
'angle-double-left'
)
=
icon
(
'angle-double-left'
)
app/views/projects/jobs/_sidebar.html.haml
View file @
a4be4596
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
=
@build
.
name
=
@build
.
name
-
if
can?
(
current_user
,
:update_build
,
@build
)
&&
@build
.
retryable?
-
if
can?
(
current_user
,
:update_build
,
@build
)
&&
@build
.
retryable?
=
link_to
"Retry"
,
retry_namespace_project_job_path
(
@project
.
namespace
,
@project
,
@build
),
class:
'js-retry-button float-right btn btn-inverted-secondary btn-retry visible-md-block visible-lg-block'
,
method: :post
=
link_to
"Retry"
,
retry_namespace_project_job_path
(
@project
.
namespace
,
@project
,
@build
),
class:
'js-retry-button float-right btn btn-inverted-secondary btn-retry visible-md-block visible-lg-block'
,
method: :post
%a
.gutter-toggle.float-right.d-block.d-sm-none.
visible-sm-block
.js-sidebar-build-toggle
{
href:
"#"
,
'aria-label'
:
'Toggle Sidebar'
,
role:
'button'
}
%a
.gutter-toggle.float-right.d-block.d-sm-none.
d-md-none
.js-sidebar-build-toggle
{
href:
"#"
,
'aria-label'
:
'Toggle Sidebar'
,
role:
'button'
}
=
icon
(
'angle-double-right'
)
=
icon
(
'angle-double-right'
)
#js-details-block-vue
#js-details-block-vue
...
...
app/views/projects/wikis/_sidebar.html.haml
View file @
a4be4596
%aside
.right-sidebar.right-sidebar-expanded.wiki-sidebar.js-wiki-sidebar.js-right-sidebar
{
data:
{
"offset-top"
=>
"50"
,
"spy"
=>
"affix"
}
}
%aside
.right-sidebar.right-sidebar-expanded.wiki-sidebar.js-wiki-sidebar.js-right-sidebar
{
data:
{
"offset-top"
=>
"50"
,
"spy"
=>
"affix"
}
}
.sidebar-container
.sidebar-container
.block.wiki-sidebar-header.append-bottom-default
.block.wiki-sidebar-header.append-bottom-default
%a
.gutter-toggle.float-right.d-block.d-sm-none.
visible-sm-block
.js-sidebar-wiki-toggle
{
href:
"#"
}
%a
.gutter-toggle.float-right.d-block.d-sm-none.
d-md-none
.js-sidebar-wiki-toggle
{
href:
"#"
}
=
icon
(
'angle-double-right'
)
=
icon
(
'angle-double-right'
)
-
git_access_url
=
project_wikis_git_access_path
(
@project
)
-
git_access_url
=
project_wikis_git_access_path
(
@project
)
...
...
app/views/shared/_label.html.haml
View file @
a4be4596
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
%li
.label-list-item
{
id:
label_css_id
,
data:
{
id:
label
.
id
}
}
%li
.label-list-item
{
id:
label_css_id
,
data:
{
id:
label
.
id
}
}
=
render
"shared/label_row"
,
label:
label
=
render
"shared/label_row"
,
label:
label
.visible-xs.
visible-sm-inline-block
.dropdown
.visible-xs.
d-inline-block.d-md-none
.dropdown
%button
.btn.btn-secondary.label-options-toggle
{
type:
'button'
,
data:
{
toggle:
"dropdown"
}
}
%button
.btn.btn-secondary.label-options-toggle
{
type:
'button'
,
data:
{
toggle:
"dropdown"
}
}
Options
Options
=
icon
(
'caret-down'
)
=
icon
(
'caret-down'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment