From 2759b13ae99dc1d30516123390bbdb73258fa270 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 24 Sep 2015 15:08:33 +0200 Subject: Remove CI dashboard With CI status integrated at GitLab projects page there is no reason to keep it anymore. Signed-off-by: Dmitriy Zaporozhets --- app/views/ci/projects/_project.html.haml | 24 ------------------------ app/views/ci/projects/_public.html.haml | 16 ---------------- app/views/ci/projects/_search.html.haml | 6 ------ app/views/ci/projects/index.html.haml | 17 ----------------- 4 files changed, 63 deletions(-) delete mode 100644 app/views/ci/projects/_project.html.haml delete mode 100644 app/views/ci/projects/_public.html.haml delete mode 100644 app/views/ci/projects/_search.html.haml delete mode 100644 app/views/ci/projects/index.html.haml (limited to 'app/views/ci') diff --git a/app/views/ci/projects/_project.html.haml b/app/views/ci/projects/_project.html.haml deleted file mode 100644 index 58022de9bc1..00000000000 --- a/app/views/ci/projects/_project.html.haml +++ /dev/null @@ -1,24 +0,0 @@ -- last_commit = project.last_commit -%tr - %td - = link_to [:ci, project] do - = project.name - %td - - if last_commit - = ci_status_with_icon(last_commit.status) - = commit_link(last_commit) - · - - if project.last_commit_date - = time_ago_in_words project.last_commit_date - ago - - else - No builds yet - %td - - if project.public - %i.fa.fa-globe - Public - - else - %i.fa.fa-lock - Private - %td - = project.commits.count diff --git a/app/views/ci/projects/_public.html.haml b/app/views/ci/projects/_public.html.haml deleted file mode 100644 index bcbd60b83f0..00000000000 --- a/app/views/ci/projects/_public.html.haml +++ /dev/null @@ -1,16 +0,0 @@ -= content_for :title do - %h3.project-title - Public projects - -- if @projects.present? - .projects - %table.table - %tr - %th Name - %th Last commit - %th Access - %th Commits - = render @projects - = paginate @projects -- else - %h4 No public projects yet diff --git a/app/views/ci/projects/_search.html.haml b/app/views/ci/projects/_search.html.haml deleted file mode 100644 index a956ed4c0bc..00000000000 --- a/app/views/ci/projects/_search.html.haml +++ /dev/null @@ -1,6 +0,0 @@ -.search - = form_tag ci_root_path, method: :get, class: 'ci-search-form' do |f| - .input-group - = search_field_tag "search", params[:search], placeholder: "Search", class: "search-input form-control" - .input-group-addon - %i.fa.fa-search diff --git a/app/views/ci/projects/index.html.haml b/app/views/ci/projects/index.html.haml deleted file mode 100644 index 046095a3c12..00000000000 --- a/app/views/ci/projects/index.html.haml +++ /dev/null @@ -1,17 +0,0 @@ -- if current_user - .gray-content-block.top-block - = render "search" - .projects - .wide-table-holder - %table.table.projects-table.content-list - %thead - %tr - %th Project Name - %th Last commit - %th Access - %th Commits - - = render @projects - = paginate @projects, theme: 'gitlab' -- else - = render 'public' -- cgit v1.2.1