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
51ee71d8
Commit
51ee71d8
authored
Dec 17, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate public layouts to new design
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
eb2face2
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
16 deletions
+28
-16
app/views/layouts/explore.html.haml
app/views/layouts/explore.html.haml
+1
-1
app/views/layouts/nav/_group.html.haml
app/views/layouts/nav/_group.html.haml
+5
-4
app/views/layouts/public_group.html.haml
app/views/layouts/public_group.html.haml
+11
-5
app/views/layouts/public_projects.html.haml
app/views/layouts/public_projects.html.haml
+10
-5
app/views/layouts/public_users.html.haml
app/views/layouts/public_users.html.haml
+1
-1
No files found.
app/views/layouts/explore.html.haml
View file @
51ee71d8
...
...
@@ -2,7 +2,7 @@
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
page_title
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"#{app_theme}
sidenav
application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/broadcast"
-
if
current_user
=
render
"layouts/head_panel"
,
title:
page_title
...
...
app/views/layouts/nav/_group.html.haml
View file @
51ee71d8
...
...
@@ -3,6 +3,7 @@
=
link_to
group_path
(
@group
),
title:
"Home"
do
%i
.fa.fa-dashboard
Activity
-
if
current_user
=
nav_link
(
controller:
[
:group
,
:milestones
])
do
=
link_to
group_milestones_path
(
@group
)
do
%i
.fa.fa-clock-o
...
...
app/views/layouts/public_group.html.haml
View file @
51ee71d8
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
group_head_title
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"#{app_theme}
sidenav
application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/broadcast"
=
render
"layouts/public_head_panel"
,
title:
"group:
#{
@group
.
name
}
"
%nav
.main-nav.navbar-collapse.collapse
.container
=
render
'layouts/nav/group'
.container
.content
=
yield
.page-with-sidebar
.sidebar-wrapper
=
render
'layouts/nav/group'
.content-wrapper
.container-fluid
.content
=
render
"layouts/flash"
.clearfix
=
yield
=
yield
:embedded_scripts
app/views/layouts/public_projects.html.haml
View file @
51ee71d8
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
@project
.
name_with_namespace
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"#{app_theme}
sidenav
application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/broadcast"
=
render
"layouts/public_head_panel"
,
title:
project_title
(
@project
)
%nav
.main-nav.navbar-collapse.collapse
.container
=
render
'layouts/nav/project'
.container
.content
=
yield
.page-with-sidebar
.sidebar-wrapper
=
render
'layouts/nav/project'
.content-wrapper
.container-fluid
.content
=
render
"layouts/flash"
=
yield
=
yield
:embedded_scripts
app/views/layouts/public_users.html.haml
View file @
51ee71d8
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
@title
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"#{app_theme}
sidenav
application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/broadcast"
=
render
"layouts/public_head_panel"
,
title:
@title
.container.navless-container
...
...
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