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
6ea6ab7c
Commit
6ea6ab7c
authored
Dec 02, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restyled services page in order to make it more usable
parent
c0c5d94b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
20 deletions
+35
-20
service-disabled-gitlab-ci.png
app/assets/images/service-disabled-gitlab-ci.png
+0
-0
service-gitlab-ci.png
app/assets/images/service-gitlab-ci.png
+0
-0
_gitlab_ci.html.haml
app/views/services/_gitlab_ci.html.haml
+11
-8
index.html.haml
app/views/services/index.html.haml
+24
-12
No files found.
app/assets/images/service-disabled-gitlab-ci.png
deleted
100644 → 0
View file @
c0c5d94b
2.13 KB
app/assets/images/service-gitlab-ci.png
deleted
100644 → 0
View file @
c0c5d94b
2.34 KB
app/views/services/_gitlab_ci.html.haml
View file @
6ea6ab7c
%h3
.page_title
Services
→
GitLab CI Integration
GitLab CI
%small
Continuous integration server from GitLab
.right
.thumbnail
-
if
@service
.
active
=
image_tag
'service-gitlab-ci.png'
,
class:
'small'
-
else
=
image_tag
'service-disabled-gitlab-ci.png'
,
class:
'small'
-
if
@service
.
active
%small
.cgreen
Enabled
-
else
%small
.btn
Disabled
%hr
.back_link
=
link_to
project_services_path
(
@project
)
do
←
to services
%hr
=
form_for
(
@service
,
:as
=>
:service
,
:url
=>
project_service_path
(
@project
,
:gitlab_ci
),
:method
=>
:put
)
do
|
f
|
-
if
@service
.
errors
.
any?
.alert-message.block-message.error
...
...
app/views/services/index.html.haml
View file @
6ea6ab7c
=
render
"projects/project_head"
%h3
.page_title
Services
%hr
.row
.span6
.padded
%p
.slead
Continuous integration server from GitLab
.thumbnail.left
=
link_to
edit_project_service_path
(
@project
,
:gitlab_ci
)
do
-
if
@gitlab_ci_service
.
try
:active
=
image_tag
'service-gitlab-ci.png'
-
else
=
image_tag
'service-disabled-gitlab-ci.png'
%br
%ul
.unstyled.ui-box
%li
.wll
%h4
=
link_to
edit_project_service_path
(
@project
,
:gitlab_ci
)
do
GitLab CI
%small
Continuous integration server from GitLab
.right
-
if
@gitlab_ci_service
.
active
%small
.cgreen
Enabled
-
else
%small
.btn
Disabled
%li
.wll
%h4
Jenkins CI
%small
An extendable open source continuous integration server
.right
%small
Not implemented yet
%li
.wll
%h4
Campfire
%small
Web-based group chat tool
.right
%small
Not implemented yet
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