From 6ea6ab7c8d152ce17f6321a984a213b17d7f5e7e Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sun, 2 Dec 2012 08:41:06 +0300 Subject: [PATCH] Restyled services page in order to make it more usable --- .../images/service-disabled-gitlab-ci.png | Bin 2178 -> 0 bytes app/assets/images/service-gitlab-ci.png | Bin 2393 -> 0 bytes app/views/services/_gitlab_ci.html.haml | 21 +++++----- app/views/services/index.html.haml | 36 ++++++++++++------ 4 files changed, 36 insertions(+), 21 deletions(-) delete mode 100644 app/assets/images/service-disabled-gitlab-ci.png delete mode 100644 app/assets/images/service-gitlab-ci.png diff --git a/app/assets/images/service-disabled-gitlab-ci.png b/app/assets/images/service-disabled-gitlab-ci.png deleted file mode 100644 index 8d1f9d0b50d01604383045d307369096fbfbda7f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2178 zcma)8c{JPG7LK86C^cPkRf#sejaJn~4MiR?R1gmpQzg{!NTkF(R8*U)Xd1n=YAR}a zrV!es{e;-oJ01wa-~+ud~+K``h3C&PjE&w-Ogs5(R-k z;x^V6PQdyUu&csC!2E}h8V6YT!kw&OpqkGrY+xgVxoKqqI{tgSYAbsNctr5lsBjQS zOy+On1HH^u0GuZYHVDg;(_*rs7sY0iEM9;>!u&QC=FZWR>$x5dGAyN}0{bcAu!dI2 ziHA;VqI?zn=Z2CVML&{%8NGR%(oM$238_X^buvj{pkK{!EKvUr7xd6c_Pc-d0IX7oTM;O5T-_yv{n<87EUqaKljv3 z7%a&z@;@h0@W0Oeyul;fg+Ft0()t#=*aRm>$E2Y^zley;%*@|POG|}G?@$RZb8;?f zX)VsZBZc5_{60-nLu^9)(V+`=nR8HHQ89PGS+;X+{b(4Get88#osNkw6mo zUtoFrxHi0+H3v6@;MMg&c)$G<4s5?A7oD456q|u&PgOiIOkjJo? znCltft%Y70rwUmF0-<>N*(~}w{OkH2&~D; zfA^Six!gZ9Gx_iv)7L?&ripgCN=F+U9feaPqodS<0?I^)e{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CiaP&>bGeZw34FdXE zmc)T7^8Behv`)6dnKO67!lY}*)5h1jzi&yVbpyI{NczI@=jN(xZ*Oa7+o85dvzq}}ta$BsrE9=H3MHx5DSkROfRMn8sb*?# zS65f5Crons;p$X1rS$st_RnKua`jMOo$NOgA%H0OtAwJ_L^tTeB8cF9^Tzzl=g&#+ z=Jq$#mp0ZY-5BeP6lkAY^;ng`B~{8b6B7guhlBU*kBfr$X_6h*vj5-H`YoW?1BH?* nR@+DGYG`Q8@0lf^T{6YJQEaHS-QNK|2p}6vdy5*FPx5~N!<-za diff --git a/app/assets/images/service-gitlab-ci.png b/app/assets/images/service-gitlab-ci.png deleted file mode 100644 index bcb30a3fb1ada06b21c05de1814b7b6bea9e7652..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2393 zcmV-f38wamP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2iyx3 z3MeP^Lm4^%00`MhL_t(|+U=ZcY+KbGz<>8%U;FxXbL}Kf?4(H==hZAt3nfs7ST!Lb zp{nC0m^Q>{~krU?ZA;d0>MQhizyHYfdoPz zfe=U_1QG~@Kms9e43G1Vp*Tv?e%Q;dAR@09>Qr8fCk-(RgpP9A6;tq&4wy&s;gvg z?=Wvo&V6QM{^6D&9pwghztPR2nf=t?SLM`b_v(Df<7Sh`MJAVLBA(=LV<8TQ!bNQ> z?KYmeri~Nf7<-PK{9+4K-bgNQ6zL1);91D&yHxW4t;VD(V+c z79Lv0ES!zoTB`HVWsN-5GgQOPZhQxX<0+%zgT^c~|)izP~w$EI}rhr#lp( zuEar`*G-$(&7tube$)5iQu~yd10a#kez7Bv&u-=6%NkK6i9K(h;Dx?%R8>Y%B$BBt zSNc8t;;U`k-MoR(c!FbdA4Qg*{_7+U|Km7S<#sF<86__v17`NpI&8VMROf-Vdd6c3 ze%{&7JL7YpNTf1ZTD@)_-_go-Rb_Ne&2w~aLF7Q^u*ouyT-JogrgG0;yLc-!$L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$maw~3?s~P0KkU4mU9}bLs;wYyW|>WY@gYLOXJS2*kEY7tRM_>> zVXp8QbodRf@Eg>ZI5|EOrEfMy=foTbN2jSNbKthEyp)}eFS565m|L6t1a$|7sxo$7 z-L}SUU$O6jQ5jW{+1oSB(NKgNf)!j}?PDks=jr!{dA@&wC$4Sf`i(xkHkG+lAxTb} zS#IBdggw_ZbN{AVA}NzUofzlIt|4kFod4Av7*3U!PEYds$TZsnUak&!>F^tblNko) z<2-YGl*3bDf|bto^4O5p+rM`)vpJ$klUOoKEMbx~vuG9tyG=&7t9V>iKE8MiOvQ-A zGql%~EEU+s=M&6D)0o*j8!HOS(AaE(smSUt05+64@aZ-(**tU66!VK2lIbj(s^D>{ z_;eeCp*Z1qhRro4*eo&wlQCjRljeY%(b)uxDHDq#;kK((d+jK)bU|~lm@ :service, :url => project_service_path(@project, :gitlab_ci), :method => :put) do |f| - if @service.errors.any? .alert-message.block-message.error diff --git a/app/views/services/index.html.haml b/app/views/services/index.html.haml index 3894fcee369..65e94383da3 100644 --- a/app/views/services/index.html.haml +++ b/app/views/services/index.html.haml @@ -1,15 +1,27 @@ = 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