BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
a01737ac
Unverified
Commit
a01737ac
authored
May 28, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use panels instead of well for widgets in project sidebar
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
ce5928f4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
25 deletions
+23
-25
projects.scss
app/assets/stylesheets/pages/projects.scss
+6
-8
_aside.html.haml
app/views/projects/_aside.html.haml
+17
-17
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
a01737ac
...
...
@@ -209,13 +209,9 @@ ul.nav.nav-projects-tabs {
line-height
:
1
.5
;
}
.well
{
padding
:
14px
;
h4
{
font-weight
:
normal
;
margin
:
0
;
color
:
#555
;
.panel
{
.panel-heading
,
.panel-footer
{
background-color
:
#fcfcfc
;
}
.actions
{
...
...
@@ -224,10 +220,12 @@ ul.nav.nav-projects-tabs {
.nav-pills
a
{
padding
:
10px
;
font-weight
:
bold
;
color
:
$gl-link-color
;
}
.nav
{
margin
:
10px
0
;
margin
-bottom
:
10px
;
}
}
...
...
app/views/projects/_aside.html.haml
View file @
a01737ac
.clearfix
-
unless
@project
.
empty_repo?
.
well
%h4
.visibility-level-label
.
panel.panel-default
.panel-heading
=
visibility_level_icon
(
@project
.
visibility_level
)
=
"
#{
visibility_level_label
(
@project
.
visibility_level
).
capitalize
}
project"
.panel-body
-
if
@repository
.
changelog
||
@repository
.
license
||
@repository
.
contribution_guide
%ul
.nav.nav-pills
-
if
@repository
.
changelog
...
...
@@ -32,26 +33,16 @@
New Merge Request
-
if
forked_from_project
=
@project
.
forked_from_project
.well
%h4
.panel-footer
=
icon
(
"code-fork fw"
)
Forked from
.pull-right
=
link_to
forked_from_project
.
namespace
.
try
(
:name
),
project_path
(
forked_from_project
)
-
if
version
=
@repository
.
version
.well
%h4
=
icon
(
"clock-o fw"
)
Version
.pull-right
=
link_to
version_url
(
@project
)
do
=
@repository
.
blob_by_oid
(
version
.
id
).
data
-
@project
.
ci_services
.
each
do
|
ci_service
|
-
if
ci_service
.
active?
&&
ci_service
.
respond_to?
(
:builds_path
)
.well
%h4
.panel-footer
=
icon
(
"check fw"
)
=
ci_service
.
title
.pull-right
...
...
@@ -61,12 +52,13 @@
-
else
=
link_to
'view builds'
,
ci_service
.
builds_path
,
:'data-no-turbolink'
=>
'data-no-turbolink'
-
unless
@project
.
empty_repo?
.
well
%h4
.
panel.panel-default
.panel-heading
=
icon
(
"archive fw"
)
Repository
.panel-body
%ul
.nav.nav-pills
%li
=
link_to
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
@ref
||
@repository
.
root_ref
)
do
...
...
@@ -85,10 +77,18 @@
-
if
can?
(
current_user
,
:download_code
,
@project
)
=
render
'projects/repositories/download_archive'
,
split_button:
true
,
btn_class:
'btn-group-sm'
-
if
version
=
@repository
.
version
.panel-footer
=
icon
(
"clock-o fw"
)
Version
.pull-right
=
link_to
version_url
(
@project
)
do
=
@repository
.
blob_by_oid
(
version
.
id
).
data
=
render
"shared/clone_panel"
-
if
@project
.
archived?
%br
.alert.alert-warning
%h4
=
icon
(
"exclamation-triangle fw"
)
...
...
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