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
Tatuya Kamada
gitlab-ce
Commits
bf625b7c
Commit
bf625b7c
authored
Sep 19, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
polishing UI a bit. Added footer links for dashboard
parent
6d8d32c2
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
117 additions
and
71 deletions
+117
-71
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+20
-0
app/assets/stylesheets/gitlab_bootstrap/common.scss
app/assets/stylesheets/gitlab_bootstrap/common.scss
+10
-0
app/assets/stylesheets/sections/issues.scss
app/assets/stylesheets/sections/issues.scss
+28
-27
app/assets/stylesheets/sections/merge_requests.scss
app/assets/stylesheets/sections/merge_requests.scss
+27
-28
app/views/admin/resque/show.html.haml
app/views/admin/resque/show.html.haml
+4
-2
app/views/dashboard/index.html.haml
app/views/dashboard/index.html.haml
+7
-1
app/views/events/_event_last_push.html.haml
app/views/events/_event_last_push.html.haml
+1
-1
app/views/issues/_show.html.haml
app/views/issues/_show.html.haml
+1
-1
app/views/issues/index.html.haml
app/views/issues/index.html.haml
+1
-1
app/views/labels/_label.html.haml
app/views/labels/_label.html.haml
+7
-2
app/views/search/show.html.haml
app/views/search/show.html.haml
+11
-8
No files found.
app/assets/stylesheets/common.scss
View file @
bf625b7c
...
@@ -145,6 +145,19 @@ span.update-author {
...
@@ -145,6 +145,19 @@ span.update-author {
.label
{
.label
{
background-color
:
#474D57
;
background-color
:
#474D57
;
&
.label-tag
{
background
:
none
;
border
:
none
;
padding
:
4px
6px
;
color
:
#444
;
text-shadow
:
0
0
1px
#fff
;
&
.grouped
{
float
:
left
;
margin-right
:
6px
;
padding
:
6px
;
}
}
&
.label-issue
{
&
.label-issue
{
background-color
:
#eee
;
background-color
:
#eee
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
...
@@ -722,3 +735,10 @@ li.note {
...
@@ -722,3 +735,10 @@ li.note {
padding
:
6px
20px
;
padding
:
6px
20px
;
margin-right
:
12px
;
margin-right
:
12px
;
}
}
.gitlab-promo
{
a
{
color
:
#aaa
;
margin-right
:
30px
;
}
}
app/assets/stylesheets/gitlab_bootstrap/common.scss
View file @
bf625b7c
...
@@ -72,3 +72,13 @@ img.lil_av { padding-left: 4px; padding-right:3px; }
...
@@ -72,3 +72,13 @@ img.lil_av { padding-left: 4px; padding-right:3px; }
/** HELPERS **/
/** HELPERS **/
.nothing_here_message
{
text-align
:center
;
padding
:
20px
;
color
:
#777
;
}
.nothing_here_message
{
text-align
:center
;
padding
:
20px
;
color
:
#777
;
}
p
.slead
{
color
:
#456
;
font-size
:
16px
;
margin-bottom
:
12px
;
font-weight
:
200
;
line-height
:
24px
;
}
p
.slead
{
color
:
#456
;
font-size
:
16px
;
margin-bottom
:
12px
;
font-weight
:
200
;
line-height
:
24px
;
}
/** FORMS **/
input
[
type
=
'search'
]
.search-text-input
{
background-image
:
url("icon-search.png")
;
background-repeat
:
no-repeat
;
background-position
:
10px
;
padding-left
:
25px
;
@include
border-radius
(
4px
);
border
:
1px
solid
#ccc
;
}
app/assets/stylesheets/sections/issues.scss
View file @
bf625b7c
...
@@ -105,6 +105,7 @@ input.check_all_issues {
...
@@ -105,6 +105,7 @@ input.check_all_issues {
width
:
100px
;
width
:
100px
;
}
}
/**
/**
* Milestones list
* Milestones list
*
*
...
...
app/assets/stylesheets/sections/merge_requests.scss
View file @
bf625b7c
...
@@ -88,11 +88,10 @@ li.merge_request {
...
@@ -88,11 +88,10 @@ li.merge_request {
@include
round-borders-all
(
4px
);
@include
round-borders-all
(
4px
);
padding
:
2px
4px
;
padding
:
2px
4px
;
border
:none
;
border
:none
;
font-size
:
1
3
px
;
font-size
:
1
4
px
;
background
:
#474D57
;
background
:
#474D57
;
color
:
#fff
;
color
:
#fff
;
font-weight
:bold
;
font-family
:
'Menlo'
,
'Liberation Mono'
,
'Consolas'
,
'Courier New'
,
'andale mono'
,
'lucida console'
,
monospace
;
font-family
:
monospace
;
}
}
.mr_source_commit
,
.mr_source_commit
,
...
...
app/views/admin/resque/show.html.haml
View file @
bf625b7c
%h3
Resque
%h3
.page_title
Resque
%iframe
{
src:
resque_url
,
width:
1168
,
height:
600
,
style:
"border: none"
}
%br
.ui-box
%iframe
{
src:
resque_url
,
width:
'100%'
,
height:
600
,
style:
"border: none"
}
app/views/dashboard/index.html.haml
View file @
bf625b7c
...
@@ -31,13 +31,19 @@
...
@@ -31,13 +31,19 @@
%span
=
project_last_activity
(
project
)
%span
=
project_last_activity
(
project
)
.bottom
=
paginate
@projects
,
theme:
"gitlab"
.bottom
=
paginate
@projects
,
theme:
"gitlab"
%hr
%div
%div
%span
.rss-icon
%span
.rss-icon
=
link_to
dashboard_path
(
:atom
,
{
private_token:
current_user
.
private_token
})
do
=
link_to
dashboard_path
(
:atom
,
{
private_token:
current_user
.
private_token
})
do
=
image_tag
"rss_ui.png"
,
title:
"feed"
=
image_tag
"rss_ui.png"
,
title:
"feed"
%strong
News Feed
%strong
News Feed
%hr
.gitlab-promo
=
link_to
"Homepage"
,
"http://gitlabhq.com"
=
link_to
"Blog"
,
"http://blog.gitlabhq.com"
=
link_to
"@gitlabhq"
,
"https://twitter.com/gitlabhq"
-
else
-
else
%h3
.nothing_here_message
There are no projects you have access to.
%h3
.nothing_here_message
There are no projects you have access to.
%br
%br
...
...
app/views/events/_event_last_push.html.haml
View file @
bf625b7c
app/views/issues/_show.html.haml
View file @
bf625b7c
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
=
check_box_tag
dom_id
(
issue
,
"selected"
),
nil
,
false
,
'data-id'
=>
issue
.
id
,
class:
"selected_issue"
,
disabled:
!
can?
(
current_user
,
:modify_issue
,
issue
)
=
check_box_tag
dom_id
(
issue
,
"selected"
),
nil
,
false
,
'data-id'
=>
issue
.
id
,
class:
"selected_issue"
,
disabled:
!
can?
(
current_user
,
:modify_issue
,
issue
)
.right
.right
-
issue
.
labels
.
each
do
|
label
|
-
issue
.
labels
.
each
do
|
label
|
%span
.label.label-
issue
.grouped
%span
.label.label-
tag
.grouped
%i
.icon-tag
%i
.icon-tag
=
label
.
name
=
label
.
name
-
if
issue
.
notes
.
any?
-
if
issue
.
notes
.
any?
...
...
app/views/issues/index.html.haml
View file @
bf625b7c
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
=
form_tag
search_project_issues_path
(
@project
),
method: :get
,
remote:
true
,
id:
"issue_search_form"
,
class: :right
do
=
form_tag
search_project_issues_path
(
@project
),
method: :get
,
remote:
true
,
id:
"issue_search_form"
,
class: :right
do
=
hidden_field_tag
:project_id
,
@project
.
id
,
{
id:
'project_id'
}
=
hidden_field_tag
:project_id
,
@project
.
id
,
{
id:
'project_id'
}
=
hidden_field_tag
:status
,
params
[
:f
]
=
hidden_field_tag
:status
,
params
[
:f
]
=
search_field_tag
:issue_search
,
nil
,
{
placeholder:
'Search'
,
class:
'issue_search span3 right neib'
}
=
search_field_tag
:issue_search
,
nil
,
{
placeholder:
'Search'
,
class:
'issue_search span3 right neib
search-text-input
'
}
.clearfix
.clearfix
...
...
app/views/labels/_label.html.haml
View file @
bf625b7c
%li
.wll
%li
.wll
%strong
=
label
.
name
%strong
%i
.icon-tag
=
label
.
name
.right
.right
%span
=
pluralize
label
.
count
,
'issue'
=
link_to
project_issues_path
(
label_name:
label
.
name
)
do
%strong
=
pluralize
(
label
.
count
,
'issue'
)
=
"»"
app/views/search/show.html.haml
View file @
bf625b7c
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
=
label_tag
:search
do
=
label_tag
:search
do
%strong
Looking for
%strong
Looking for
.input
.input
=
text_field_tag
:search
,
params
[
:search
],
placeholder:
"issue 143"
,
class:
"input-xxlarge
"
,
id:
"dashboard_search"
=
search_field_tag
:search
,
params
[
:search
],
placeholder:
"issue 143"
,
class:
"input-xxlarge search-text-input
"
,
id:
"dashboard_search"
=
submit_tag
'Search'
,
class:
"btn primary"
=
submit_tag
'Search'
,
class:
"btn primary
wide
"
-
if
params
[
:search
].
present?
-
if
params
[
:search
].
present?
%br
%br
%h3
%h3
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
.row
.row
.span6
.span6
%table
%table
%thead
%tr
%tr
%th
Projects
%th
Projects
%tbody
%tbody
...
@@ -32,6 +33,7 @@
...
@@ -32,6 +33,7 @@
%h4
.nothing_here_message
No Projects
%h4
.nothing_here_message
No Projects
%br
%br
%table
%table
%thead
%tr
%tr
%th
Merge Requests
%th
Merge Requests
%tbody
%tbody
...
@@ -50,6 +52,7 @@
...
@@ -50,6 +52,7 @@
%h4
.nothing_here_message
No Merge Requests
%h4
.nothing_here_message
No Merge Requests
.span6
.span6
%table
%table
%thead
%tr
%tr
%th
Issues
%th
Issues
%tbody
%tbody
...
...
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