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
Tatuya Kamada
gitlab-ce
Commits
de729a1e
Commit
de729a1e
authored
Sep 21, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ci-nav-fw' into 'master'
Use fixed-width icons in CI nav sidebar. See merge request !1376
parents
f4a87d9f
09e0f8ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
app/views/layouts/ci/_nav_admin.html.haml
app/views/layouts/ci/_nav_admin.html.haml
+5
-5
app/views/layouts/ci/_nav_project.html.haml
app/views/layouts/ci/_nav_project.html.haml
+9
-9
No files found.
app/views/layouts/ci/_nav_admin.html.haml
View file @
de729a1e
...
@@ -8,26 +8,26 @@
...
@@ -8,26 +8,26 @@
%li
.separate-item
%li
.separate-item
=
nav_link
path:
'projects#index'
do
=
nav_link
path:
'projects#index'
do
=
link_to
ci_admin_projects_path
do
=
link_to
ci_admin_projects_path
do
%i
.fa.fa-list-alt
=
icon
(
'list-alt fw'
)
Projects
Projects
=
nav_link
path:
'events#index'
do
=
nav_link
path:
'events#index'
do
=
link_to
ci_admin_events_path
do
=
link_to
ci_admin_events_path
do
%i
.fa.fa-book
=
icon
(
'book fw'
)
Events
Events
=
nav_link
path:
[
'runners#index'
,
'runners#show'
]
do
=
nav_link
path:
[
'runners#index'
,
'runners#show'
]
do
=
link_to
ci_admin_runners_path
do
=
link_to
ci_admin_runners_path
do
%i
.fa.fa-cog
=
icon
(
'cog fw'
)
Runners
Runners
%small
.pull-right
%small
.pull-right
=
Ci
::
Runner
.
count
(
:all
)
=
Ci
::
Runner
.
count
(
:all
)
=
nav_link
path:
'builds#index'
do
=
nav_link
path:
'builds#index'
do
=
link_to
ci_admin_builds_path
do
=
link_to
ci_admin_builds_path
do
%i
.fa.fa-link
=
icon
(
'link fw'
)
Builds
Builds
%small
.pull-right
%small
.pull-right
=
Ci
::
Build
.
count
(
:all
)
=
Ci
::
Build
.
count
(
:all
)
=
nav_link
(
controller: :application_settings
,
html_options:
{
class:
'separate-item'
})
do
=
nav_link
(
controller: :application_settings
,
html_options:
{
class:
'separate-item'
})
do
=
link_to
ci_admin_application_settings_path
do
=
link_to
ci_admin_application_settings_path
do
%i
.fa.fa-cogs
=
icon
(
'cogs fw'
)
%span
%span
Settings
Settings
app/views/layouts/ci/_nav_project.html.haml
View file @
de729a1e
...
@@ -6,48 +6,48 @@
...
@@ -6,48 +6,48 @@
%li
.separate-item
%li
.separate-item
=
nav_link
path:
[
'projects#show'
,
'commits#show'
,
'builds#show'
]
do
=
nav_link
path:
[
'projects#show'
,
'commits#show'
,
'builds#show'
]
do
=
link_to
ci_project_path
(
@project
)
do
=
link_to
ci_project_path
(
@project
)
do
%i
.fa.fa-list-alt
=
icon
(
'list-alt fw'
)
%span
%span
Commits
Commits
%span
.count
=
@project
.
commits
.
count
%span
.count
=
@project
.
commits
.
count
=
nav_link
path:
'charts#show'
do
=
nav_link
path:
'charts#show'
do
=
link_to
ci_project_charts_path
(
@project
)
do
=
link_to
ci_project_charts_path
(
@project
)
do
%i
.fa.fa-bar-chart
=
icon
(
'bar-chart fw'
)
%span
%span
Charts
Charts
=
nav_link
path:
[
'runners#index'
,
'runners#show'
,
'runners#edit'
]
do
=
nav_link
path:
[
'runners#index'
,
'runners#show'
,
'runners#edit'
]
do
=
link_to
ci_project_runners_path
(
@project
)
do
=
link_to
ci_project_runners_path
(
@project
)
do
%i
.fa.fa-cog
=
icon
(
'cog fw'
)
%span
%span
Runners
Runners
=
nav_link
path:
'variables#show'
do
=
nav_link
path:
'variables#show'
do
=
link_to
ci_project_variables_path
(
@project
)
do
=
link_to
ci_project_variables_path
(
@project
)
do
%i
.fa.fa-code
=
icon
(
'code fw'
)
%span
%span
Variables
Variables
=
nav_link
path:
'web_hooks#index'
do
=
nav_link
path:
'web_hooks#index'
do
=
link_to
ci_project_web_hooks_path
(
@project
)
do
=
link_to
ci_project_web_hooks_path
(
@project
)
do
%i
.fa.fa-link
=
icon
(
'link fw'
)
%span
%span
Web Hooks
Web Hooks
=
nav_link
path:
'triggers#index'
do
=
nav_link
path:
'triggers#index'
do
=
link_to
ci_project_triggers_path
(
@project
)
do
=
link_to
ci_project_triggers_path
(
@project
)
do
%i
.fa.fa-retweet
=
icon
(
'retweet fw'
)
%span
%span
Triggers
Triggers
=
nav_link
path:
[
'services#index'
,
'services#edit'
]
do
=
nav_link
path:
[
'services#index'
,
'services#edit'
]
do
=
link_to
ci_project_services_path
(
@project
)
do
=
link_to
ci_project_services_path
(
@project
)
do
%i
.fa.fa-share
=
icon
(
'share fw'
)
%span
%span
Services
Services
=
nav_link
path:
'events#index'
do
=
nav_link
path:
'events#index'
do
=
link_to
ci_project_events_path
(
@project
)
do
=
link_to
ci_project_events_path
(
@project
)
do
%i
.fa.fa-book
=
icon
(
'book fw'
)
%span
%span
Events
Events
%li
.separate-item
%li
.separate-item
=
nav_link
path:
'projects#edit'
do
=
nav_link
path:
'projects#edit'
do
=
link_to
edit_ci_project_path
(
@project
)
do
=
link_to
edit_ci_project_path
(
@project
)
do
%i
.fa.fa-cogs
=
icon
(
'cogs fw'
)
%span
%span
Settings
Settings
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