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
fee51cf6
Commit
fee51cf6
authored
Apr 10, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] Convert visible- classes
parent
38297512
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
app/views/admin/conversational_development_index/show.html.haml
...ews/admin/conversational_development_index/show.html.haml
+1
-1
app/views/dashboard/snippets/index.html.haml
app/views/dashboard/snippets/index.html.haml
+1
-1
app/views/layouts/nav/_dashboard.html.haml
app/views/layouts/nav/_dashboard.html.haml
+4
-4
app/views/projects/new.html.haml
app/views/projects/new.html.haml
+3
-3
app/views/projects/wikis/git_access.html.haml
app/views/projects/wikis/git_access.html.haml
+1
-1
app/views/shared/_label.html.haml
app/views/shared/_label.html.haml
+1
-1
No files found.
app/views/admin/conversational_development_index/show.html.haml
View file @
fee51cf6
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
-
@metric
.
cards
.
each
do
|
card
|
-
@metric
.
cards
.
each
do
|
card
|
=
render
'card'
,
card:
card
=
render
'card'
,
card:
card
.convdev-steps.
visible-lg
.convdev-steps.
d-none.d-lg-block.d-xl-block
-
@metric
.
idea_to_production_steps
.
each_with_index
do
|
step
,
index
|
-
@metric
.
idea_to_production_steps
.
each_with_index
do
|
step
,
index
|
.convdev-step
{
class:
"convdev-#{score_level(step.percentage_score)}-score"
}
.convdev-step
{
class:
"convdev-#{score_level(step.percentage_score)}-score"
}
=
custom_icon
(
"i2p_step_
#{
index
+
1
}
"
)
=
custom_icon
(
"i2p_step_
#{
index
+
1
}
"
)
...
...
app/views/dashboard/snippets/index.html.haml
View file @
fee51cf6
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
=
render
'dashboard/snippets_head'
=
render
'dashboard/snippets_head'
=
render
partial:
'snippets/snippets_scope_menu'
,
locals:
{
include_private:
true
}
=
render
partial:
'snippets/snippets_scope_menu'
,
locals:
{
include_private:
true
}
.
visible-xs
.
d-block.d-sm-none
=
link_to
new_snippet_path
,
class:
"btn btn-new btn-block"
,
title:
"New snippet"
do
=
link_to
new_snippet_path
,
class:
"btn btn-new btn-block"
,
title:
"New snippet"
do
New snippet
New snippet
...
...
app/views/layouts/nav/_dashboard.html.haml
View file @
fee51cf6
...
@@ -13,17 +13,17 @@
...
@@ -13,17 +13,17 @@
Groups
Groups
-
if
dashboard_nav_link?
(
:activity
)
-
if
dashboard_nav_link?
(
:activity
)
=
nav_link
(
path:
'dashboard#activity'
,
html_options:
{
class:
"
visible-lg
"
})
do
=
nav_link
(
path:
'dashboard#activity'
,
html_options:
{
class:
"
d-none d-lg-block d-xl-block
"
})
do
=
link_to
activity_dashboard_path
,
class:
'dashboard-shortcuts-activity'
,
title:
'Activity'
do
=
link_to
activity_dashboard_path
,
class:
'dashboard-shortcuts-activity'
,
title:
'Activity'
do
Activity
Activity
-
if
dashboard_nav_link?
(
:milestones
)
-
if
dashboard_nav_link?
(
:milestones
)
=
nav_link
(
controller:
'dashboard/milestones'
,
html_options:
{
class:
"
visible-lg
"
})
do
=
nav_link
(
controller:
'dashboard/milestones'
,
html_options:
{
class:
"
d-none d-lg-block d-xl-block
"
})
do
=
link_to
dashboard_milestones_path
,
class:
'dashboard-shortcuts-milestones'
,
title:
'Milestones'
do
=
link_to
dashboard_milestones_path
,
class:
'dashboard-shortcuts-milestones'
,
title:
'Milestones'
do
Milestones
Milestones
-
if
dashboard_nav_link?
(
:snippets
)
-
if
dashboard_nav_link?
(
:snippets
)
=
nav_link
(
controller:
'dashboard/snippets'
,
html_options:
{
class:
"
visible-lg
"
})
do
=
nav_link
(
controller:
'dashboard/snippets'
,
html_options:
{
class:
"
d-none d-lg-block d-xl-block
"
})
do
=
link_to
dashboard_snippets_path
,
class:
'dashboard-shortcuts-snippets'
,
title:
'Snippets'
do
=
link_to
dashboard_snippets_path
,
class:
'dashboard-shortcuts-snippets'
,
title:
'Snippets'
do
Snippets
Snippets
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
.dropdown-menu
.dropdown-menu
%ul
%ul
-
if
dashboard_nav_link?
(
:groups
)
-
if
dashboard_nav_link?
(
:groups
)
=
nav_link
(
controller:
[
'dashboard/groups'
,
'explore/groups'
],
html_options:
{
class:
"
visible-xs
"
})
do
=
nav_link
(
controller:
[
'dashboard/groups'
,
'explore/groups'
],
html_options:
{
class:
"
d-block d-sm-none
"
})
do
=
link_to
dashboard_groups_path
,
class:
'dashboard-shortcuts-groups'
,
title:
'Groups'
do
=
link_to
dashboard_groups_path
,
class:
'dashboard-shortcuts-groups'
,
title:
'Groups'
do
Groups
Groups
...
...
app/views/projects/new.html.haml
View file @
fee51cf6
...
@@ -32,15 +32,15 @@
...
@@ -32,15 +32,15 @@
%li
{
class:
active_when
(
active_tab
==
'blank'
),
role:
'presentation'
}
%li
{
class:
active_when
(
active_tab
==
'blank'
),
role:
'presentation'
}
%a
{
href:
'#blank-project-pane'
,
id:
'blank-project-tab'
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%a
{
href:
'#blank-project-pane'
,
id:
'blank-project-tab'
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%span
.d-none.d-sm-block
Blank project
%span
.d-none.d-sm-block
Blank project
%span
.
visible-xs
Blank
%span
.
d-block.d-sm-none
Blank
%li
{
class:
active_when
(
active_tab
==
'template'
),
role:
'presentation'
}
%li
{
class:
active_when
(
active_tab
==
'template'
),
role:
'presentation'
}
%a
{
href:
'#create-from-template-pane'
,
id:
'create-from-template-tab'
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%a
{
href:
'#create-from-template-pane'
,
id:
'create-from-template-tab'
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%span
.d-none.d-sm-block
Create from template
%span
.d-none.d-sm-block
Create from template
%span
.
visible-xs
Template
%span
.
d-block.d-sm-none
Template
%li
{
class:
active_when
(
active_tab
==
'import'
),
role:
'presentation'
}
%li
{
class:
active_when
(
active_tab
==
'import'
),
role:
'presentation'
}
%a
{
href:
'#import-project-pane'
,
id:
'import-project-tab'
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%a
{
href:
'#import-project-pane'
,
id:
'import-project-tab'
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%span
.d-none.d-sm-block
Import project
%span
.d-none.d-sm-block
Import project
%span
.
visible-xs
Import
%span
.
d-block.d-sm-none
Import
.tab-content.gitlab-tab-content
.tab-content.gitlab-tab-content
.tab-pane
{
id:
'blank-project-pane'
,
class:
active_when
(
active_tab
==
'blank'
),
role:
'tabpanel'
}
.tab-pane
{
id:
'blank-project-pane'
,
class:
active_when
(
active_tab
==
'blank'
),
role:
'tabpanel'
}
...
...
app/views/projects/wikis/git_access.html.haml
View file @
fee51cf6
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
-
page_title
s_
(
"WikiClone|Git Access"
),
_
(
"Wiki"
)
-
page_title
s_
(
"WikiClone|Git Access"
),
_
(
"Wiki"
)
.wiki-page-header.has-sidebar-toggle
.wiki-page-header.has-sidebar-toggle
%button
.btn.btn-secondary.
visible-xs.visible-sm
.float-right.sidebar-toggle.js-sidebar-wiki-toggle
{
role:
"button"
,
type:
"button"
}
%button
.btn.btn-secondary.
d-block.d-sm-block.d-md-none
.float-right.sidebar-toggle.js-sidebar-wiki-toggle
{
role:
"button"
,
type:
"button"
}
=
icon
(
'angle-double-left'
)
=
icon
(
'angle-double-left'
)
.git-access-header
.git-access-header
...
...
app/views/shared/_label.html.haml
View file @
fee51cf6
...
@@ -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.d-inline-block.d-md
-none.dropdown
.
d-inline-block.d-sm
-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