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
705521f3
Commit
705521f3
authored
Jan 30, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ui_fixes' into 'master'
UI Fixes
parents
b4662179
d5e8fcb3
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
23 additions
and
16 deletions
+23
-16
app/assets/stylesheets/generic/typography.scss
app/assets/stylesheets/generic/typography.scss
+0
-3
app/assets/stylesheets/highlight/dark.scss
app/assets/stylesheets/highlight/dark.scss
+4
-0
app/assets/stylesheets/highlight/monokai.scss
app/assets/stylesheets/highlight/monokai.scss
+4
-0
app/assets/stylesheets/highlight/solarized_dark.scss
app/assets/stylesheets/highlight/solarized_dark.scss
+4
-0
app/assets/stylesheets/sections/issues.scss
app/assets/stylesheets/sections/issues.scss
+0
-2
app/assets/stylesheets/sections/notes.scss
app/assets/stylesheets/sections/notes.scss
+1
-1
app/views/projects/protected_branches/index.html.haml
app/views/projects/protected_branches/index.html.haml
+7
-7
app/views/search/results/_blob.html.haml
app/views/search/results/_blob.html.haml
+1
-2
app/views/shared/_file_hljs.html.haml
app/views/shared/_file_hljs.html.haml
+2
-1
No files found.
app/assets/stylesheets/generic/typography.scss
View file @
705521f3
...
@@ -90,9 +90,6 @@ a:focus {
...
@@ -90,9 +90,6 @@ a:focus {
font-size
:
14px
;
font-size
:
14px
;
line-height
:
1
.6
;
line-height
:
1
.6
;
.white
.highlight
pre
{
background
:
#f5f5f5
;
}
ul
{
ul
{
padding
:
0
;
padding
:
0
;
margin
:
0
0
9px
25px
!
important
;
margin
:
0
0
9px
25px
!
important
;
...
...
app/assets/stylesheets/highlight/dark.scss
View file @
705521f3
...
@@ -9,6 +9,10 @@
...
@@ -9,6 +9,10 @@
border-left
:
1px
solid
#444
;
border-left
:
1px
solid
#444
;
}
}
.no-highlight
{
color
:
#DDD
;
}
.line-numbers
a
{
.line-numbers
a
{
color
:
#666
;
color
:
#666
;
}
}
...
...
app/assets/stylesheets/highlight/monokai.scss
View file @
705521f3
...
@@ -9,6 +9,10 @@
...
@@ -9,6 +9,10 @@
background
:
#558
;
background
:
#558
;
}
}
.no-highlight
{
color
:
#DDD
;
}
.line-numbers
a
{
.line-numbers
a
{
color
:
#666
;
color
:
#666
;
}
}
...
...
app/assets/stylesheets/highlight/solarized_dark.scss
View file @
705521f3
...
@@ -9,6 +9,10 @@
...
@@ -9,6 +9,10 @@
background
:
#000
;
background
:
#000
;
}
}
.no-highlight
{
color
:
#DDD
;
}
pre
{
pre
{
background-color
:
#002B36
;
background-color
:
#002B36
;
color
:
#eee
;
color
:
#eee
;
...
...
app/assets/stylesheets/sections/issues.scss
View file @
705521f3
...
@@ -60,7 +60,6 @@ input.check_all_issues {
...
@@ -60,7 +60,6 @@ input.check_all_issues {
.btn.close_issue
{
.btn.close_issue
{
color
:
#B94A48
;
color
:
#B94A48
;
font-weight
:
bold
;
font-weight
:
bold
;
@include
shade
;
&
:hover
{
&
:hover
{
color
:
#B94A48
;
color
:
#B94A48
;
}
}
...
@@ -68,7 +67,6 @@ input.check_all_issues {
...
@@ -68,7 +67,6 @@ input.check_all_issues {
.btn.reopen_issue
{
.btn.reopen_issue
{
color
:
#468847
;
color
:
#468847
;
font-weight
:
bold
;
font-weight
:
bold
;
@include
shade
;
&
:hover
{
&
:hover
{
color
:
#468847
;
color
:
#468847
;
}
}
...
...
app/assets/stylesheets/sections/notes.scss
View file @
705521f3
...
@@ -337,7 +337,7 @@ ul.notes {
...
@@ -337,7 +337,7 @@ ul.notes {
box-shadow
:
none
;
box-shadow
:
none
;
font-size
:
14px
;
font-size
:
14px
;
height
:
80px
;
height
:
80px
;
width
:
98
.6
%
;
width
:
100
%
;
}
}
.form-actions
{
.form-actions
{
...
...
app/views/projects/protected_branches/index.html.haml
View file @
705521f3
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
.col-md-3
.col-md-3
=
render
"projects/branches/filter"
=
render
"projects/branches/filter"
.col-md-9
.col-md-9
.
alert.aler
t-info
.
bs-callout.bs-callou
t-info
%p
Protected branches designed to prevent push for all except
#{
link_to
"masters"
,
help_permissions_path
,
class:
"vlink"
}
.
%p
Protected branches designed to prevent push for all except
#{
link_to
"masters"
,
help_permissions_path
,
class:
"vlink"
}
.
%p
This ability allows:
%p
This ability allows:
%ul
%ul
...
@@ -12,18 +12,18 @@
...
@@ -12,18 +12,18 @@
%p
Read more about project permissions
#{
link_to
"here"
,
help_permissions_path
,
class:
"underlined_link"
}
%p
Read more about project permissions
#{
link_to
"here"
,
help_permissions_path
,
class:
"underlined_link"
}
-
if
can?
current_user
,
:admin_project
,
@project
-
if
can?
current_user
,
:admin_project
,
@project
=
form_for
[
@project
,
@protected_branch
]
do
|
f
|
=
form_for
[
@project
,
@protected_branch
]
,
html:
{
class:
'form-horizontal'
}
do
|
f
|
-
if
@protected_branch
.
errors
.
any?
-
if
@protected_branch
.
errors
.
any?
.alert.alert-danger
.alert.alert-danger
%ul
%ul
-
@protected_branch
.
errors
.
full_messages
.
each
do
|
msg
|
-
@protected_branch
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
.
entry.clearfix
.
form-group
=
f
.
label
:name
,
"Branch"
=
f
.
label
:name
,
"Branch"
,
class:
'control-label'
.col-
md-3
.col-
sm-10
=
f
.
select
(
:name
,
@project
.
open_branches
.
map
{
|
br
|
[
br
.
name
,
br
.
name
]
}
,
{
include_blank:
"Select branch"
},
{
class:
"select2
span3
"
})
=
f
.
select
(
:name
,
@project
.
open_branches
.
map
{
|
br
|
[
br
.
name
,
br
.
name
]
}
,
{
include_blank:
"Select branch"
},
{
class:
"select2"
})
.form-actions
=
f
.
submit
'Protect'
,
class:
"btn-create btn"
=
f
.
submit
'Protect'
,
class:
"btn-create btn"
-
unless
@branches
.
empty?
-
unless
@branches
.
empty?
%h5
Already Protected:
%h5
Already Protected:
...
...
app/views/search/results/_blob.html.haml
View file @
705521f3
...
@@ -6,5 +6,4 @@
...
@@ -6,5 +6,4 @@
%strong
%strong
=
blob
.
filename
=
blob
.
filename
.file-content.code.term
.file-content.code.term
%div
{
class:
user_color_scheme_class
}
=
render
'shared/file_hljs'
,
blob:
blob
,
first_line_number:
blob
.
startline
=
raw
blob
.
colorize
(
formatter: :gitlab
,
options:
{
first_line_number:
blob
.
startline
}
)
app/views/shared/_file_hljs.html.haml
View file @
705521f3
%div
.highlighted-data
{
class:
user_color_scheme_class
}
%div
.highlighted-data
{
class:
user_color_scheme_class
}
.line-numbers
.line-numbers
-
blob
.
data
.
lines
.
size
.
times
do
|
index
|
-
blob
.
data
.
lines
.
size
.
times
do
|
index
|
-
i
=
index
+
1
-
offset
=
defined?
(
first_line_number
)
?
first_line_number
:
1
-
i
=
index
+
offset
=
link_to
"#L
#{
i
}
"
,
id:
"L
#{
i
}
"
,
rel:
"#L
#{
i
}
"
do
=
link_to
"#L
#{
i
}
"
,
id:
"L
#{
i
}
"
,
rel:
"#L
#{
i
}
"
do
%i
.icon-link
%i
.icon-link
=
i
=
i
...
...
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