summaryrefslogtreecommitdiff
path: root/app/views/ci
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-24 15:08:33 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-24 15:10:25 +0200
commit2759b13ae99dc1d30516123390bbdb73258fa270 (patch)
tree06db632843fbb462dc75c8b6af76c8a5f1fa373f /app/views/ci
parent353d426e4e68006ba8cea90e2f6ad4e8956cb6a9 (diff)
downloadgitlab-ce-2759b13ae99dc1d30516123390bbdb73258fa270.tar.gz
Remove CI dashboard
With CI status integrated at GitLab projects page there is no reason to keep it anymore. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/ci')
-rw-r--r--app/views/ci/projects/_project.html.haml24
-rw-r--r--app/views/ci/projects/_public.html.haml16
-rw-r--r--app/views/ci/projects/_search.html.haml6
-rw-r--r--app/views/ci/projects/index.html.haml17
4 files changed, 0 insertions, 63 deletions
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)
- &middot;
- - 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'