Commit 6ea6ab7c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Restyled services page in order to make it more usable

parent c0c5d94b
%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'
%small.cgreen Enabled
- else
= image_tag 'service-disabled-gitlab-ci.png', class: 'small'
%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
......
= render "projects/project_head"
%h3.page_title Services
%hr
%br
.row
.span6
.padded
%p.slead Continuous integration server from GitLab
.thumbnail.left
%ul.unstyled.ui-box
%li.wll
%h4
= link_to edit_project_service_path(@project, :gitlab_ci) do
- if @gitlab_ci_service.try :active
= image_tag 'service-gitlab-ci.png'
GitLab CI
%small Continuous integration server from GitLab
.right
- if @gitlab_ci_service.active
%small.cgreen Enabled
- else
= image_tag 'service-disabled-gitlab-ci.png'
%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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment