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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
a30a5663
Commit
a30a5663
authored
Feb 25, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'refactor-header' into 'master'
UI: refactor header css See merge request !1591
parents
5b7747bd
878e86bf
Changes
25
Show whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
114 additions
and
239 deletions
+114
-239
app/assets/images/logo-black.png
app/assets/images/logo-black.png
+0
-0
app/assets/images/logo-white.png
app/assets/images/logo-white.png
+0
-0
app/assets/stylesheets/sections/header.scss
app/assets/stylesheets/sections/header.scss
+15
-82
app/assets/stylesheets/themes/dark-theme.scss
app/assets/stylesheets/themes/dark-theme.scss
+63
-0
app/assets/stylesheets/themes/ui_basic.scss
app/assets/stylesheets/themes/ui_basic.scss
+9
-2
app/assets/stylesheets/themes/ui_color.scss
app/assets/stylesheets/themes/ui_color.scss
+2
-38
app/assets/stylesheets/themes/ui_gray.scss
app/assets/stylesheets/themes/ui_gray.scss
+2
-28
app/assets/stylesheets/themes/ui_mars.scss
app/assets/stylesheets/themes/ui_mars.scss
+2
-34
app/assets/stylesheets/themes/ui_modern.scss
app/assets/stylesheets/themes/ui_modern.scss
+2
-38
app/helpers/appearances_helper.rb
app/helpers/appearances_helper.rb
+4
-0
app/views/layouts/_head_panel.html.haml
app/views/layouts/_head_panel.html.haml
+1
-1
app/views/layouts/_public_head_panel.html.haml
app/views/layouts/_public_head_panel.html.haml
+1
-3
app/views/layouts/admin.html.haml
app/views/layouts/admin.html.haml
+1
-1
app/views/layouts/application.html.haml
app/views/layouts/application.html.haml
+1
-1
app/views/layouts/errors.html.haml
app/views/layouts/errors.html.haml
+1
-1
app/views/layouts/explore.html.haml
app/views/layouts/explore.html.haml
+1
-1
app/views/layouts/group.html.haml
app/views/layouts/group.html.haml
+1
-1
app/views/layouts/navless.html.haml
app/views/layouts/navless.html.haml
+1
-1
app/views/layouts/profile.html.haml
app/views/layouts/profile.html.haml
+1
-1
app/views/layouts/project_settings.html.haml
app/views/layouts/project_settings.html.haml
+1
-1
app/views/layouts/projects.html.haml
app/views/layouts/projects.html.haml
+1
-1
app/views/layouts/public_group.html.haml
app/views/layouts/public_group.html.haml
+1
-1
app/views/layouts/public_projects.html.haml
app/views/layouts/public_projects.html.haml
+1
-1
app/views/layouts/public_users.html.haml
app/views/layouts/public_users.html.haml
+1
-1
app/views/layouts/search.html.haml
app/views/layouts/search.html.haml
+1
-1
No files found.
app/assets/images/logo-black.png
deleted
100644 → 0
View file @
5b7747bd
2.55 KB
app/assets/images/logo-white.png
View replaced file @
5b7747bd
View file @
a30a5663
7.16 KB
|
W:
|
H:
7.52 KB
|
W:
|
H:
2-up
Swipe
Onion skin
app/assets/stylesheets/sections/header.scss
View file @
a30a5663
...
@@ -86,7 +86,7 @@ header {
...
@@ -86,7 +86,7 @@ header {
.container
{
.container
{
width
:
100%
!
important
;
width
:
100%
!
important
;
padding
-left
:
0px
;
padding
:
0px
;
}
}
/**
/**
...
@@ -100,18 +100,14 @@ header {
...
@@ -100,18 +100,14 @@ header {
a
{
a
{
float
:
left
;
float
:
left
;
padding
:
0px
;
padding
:
5px
0
;
margin
:
0
6px
;
h1
{
margin
:
0
;
background
:
image-url
(
'logo-black.png'
)
no-repeat
center
center
;
background-size
:
32px
;
float
:
left
;
height
:
46px
;
height
:
46px
;
width
:
40px
;
width
:
52px
;
@include
header-font
;
text-align
:
center
;
text-indent
:
-9999px
;
img
{
width
:
36px
;
height
:
36px
;
}
}
}
}
&
:hover
{
&
:hover
{
...
@@ -134,14 +130,13 @@ header {
...
@@ -134,14 +130,13 @@ header {
}
}
.profile-pic
{
.profile-pic
{
position
:
relative
;
padding
:
0px
!
important
;
top
:
-1px
;
width
:
46px
;
padding-right
:
0px
!
important
;
height
:
46px
;
img
{
width
:
50px
;
height
:
50px
;
margin
:
-15px
;
margin-left
:
5px
;
margin-left
:
5px
;
img
{
width
:
46px
;
height
:
46px
;
}
}
}
}
...
@@ -174,68 +169,6 @@ header {
...
@@ -174,68 +169,6 @@ header {
@include
transition
(
all
0
.15s
ease-in
0s
);
@include
transition
(
all
0
.15s
ease-in
0s
);
}
}
}
}
/*
* Dark header
*
*/
&
.header-dark
{
&
.navbar-gitlab
{
.navbar-inner
{
background
:
#708090
;
border-bottom
:
1px
solid
#AAA
;
.navbar-toggle
{
color
:
#fff
;
}
.nav
>
li
>
a
{
color
:
#AAA
;
&
:hover
,
&
:focus
,
&
:active
{
background
:
none
;
color
:
#FFF
;
}
}
}
}
.turbolink-spinner
{
color
:
#FFF
;
}
.search
{
.search-input
{
background-color
:
#D2D5DA
;
background-color
:
rgba
(
255
,
255
,
255
,
0
.5
);
border
:
1px
solid
#AAA
;
&
:focus
{
background-color
:
white
;
}
}
}
.
search-input
:
:-
webkit-input-placeholder
{
color
:
#666
;
}
.app_logo
{
a
{
h1
{
background
:
image-url
(
'logo-white.png'
)
no-repeat
center
center
;
background-size
:
32px
;
color
:
#fff
;
}
}
}
.title
{
a
{
color
:
#FFF
;
&
:hover
{
text-decoration
:
underline
;
}
}
color
:
#fff
;
}
}
}
}
.search
.search-input
{
.search
.search-input
{
...
...
app/assets/stylesheets/themes/dark-theme.scss
0 → 100644
View file @
a30a5663
@mixin
dark-theme
(
$color-light
,
$color
,
$color-darker
,
$color-dark
)
{
header
{
&
.navbar-gitlab
{
.navbar-inner
{
background
:
$color
;
.navbar-toggle
{
color
:
#FFF
;
}
.app_logo
,
.navbar-toggle
{
&
:hover
{
background-color
:
$color-darker
;
}
}
.app_logo
{
background-color
:
$color-dark
;
}
.title
{
color
:
#FFF
;
a
{
color
:
#FFF
;
&
:hover
{
text-decoration
:
underline
;
}
}
}
.search
{
.search-input
{
background-color
:
$color-light
;
background-color
:
rgba
(
255
,
255
,
255
,
0
.5
);
border
:
1px
solid
$color-light
;
&
:focus
{
background-color
:
white
;
}
}
}
.
search-input
:
:-
webkit-input-placeholder
{
color
:
#666
;
}
.nav
>
li
>
a
{
color
:
$color-light
;
&
:hover
,
&
:focus
,
&
:active
{
background
:
none
;
color
:
#FFF
;
}
}
.search-input
{
border-color
:
$color-light
;
}
}
}
}
}
app/assets/stylesheets/themes/ui_basic.scss
View file @
a30a5663
...
@@ -10,8 +10,15 @@
...
@@ -10,8 +10,15 @@
background
:
#F1F1F1
;
background
:
#F1F1F1
;
border-bottom
:
1px
solid
#DDD
;
border-bottom
:
1px
solid
#DDD
;
.app_logo
{
.title
{
background-color
:
#DDD
;
color
:
#555
;
a
{
color
:
#555
;
&
:hover
{
text-decoration
:
underline
;
}
}
}
}
.nav
>
li
>
a
{
.nav
>
li
>
a
{
...
...
app/assets/stylesheets/themes/ui_color.scss
View file @
a30a5663
/**
/**
* This file represent some UI that can be changed
* Violet GitLab UI theme
* during web app restyle or theme select.
*
* Next items should be placed there
* - link colors
* - header restyles
*
*/
*/
.ui_color
{
.ui_color
{
/*
@include
dark-theme
(
#98C
,
#548
,
#436
,
#325
);
* Application Header
*
*/
header
{
@extend
.header-dark
;
&
.navbar-gitlab
{
.navbar-inner
{
background
:
#548
;
border-bottom
:
1px
solid
#436
;
.app_logo
,
.navbar-toggle
{
&
:hover
{
background-color
:
#436
;
}
}
.app_logo
{
background-color
:
#325
;
}
.nav
>
li
>
a
{
color
:
#98C
;
}
.search-input
{
border-color
:
#98C
;
}
}
}
}
.nav-pills
>
li
.active
>
a
,
.nav-pills
>
li
.active
>
a
:hover
,
.nav-pills
>
li
.active
>
a
:focus
{
background
:
#659
;
}
}
}
app/assets/stylesheets/themes/ui_gray.scss
View file @
a30a5663
/**
/**
* This file represent some UI that can be changed
* Gray GitLab UI theme
* during web app restyle or theme select.
*
* Next items should be placed there
* - link colors
* - header restyles
*
*/
*/
.ui_gray
{
.ui_gray
{
/*
@include
dark-theme
(
#979797
,
#373737
,
#272727
,
#222222
);
* Application Header
*
*/
header
{
@extend
.header-dark
;
&
.navbar-gitlab
{
.navbar-inner
{
background
:
#373737
;
border-bottom
:
1px
solid
#272727
;
.app_logo
,
.navbar-toggle
{
&
:hover
{
background-color
:
#272727
;
}
}
.app_logo
{
background-color
:
#222
;
}
}
}
}
}
}
app/assets/stylesheets/themes/ui_mars.scss
View file @
a30a5663
/**
/**
* This file represent some UI that can be changed
* Classic GitLab UI theme
* during web app restyle or theme select.
*
* Next items should be placed there
* - link colors
* - header restyles
*
*/
*/
.ui_mars
{
.ui_mars
{
/*
@include
dark-theme
(
#979DA7
,
#474D57
,
#373D47
,
#24272D
);
* Application Header
*
*/
header
{
@extend
.header-dark
;
&
.navbar-gitlab
{
.navbar-inner
{
background
:
#474D57
;
border-bottom
:
1px
solid
#373D47
;
.app_logo
,
.navbar-toggle
{
&
:hover
{
background-color
:
#373D47
;
}
}
.app_logo
{
background-color
:
#24272D
;
}
.nav
>
li
>
a
{
color
:
#979DA7
;
}
.search-input
{
border-color
:
#979DA7
;
}
}
}
}
}
}
app/assets/stylesheets/themes/ui_modern.scss
View file @
a30a5663
/**
/**
* This file represent some UI that can be changed
* Modern GitLab UI theme
* during web app restyle or theme select.
*
* Next items should be placed there
* - link colors
* - header restyles
*
*/
*/
.ui_modern
{
.ui_modern
{
/*
@include
dark-theme
(
#ADC
,
#019875
,
#018865
,
#017855
);
* Application Header
*
*/
header
{
@extend
.header-dark
;
&
.navbar-gitlab
{
.navbar-inner
{
background
:
#019875
;
border-bottom
:
1px
solid
#019875
;
.app_logo
,
.navbar-toggle
{
&
:hover
{
background-color
:
#018865
;
}
}
.app_logo
{
background-color
:
#017855
;
}
.nav
>
li
>
a
{
color
:
#ADC
;
}
.search-input
{
border-color
:
#8ba
;
}
}
}
}
.nav-pills
>
li
.active
>
a
,
.nav-pills
>
li
.active
>
a
:hover
,
.nav-pills
>
li
.active
>
a
:focus
{
background
:
#019875
;
}
}
}
app/helpers/appearances_helper.rb
View file @
a30a5663
...
@@ -14,4 +14,8 @@ module AppearancesHelper
...
@@ -14,4 +14,8 @@ module AppearancesHelper
def
brand_text
def
brand_text
nil
nil
end
end
def
brand_header_logo
image_tag
'logo-white.png'
end
end
end
app/views/layouts/_head_panel.html.haml
View file @
a30a5663
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
.container
.container
%div
.app_logo
%div
.app_logo
=
link_to
root_path
,
class:
"home has_bottom_tooltip"
,
title:
"Dashboard"
do
=
link_to
root_path
,
class:
"home has_bottom_tooltip"
,
title:
"Dashboard"
do
%h1
GITLAB
=
brand_header_logo
%h1
.title
=
title
%h1
.title
=
title
%button
.navbar-toggle
{
"data-target"
=>
".navbar-collapse"
,
"data-toggle"
=>
"collapse"
,
type:
"button"
}
%button
.navbar-toggle
{
"data-target"
=>
".navbar-collapse"
,
"data-toggle"
=>
"collapse"
,
type:
"button"
}
...
...
app/views/layouts/_public_head_panel.html.haml
View file @
a30a5663
...
@@ -2,10 +2,8 @@
...
@@ -2,10 +2,8 @@
.navbar-inner
.navbar-inner
.container
.container
%div
.app_logo
%div
.app_logo
%span
.separator
=
link_to
explore_root_path
,
class:
"home"
do
=
link_to
explore_root_path
,
class:
"home"
do
%h1
GITLAB
=
brand_header_logo
%span
.separator
%h1
.title
=
title
%h1
.title
=
title
%button
.navbar-toggle
{
"data-target"
=>
".navbar-collapse"
,
"data-toggle"
=>
"collapse"
,
type:
"button"
}
%button
.navbar-toggle
{
"data-target"
=>
".navbar-collapse"
,
"data-toggle"
=>
"collapse"
,
type:
"button"
}
...
...
app/views/layouts/admin.html.haml
View file @
a30a5663
!!! 5
!!! 5
%html
{
lang:
"en"
}
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
"Admin area"
=
render
"layouts/head"
,
title:
"Admin area"
%body
{
class:
"#{app_theme}
#{theme_type}
admin"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"#{app_theme} admin"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/head_panel"
,
title:
link_to
(
"Admin area"
,
admin_root_path
)
=
render
"layouts/head_panel"
,
title:
link_to
(
"Admin area"
,
admin_root_path
)
=
render
'layouts/page'
,
sidebar:
'layouts/nav/admin'
=
render
'layouts/page'
,
sidebar:
'layouts/nav/admin'
app/views/layouts/application.html.haml
View file @
a30a5663
!!! 5
!!! 5
%html
{
lang:
"en"
}
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
"Dashboard"
=
render
"layouts/head"
,
title:
"Dashboard"
%body
{
class:
"#{app_theme}
#{theme_type}
application"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/head_panel"
,
title:
link_to
(
"Dashboard"
,
root_path
)
=
render
"layouts/head_panel"
,
title:
link_to
(
"Dashboard"
,
root_path
)
=
render
'layouts/page'
,
sidebar:
'layouts/nav/dashboard'
=
render
'layouts/page'
,
sidebar:
'layouts/nav/dashboard'
app/views/layouts/errors.html.haml
View file @
a30a5663
!!! 5
!!! 5
%html
{
lang:
"en"
}
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
"Error"
=
render
"layouts/head"
,
title:
"Error"
%body
{
class:
"#{app_theme}
#{theme_type}
application"
}
%body
{
class:
"#{app_theme} application"
}
=
render
"layouts/head_panel"
,
title:
""
if
current_user
=
render
"layouts/head_panel"
,
title:
""
if
current_user
.container.navless-container
.container.navless-container
=
render
"layouts/flash"
=
render
"layouts/flash"
...
...
app/views/layouts/explore.html.haml
View file @
a30a5663
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
!!! 5
!!! 5
%html
{
lang:
"en"
}
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
page_title
=
render
"layouts/head"
,
title:
page_title
%body
{
class:
"#{app_theme}
#{theme_type}
application"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/broadcast"
=
render
"layouts/broadcast"
-
if
current_user
-
if
current_user
=
render
"layouts/head_panel"
,
title:
link_to
(
page_title
,
explore_root_path
)
=
render
"layouts/head_panel"
,
title:
link_to
(
page_title
,
explore_root_path
)
...
...
app/views/layouts/group.html.haml
View file @
a30a5663
!!! 5
!!! 5
%html
{
lang:
"en"
}
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
group_head_title
=
render
"layouts/head"
,
title:
group_head_title
%body
{
class:
"#{app_theme}
#{theme_type}
application"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/head_panel"
,
title:
link_to
(
@group
.
name
,
group_path
(
@group
))
=
render
"layouts/head_panel"
,
title:
link_to
(
@group
.
name
,
group_path
(
@group
))
=
render
'layouts/page'
,
sidebar:
'layouts/nav/group'
=
render
'layouts/page'
,
sidebar:
'layouts/nav/group'
app/views/layouts/navless.html.haml
View file @
a30a5663
!!! 5
!!! 5
%html
{
lang:
"en"
}
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
@title
=
render
"layouts/head"
,
title:
@title
%body
{
class:
"#{app_theme}
#{theme_type}
application"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/broadcast"
=
render
"layouts/broadcast"
=
render
"layouts/head_panel"
,
title:
defined?
(
@title_url
)
?
link_to
(
@title
,
@title_url
)
:
@title
=
render
"layouts/head_panel"
,
title:
defined?
(
@title_url
)
?
link_to
(
@title
,
@title_url
)
:
@title
.container.navless-container
.container.navless-container
...
...
app/views/layouts/profile.html.haml
View file @
a30a5663
!!! 5
!!! 5
%html
{
lang:
"en"
}
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
"Profile"
=
render
"layouts/head"
,
title:
"Profile"
%body
{
class:
"#{app_theme}
#{theme_type}
profile"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"#{app_theme} profile"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/head_panel"
,
title:
link_to
(
"Profile"
,
profile_path
)
=
render
"layouts/head_panel"
,
title:
link_to
(
"Profile"
,
profile_path
)
=
render
'layouts/page'
,
sidebar:
'layouts/nav/profile'
=
render
'layouts/page'
,
sidebar:
'layouts/nav/profile'
app/views/layouts/project_settings.html.haml
View file @
a30a5663
!!! 5
!!! 5
%html
{
lang:
"en"
}
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
@project
.
name_with_namespace
=
render
"layouts/head"
,
title:
@project
.
name_with_namespace
%body
{
class:
"#{app_theme}
#{theme_type}
project"
,
:'data-page'
=>
body_data_page
,
:'data-project-id'
=>
@project
.
id
}
%body
{
class:
"#{app_theme} project"
,
:'data-page'
=>
body_data_page
,
:'data-project-id'
=>
@project
.
id
}
=
render
"layouts/head_panel"
,
title:
project_title
(
@project
)
=
render
"layouts/head_panel"
,
title:
project_title
(
@project
)
=
render
"layouts/init_auto_complete"
=
render
"layouts/init_auto_complete"
-
@project_settings_nav
=
true
-
@project_settings_nav
=
true
...
...
app/views/layouts/projects.html.haml
View file @
a30a5663
!!! 5
!!! 5
%html
{
lang:
"en"
}
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
project_head_title
=
render
"layouts/head"
,
title:
project_head_title
%body
{
class:
"#{app_theme}
#{theme_type}
project"
,
:'data-page'
=>
body_data_page
,
:'data-project-id'
=>
@project
.
id
}
%body
{
class:
"#{app_theme} project"
,
:'data-page'
=>
body_data_page
,
:'data-project-id'
=>
@project
.
id
}
=
render
"layouts/head_panel"
,
title:
project_title
(
@project
)
=
render
"layouts/head_panel"
,
title:
project_title
(
@project
)
=
render
"layouts/init_auto_complete"
=
render
"layouts/init_auto_complete"
=
render
'layouts/page'
,
sidebar:
'layouts/nav/project'
=
render
'layouts/page'
,
sidebar:
'layouts/nav/project'
app/views/layouts/public_group.html.haml
View file @
a30a5663
!!! 5
!!! 5
%html
{
lang:
"en"
}
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
group_head_title
=
render
"layouts/head"
,
title:
group_head_title
%body
{
class:
"#{app_theme}
#{theme_type}
application"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/public_head_panel"
,
title:
link_to
(
@group
.
name
,
group_path
(
@group
))
=
render
"layouts/public_head_panel"
,
title:
link_to
(
@group
.
name
,
group_path
(
@group
))
=
render
'layouts/page'
,
sidebar:
'layouts/nav/group'
=
render
'layouts/page'
,
sidebar:
'layouts/nav/group'
app/views/layouts/public_projects.html.haml
View file @
a30a5663
!!! 5
!!! 5
%html
{
lang:
"en"
}
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
@project
.
name_with_namespace
=
render
"layouts/head"
,
title:
@project
.
name_with_namespace
%body
{
class:
"#{app_theme}
#{theme_type}
application"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/public_head_panel"
,
title:
project_title
(
@project
)
=
render
"layouts/public_head_panel"
,
title:
project_title
(
@project
)
=
render
'layouts/page'
,
sidebar:
'layouts/nav/project'
=
render
'layouts/page'
,
sidebar:
'layouts/nav/project'
app/views/layouts/public_users.html.haml
View file @
a30a5663
!!! 5
!!! 5
%html
{
lang:
"en"
}
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
@title
=
render
"layouts/head"
,
title:
@title
%body
{
class:
"#{app_theme}
#{theme_type}
application"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/public_head_panel"
,
title:
defined?
(
@title_url
)
?
link_to
(
@title
,
@title_url
)
:
@title
=
render
"layouts/public_head_panel"
,
title:
defined?
(
@title_url
)
?
link_to
(
@title
,
@title_url
)
:
@title
=
render
'layouts/page'
=
render
'layouts/page'
app/views/layouts/search.html.haml
View file @
a30a5663
!!! 5
!!! 5
%html
{
lang:
"en"
}
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
"Search"
=
render
"layouts/head"
,
title:
"Search"
%body
{
class:
"#{app_theme}
#{theme_type}
application"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"#{app_theme} application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/broadcast"
=
render
"layouts/broadcast"
=
render
"layouts/head_panel"
,
title:
link_to
(
"Search"
,
search_path
)
=
render
"layouts/head_panel"
,
title:
link_to
(
"Search"
,
search_path
)
.container.navless-container
.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