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
Boxiang Sun
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
Hide 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 @@
<button
v-if=
"hasSidebarButton"
type=
"button"
class=
"btn btn-secondary d-block d-sm-none
visible-sm-block
sidebar-toggle-btn js-sidebar-build-toggle js-sidebar-build-toggle-header"
class=
"btn btn-secondary d-block d-sm-none
d-md-none
sidebar-toggle-btn js-sidebar-build-toggle js-sidebar-build-toggle-header"
aria-label=
"Toggle Sidebar"
id=
"toggleSidebar"
>
...
...
app/views/admin/abuse_reports/_abuse_report.html.haml
View file @
a4be4596
-
reporter
=
abuse_report
.
reporter
-
user
=
abuse_report
.
user
%tr
%th
.d-block.d-sm-none.
visible-sm-block
%th
.d-block.d-sm-none.
d-md-none
%strong
User
%td
-
if
user
...
...
@@ -11,7 +11,7 @@
-
else
(removed)
%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
=
link_to
reporter
.
name
,
reporter
-
else
...
...
@@ -19,7 +19,7 @@
.light.small
=
time_ago_with_tooltip
(
abuse_report
.
created_at
)
%td
%strong
.subheading.d-block.d-sm-none.
visible-sm-block
Message
%strong
.subheading.d-block.d-sm-none.
d-md-none
Message
.message
=
markdown_field
(
abuse_report
,
:message
)
%td
...
...
app/views/layouts/header/_default.html.haml
View file @
a4be4596
...
...
@@ -23,7 +23,7 @@
-
if
header_link?
(
:search
)
%li
.hidden-sm.hidden-xs
=
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
=
sprite_icon
(
'search'
,
size:
16
)
...
...
app/views/projects/commit/_commit_box.html.haml
View file @
a4be4596
...
...
@@ -29,7 +29,7 @@
%span
=
_
(
'Options'
)
=
icon
(
'caret-down'
)
%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
#{
_
(
'Browse Files'
)
}
-
unless
@commit
.
has_been_reverted?
(
current_user
)
...
...
app/views/projects/jobs/_header.html.haml
View file @
a4be4596
...
...
@@ -27,5 +27,5 @@
=
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?
=
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'
)
app/views/projects/jobs/_sidebar.html.haml
View file @
a4be4596
...
...
@@ -6,7 +6,7 @@
=
@build
.
name
-
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
%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'
)
#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"
}
}
.sidebar-container
.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'
)
-
git_access_url
=
project_wikis_git_access_path
(
@project
)
...
...
app/views/shared/_label.html.haml
View file @
a4be4596
...
...
@@ -8,7 +8,7 @@
%li
.label-list-item
{
id:
label_css_id
,
data:
{
id:
label
.
id
}
}
=
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"
}
}
Options
=
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