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
a7b7a2dd
Commit
a7b7a2dd
authored
Dec 26, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ui-changes' into 'master'
UI changes Set of UI fixes for side nav See merge request !1352
parents
b01c5d99
aa54482a
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
19 additions
and
41 deletions
+19
-41
app/assets/stylesheets/generic/common.scss
app/assets/stylesheets/generic/common.scss
+6
-20
app/assets/stylesheets/main/variables.scss
app/assets/stylesheets/main/variables.scss
+1
-1
app/assets/stylesheets/sections/header.scss
app/assets/stylesheets/sections/header.scss
+1
-2
app/assets/stylesheets/sections/sidebar.scss
app/assets/stylesheets/sections/sidebar.scss
+1
-0
app/views/layouts/project_settings.html.haml
app/views/layouts/project_settings.html.haml
+0
-3
app/views/layouts/projects.html.haml
app/views/layouts/projects.html.haml
+0
-2
app/views/projects/show.html.haml
app/views/projects/show.html.haml
+3
-0
app/views/shared/_no_ssh.html.haml
app/views/shared/_no_ssh.html.haml
+7
-13
No files found.
app/assets/stylesheets/generic/common.scss
View file @
a7b7a2dd
...
...
@@ -207,26 +207,6 @@ li.note {
}
}
.no-ssh-key-message
{
padding
:
10px
0
;
background
:
#C67
;
margin
:
0
;
color
:
#FFF
;
margin-top
:
-1px
;
text-align
:
center
;
a
{
color
:
#fff
;
text-decoration
:
underline
;
}
.links-xs
{
text-align
:
center
;
font-size
:
16px
;
padding
:
5px
;
}
}
.warning_message
{
border-left
:
4px
solid
#ed9
;
color
:
#b90
;
...
...
@@ -355,3 +335,9 @@ table {
.task-status
{
margin-left
:
10px
;
}
#nprogress
.spinner
{
top
:
auto
!
important
;
bottom
:
20px
!
important
;
left
:
20px
!
important
;
}
app/assets/stylesheets/main/variables.scss
View file @
a7b7a2dd
...
...
@@ -46,4 +46,4 @@ $deleted: #f77;
/**
* NProgress customize
*/
$nprogress-color
:
#
3498d
b
;
$nprogress-color
:
#
c0392
b
;
app/assets/stylesheets/sections/header.scss
View file @
a7b7a2dd
...
...
@@ -4,6 +4,7 @@
*/
header
{
&
.navbar-gitlab
{
z-index
:
100
;
margin-bottom
:
0
;
min-height
:
40px
;
border
:
none
;
...
...
@@ -82,8 +83,6 @@ header {
}
}
z-index
:
10
;
.container
{
width
:
100%
!
important
;
padding-left
:
0px
;
...
...
app/assets/stylesheets/sections/sidebar.scss
View file @
a7b7a2dd
...
...
@@ -3,6 +3,7 @@
}
.sidebar-wrapper
{
z-index
:
99
;
overflow-y
:
auto
;
background
:
#F5F5F5
;
}
...
...
app/views/layouts/project_settings.html.haml
View file @
a7b7a2dd
...
...
@@ -5,8 +5,5 @@
=
render
"layouts/broadcast"
=
render
"layouts/head_panel"
,
title:
project_title
(
@project
)
=
render
"layouts/init_auto_complete"
-
if
can?
(
current_user
,
:download_code
,
@project
)
=
render
'shared/no_ssh'
-
@project_settings_nav
=
true
=
render
'layouts/page'
,
sidebar:
'layouts/nav/project'
app/views/layouts/projects.html.haml
View file @
a7b7a2dd
...
...
@@ -5,6 +5,4 @@
=
render
"layouts/broadcast"
=
render
"layouts/head_panel"
,
title:
project_title
(
@project
)
=
render
"layouts/init_auto_complete"
-
if
can?
(
current_user
,
:download_code
,
@project
)
=
render
'shared/no_ssh'
=
render
'layouts/page'
,
sidebar:
'layouts/nav/project'
app/views/projects/show.html.haml
View file @
a7b7a2dd
-
if
current_user
&&
can?
(
current_user
,
:download_code
,
@project
)
=
render
'shared/no_ssh'
=
render
"home_panel"
-
readme
=
@repository
.
readme
...
...
app/views/shared/_no_ssh.html.haml
View file @
a7b7a2dd
-
if
cookies
[
:hide_no_ssh_message
].
blank?
&&
current_user
.
require_ssh_key?
&&
!
current_user
.
hide_no_ssh_key
.no-ssh-key-message
.container
.no-ssh-key-message.alert.alert-warning.hidden-xs
You won't be able to pull or push project code via SSH until you
#{
link_to
'add an SSH key'
,
new_profile_key_path
}
to your profile
.pull-right.hidden-xs
=
link_to
"Don't show again"
,
profile_path
(
user:
{
hide_no_ssh_key:
true
}),
method: :put
,
class:
'hide-no-ssh-message'
,
remote:
true
.pull-right
=
link_to
"Don't show again"
,
profile_path
(
user:
{
hide_no_ssh_key:
true
}),
method: :put
|
=
link_to
'Remind later'
,
'#'
,
class:
'hide-no-ssh-message'
.links-xs.visible-xs
=
link_to
"Add key"
,
new_profile_key_path
|
=
link_to
"Don't show again"
,
profile_path
(
user:
{
hide_no_ssh_key:
true
}),
method: :put
,
class:
'hide-no-ssh-message'
,
remote:
true
|
=
link_to
'Later'
,
'#'
,
class:
'hide-no-ssh-message'
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