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
iv
gitlab-ce
Commits
1ffb4b98
Commit
1ffb4b98
authored
13 years ago
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new design/layout started. projects page
parent
3fa770dd
8-5-nxd
8-2-nxd
8-2-stable
8-4-nxd
8-4-stable
8-5-stable
8-6-nxd
8-6-stable
8-7-nxd
8-8-nxd
8-9-nxd
master
v8.11.0.pre
v8.10.3
v8.10.2
v8.10.1
v8.10.0
v8.10.0.pre
v8.10.0-rc13
v8.10.0-rc12
v8.10.0-rc11
v8.10.0-rc10
v8.10.0-rc9
v8.10.0-rc8
v8.10.0-rc7
v8.10.0-rc6
v8.10.0-rc5
v8.10.0-rc4
v8.10.0-rc3
v8.10.0-rc2
v8.10.0-rc1
v8.9.6
v8.9.5
v8.9.4
v8.9.3
v8.9.2
v8.9.1
v8.9.0
v8.9.0-rc8
v8.9.0-rc7
v8.9.0-rc6
v8.9.0-rc5
v8.9.0-rc4
v8.9.0-rc3
v8.9.0-rc2
v8.9.0-rc1
v8.8.7
v8.8.6
v8.8.5
v8.8.4
v8.8.3
v8.8.2
v8.8.1
v8.8.0
v8.8.0-rc2
v8.8.0-rc1
v8.7.9
v8.7.8
v8.7.7
v8.7.6
v8.7.5
v8.7.4
v8.7.3
v8.7.2
v8.7.1
v8.7.0
v8.7.0-rc7
v8.7.0-rc6
v8.7.0-rc5
v8.7.0-rc4
v8.7.0-rc3
v8.7.0-rc2
v8.7.0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2
v5.4.1
v5.4.0
v5.3.0
v5.2.1
v5.2.0
v5.1.0
v5.0.1
v5.0.0
v4.2.0
v4.1.0
v4.0.0
v4.0.0rc2
v4.0.0rc1
v3.1.0
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v2.9.1
v2.9.0
v2.8.2
v2.8.1
v2.8.0
v2.8.0pre
v2.7.0
v2.7.0pre
v2.6.3
v2.6.2
v2.6.1
v2.6.0
v2.6.0pre
v2.5.0
v2.4.2
v2.4.1
v2.4.0
v2.4.0pre
v2.3.1
v2.3.0
v2.3.0pre
v2.2.0
v2.2.0pre
v2.1.0
v2.0.0
v1.2.2
v1.2.1
v1.2.0
v1.2.0pre
test-fix
show
rtl-7.6.1
rtl-7.5.1
rtl-7.4.2.1
rtl-7.4.2
fondev
TR.8.4.4
No related merge requests found
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
605 additions
and
43 deletions
+605
-43
app/assets/images/.directory
app/assets/images/.directory
+1
-1
app/assets/images/bg-header.png
app/assets/images/bg-header.png
+0
-0
app/assets/images/images.png
app/assets/images/images.png
+0
-0
app/assets/images/login-logo.png
app/assets/images/login-logo.png
+0
-0
app/assets/javascripts/modernizr-2.0.6.min.js
app/assets/javascripts/modernizr-2.0.6.min.js
+4
-0
app/assets/stylesheets/projects.css.scss
app/assets/stylesheets/projects.css.scss
+3
-3
app/assets/stylesheets/style.scss
app/assets/stylesheets/style.scss
+521
-0
app/views/layouts/_head_panel.html.erb
app/views/layouts/_head_panel.html.erb
+29
-10
app/views/layouts/_page_title.html.haml
app/views/layouts/_page_title.html.haml
+6
-0
app/views/layouts/application.html.haml
app/views/layouts/application.html.haml
+19
-15
app/views/projects/_tile.html.haml
app/views/projects/_tile.html.haml
+15
-14
app/views/projects/index.html.haml
app/views/projects/index.html.haml
+7
-0
No files found.
app/assets/images/.directory
View file @
1ffb4b98
[Dolphin]
[Dolphin]
ShowPreview=true
ShowPreview=true
Timestamp=2011,
9,14,20,34,18
Timestamp=2011,
10,28,13,16,25
Version=2
Version=2
This diff is collapsed.
Click to expand it.
app/assets/images/bg-header.png
0 → 100644
View file @
1ffb4b98
212 Bytes
This diff is collapsed.
Click to expand it.
app/assets/images/images.png
0 → 100644
View file @
1ffb4b98
6.32 KB
This diff is collapsed.
Click to expand it.
app/assets/images/login-logo.png
0 → 100644
View file @
1ffb4b98
1.4 KB
This diff is collapsed.
Click to expand it.
app/assets/javascripts/modernizr-2.0.6.min.js
0 → 100755
View file @
1ffb4b98
This diff is collapsed.
Click to expand it.
app/assets/stylesheets/projects.css.scss
View file @
1ffb4b98
...
@@ -210,9 +210,9 @@ table.round-borders {
...
@@ -210,9 +210,9 @@ table.round-borders {
padding
:
20px
;
padding
:
20px
;
}
}
body
{
//
body {
background
:
#eaeaea
;
//
background: #eaeaea;
}
//
}
a
{
a
{
color
:
#111
;
color
:
#111
;
...
...
This diff is collapsed.
Click to expand it.
app/assets/stylesheets/style.scss
0 → 100755
View file @
1ffb4b98
This diff is collapsed.
Click to expand it.
app/views/layouts/_head_panel.html.erb
View file @
1ffb4b98
<div
id=
"header-panel"
>
<!-- Page Header -->
<header>
<h1
class=
"logo"
>
<a
href=
"/"
>
GITLAB
</a></h1>
<div
class=
"login-top"
>
<%=
link_to
profile_path
,
:class
=>
"pic"
do
%>
<%=
image_tag
gravatar_icon
(
current_user
.
email
)
%>
<%
end
%>
<%=
link_to
profile_path
,
:class
=>
"username"
do
%>
<%=
current_user
.
name
%>
<%
end
%>
<%=
link_to
'Logout'
,
destroy_user_session_path
,
:class
=>
"logout"
,
:method
=>
:delete
%>
</div>
<!-- .login-top -->
<nav>
<%=
link_to
root_path
,
:class
=>
current_page?
(
root_path
)
?
"current dashboard"
:
"dashboard"
do
%>
<span></span>
Dashboard
<%
end
%>
<%=
link_to
projects_path
,
:class
=>
current_page?
(
projects_path
)
?
"current project"
:
"project"
do
%>
<span></span>
Projects
<%
end
%>
<%=
link_to
(
admin_root_path
,
:class
=>
admin_namespace?
?
"current admin"
:
"admin"
)
do
%>
<span></span>
Admin
<%
end
if
current_user
.
is_admin?
%>
</nav>
</header>
<!-- eo Page Header -->
<div
id=
"header-panel"
style=
"display:none"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"span-24"
>
<div
class=
"span-24"
>
<div
class=
"span-10"
>
<div
class=
"span-10"
>
<%#= image_tag "git.png", :height => 40, :class => "left" %>
<%#= link_to "gitlab", root_path, :id => "logo" %>
<span
class=
"search-holder"
>
<span
class=
"search-holder"
>
<%=
text_field_tag
"search"
,
nil
,
:placeholder
=>
"Search"
%>
<%=
text_field_tag
"search"
,
nil
,
:placeholder
=>
"Search"
%>
</span>
</span>
</div>
</div>
<div
class=
"right"
>
<div
class=
"right"
>
<%=
link_to
truncate
(
@project
.
name
,
:length
=>
20
),
project_path
(
@project
),
:class
=>
"current button"
if
@project
&&
!
@project
.
new_record?
%>
<%=
link_to
truncate
(
@project
.
name
,
:length
=>
20
),
project_path
(
@project
),
:class
=>
"current button"
if
@project
&&
!
@project
.
new_record?
%>
<%=
link_to
'Projects'
,
projects_path
,
:class
=>
current_page?
(
projects_path
)
?
"current button"
:
"button"
%>
<%=
link_to
(
'Admin'
,
admin_root_path
,
:class
=>
admin_namespace?
?
"current button"
:
"button"
)
if
current_user
.
is_admin?
%>
<%=
link_to
profile_path
,
:class
=>
((
controller
.
controller_name
==
"keys"
||
controller
.
controller_name
==
"profile"
)
?
"current button"
:
"button"
)
do
%>
<%=
image_tag
gravatar_icon
(
current_user
.
email
)
%>
<%=
current_user
.
name
.
split
(
" "
).
first
%>
<%
end
%>
<%=
link_to
'Logout'
,
destroy_user_session_path
,
:style
=>
"border-left: 1px solid #666;"
,
:class
=>
"button"
,
:method
=>
:delete
%>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
app/views/layouts/_page_title.html.haml
0 → 100644
View file @
1ffb4b98
-
if
content_for?
(
:page_title
)
=
yield
:page_title
-
else
.page-title
.container_3
%h1
=
controller
.
controller_name
.
capitalize
This diff is collapsed.
Click to expand it.
app/views/layouts/application.html.haml
View file @
1ffb4b98
...
@@ -3,10 +3,10 @@
...
@@ -3,10 +3,10 @@
%head
%head
%title
%title
GitLab
#{
" - #{@project.name}"
if
@project
&&
!
@project
.
new_record?
}
GitLab
#{
" - #{@project.name}"
if
@project
&&
!
@project
.
new_record?
}
=
stylesheet_link_tag
'blueprint/screen'
,
:media
=>
"screen, projection"
-#
= stylesheet_link_tag 'blueprint/screen', :media => "screen, projection"
=
stylesheet_link_tag
'blueprint/print'
,
:media
=>
"print"
-#
= stylesheet_link_tag 'blueprint/print', :media => "print"
=
stylesheet_link_tag
'blueprint/plugins/buttons/screen'
,
:media
=>
"screen, projection"
-#
= stylesheet_link_tag 'blueprint/plugins/buttons/screen', :media => "screen, projection"
=
stylesheet_link_tag
'blueprint/plugins/link-icons/screen'
,
:media
=>
"screen, projection"
-#
= stylesheet_link_tag 'blueprint/plugins/link-icons/screen', :media => "screen, projection"
=
stylesheet_link_tag
"application"
=
stylesheet_link_tag
"application"
=
javascript_include_tag
"application"
=
javascript_include_tag
"application"
=
csrf_meta_tags
=
csrf_meta_tags
...
@@ -15,14 +15,18 @@
...
@@ -15,14 +15,18 @@
REQ_URI = "
#{
request
.
env
[
"REQUEST_URI"
]
}
";
REQ_URI = "
#{
request
.
env
[
"REQUEST_URI"
]
}
";
REQ_REFFER = "
#{
request
.
env
[
"HTTP_REFERER"
]
}
";
REQ_REFFER = "
#{
request
.
env
[
"HTTP_REFERER"
]
}
";
%body
#thebody
%body
#thebody
=
render
:partial
=>
"layouts/flash"
#container
-
if
user_signed_in?
=
render
:partial
=>
"layouts/flash"
=
render
:partial
=>
"layouts/head_panel"
.top_bar.container
-
if
user_signed_in?
=
render
:partial
=>
"projects/top_menu"
if
@project
&&
!
@project
.
new_record?
=
render
:partial
=>
"layouts/head_panel"
=
render
:partial
=>
"projects/projects_top_menu"
if
(
controller
.
controller_name
==
"projects"
&&
[
"index"
,
"new"
,
"create"
].
include?
(
controller
.
action_name
))
&&
!
admin_namespace?
=
render
:partial
=>
"layouts/page_title"
=
render
:partial
=>
"profile/top_menu"
if
[
"keys"
,
"profile"
].
include?
(
controller
.
controller_name
)
-
if
@project
&&
!
@project
.
new_record?
=
render
:partial
=>
"admin/top_menu"
if
admin_namespace?
.top_bar.container
=
render
:partial
=>
"projects/top_menu"
#content-container
.container
-
if
[
"keys"
,
"profile"
].
include?
(
controller
.
controller_name
)
.span-24
.top_bar.container
=
render
:partial
=>
"profile/top_menu"
=
yield
-
if
admin_namespace?
.top_bar.container
=
render
:partial
=>
"admin/top_menu"
%div
{
:id
=>
"main"
,
:role
=>
"main"
,
:class
=>
"container_3"
}
#content-container
=
yield
This diff is collapsed.
Click to expand it.
app/views/projects/_tile.html.haml
View file @
1ffb4b98
-
@projects
.
in_groups_of
(
3
,
false
)
do
|
projects
|
-
@projects
.
in_groups_of
(
3
,
false
)
do
|
projects
|
-
projects
.
each_with_index
do
|
project
,
i
|
-
projects
.
each_with_index
do
|
project
,
i
|
%div
{
:class
=>
"project_thumb round-borders"
,
:style
=>
i
==
2
?
""
:
"margin-right:30px;"
}
%div
.grid_1
%div
{
:class
=>
"project"
,
:url
=>
project_path
(
project
)
}
%div
{
:class
=>
"project-box ui-box ui-box-big"
,
:style
=>
i
==
2
?
""
:
"margin-right:30px;"
}
%h2
=
link_to
project_path
(
project
)
do
=
image_tag
gravatar_icon
(
project
.
name
),
:class
=>
"left"
,
:width
=>
40
,
:style
=>
"padding-right:5px;"
%h3
=
project
.
name
=
link_to
(
"/"
+
project
.
code
),
project_path
(
project
),
:style
=>
"text-decoration:none"
.data
%p
=
project
.
name
%p
.title.repository
%p
=
project
.
url_to_repo
%span
Repository:
-#%p
=
project
.
url_to_repo
Commit –
%p
.title.activity
= last_commit(project)
%span
Last Activity:
%hr
-
last_note
=
project
.
notes
.
last
=
link_to
"Browse Code"
,
tree_project_path
(
project
),
:class
=>
"lbutton"
=
last_note
?
last_note
.
created_at
.
stamp
(
"24 Aug, 2011"
)
:
"Never"
=
link_to
"Commits"
,
project_commits_path
(
project
),
:class
=>
"lbutton"
,
:style
=>
"float:right;width:80px;"
.buttons
.clear
%a
.browse-code.button.yellow
{
:href
=>
tree_project_path
(
project
)}
Browse code
%a
.commits.button.green
{
:href
=>
project_commits_path
(
project
)}
Commits
This diff is collapsed.
Click to expand it.
app/views/projects/index.html.haml
View file @
1ffb4b98
-
content_for
(
:page_title
)
do
.page-title
.container_3
-
if
current_user
.
can_create_project?
%a
.grey-button
{
:href
=>
new_project_path
}
Create new project
%h1
Projects
-
unless
@projects
.
empty?
-
unless
@projects
.
empty?
%div
{
:class
=>
"tile"
,
:style
=>
view_mode_style
(
"tile"
)}
%div
{
:class
=>
"tile"
,
:style
=>
view_mode_style
(
"tile"
)}
=
render
"tile"
=
render
"tile"
...
...
This diff is collapsed.
Click to expand it.
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