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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
abd83bae
Commit
abd83bae
authored
Dec 21, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Admin area using side nav
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
b667a459
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
app/views/layouts/admin.html.haml
app/views/layouts/admin.html.haml
+10
-7
app/views/layouts/nav/_admin.html.haml
app/views/layouts/nav/_admin.html.haml
+1
-1
No files found.
app/views/layouts/admin.html.haml
View file @
abd83bae
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
"Admin area"
%body
{
class:
"#{app_theme} admin"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"#{app_theme}
sidenav
admin"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/broadcast"
=
render
"layouts/head_panel"
,
title:
"Admin area"
%nav
.main-nav.navbar-collapse.collapse
.container
=
render
'layouts/nav/admin'
.container
.content
=
render
"layouts/flash"
=
yield
.page-with-sidebar
.sidebar-wrapper
=
render
'layouts/nav/admin'
.content-wrapper
.container-fluid
.content
=
render
"layouts/flash"
.clearfix
=
yield
=
yield
:embedded_scripts
app/views/layouts/nav/_admin.html.haml
View file @
abd83bae
%ul
%ul
.nav-sidebar.navbar-collapse.collapse
=
nav_link
(
controller: :dashboard
,
html_options:
{
class:
'home'
})
do
=
link_to
admin_root_path
,
title:
"Stats"
do
Overview
...
...
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