summaryrefslogtreecommitdiff
path: root/app/views/ci
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-08-26 17:47:18 -0700
committerDouwe Maan <douwe@gitlab.com>2015-08-26 17:47:18 -0700
commit6afd69f4445cc0688aa1695389eb3f79033e3121 (patch)
tree729b58c8a0a7013e4166dca05e2e68adfe274a1d /app/views/ci
parent046b28312704f3131e72dcd2dbdacc5264d4aa62 (diff)
downloadgitlab-ce-6afd69f4445cc0688aa1695389eb3f79033e3121.tar.gz
Update gitignore, change literal DB table names, fix errors, fix fontawesome
Diffstat (limited to 'app/views/ci')
-rw-r--r--app/views/ci/admin/projects/_project.html.haml8
-rw-r--r--app/views/ci/builds/_build.html.haml4
-rw-r--r--app/views/ci/builds/show.html.haml8
-rw-r--r--app/views/ci/commits/show.html.haml2
-rw-r--r--app/views/ci/helps/show.html.haml8
-rw-r--r--app/views/ci/lints/_create.html.haml4
-rw-r--r--app/views/ci/lints/show.html.haml2
-rw-r--r--app/views/ci/projects/_project.html.haml6
-rw-r--r--app/views/ci/projects/_search.html.haml2
-rw-r--r--app/views/ci/projects/gitlab.html.haml4
-rw-r--r--app/views/ci/projects/index.html.haml2
11 files changed, 25 insertions, 25 deletions
diff --git a/app/views/ci/admin/projects/_project.html.haml b/app/views/ci/admin/projects/_project.html.haml
index e64bfe853d7..505dd4b3fdc 100644
--- a/app/views/ci/admin/projects/_project.html.haml
+++ b/app/views/ci/admin/projects/_project.html.haml
@@ -3,7 +3,7 @@
%td
= project.id
%td
- = link_to project do
+ = link_to [:ci, project] do
%strong= project.name
%td
- if last_commit
@@ -15,14 +15,14 @@
No builds yet
%td
- if project.public
- %i.fa-globe
+ %i.fa.fa-globe
Public
- else
- %i.fa-lock
+ %i.fa.fa-lock
Private
%td
= project.commits.count
%td
= link_to [:ci, :admin, project], method: :delete, class: 'btn btn-danger btn-sm' do
- %i.fa-remove
+ %i.fa.fa-remove
Remove
diff --git a/app/views/ci/builds/_build.html.haml b/app/views/ci/builds/_build.html.haml
index ff9fdbbcb4e..54ca1102b5c 100644
--- a/app/views/ci/builds/_build.html.haml
+++ b/app/views/ci/builds/_build.html.haml
@@ -39,7 +39,7 @@
.pull-right
- if build.active?
= link_to cancel_ci_project_build_path(build.project, build, return_to: request.original_url), title: 'Cancel build' do
- %i.fa-remove.cred
+ %i.fa.fa-remove.cred
- elsif build.commands.present?
= link_to retry_ci_project_build_path(build.project, build, return_to: request.original_url), method: :post, title: 'Retry build' do
- %i.fa-repeat
+ %i.fa.fa-repeat
diff --git a/app/views/ci/builds/show.html.haml b/app/views/ci/builds/show.html.haml
index fed30847e73..0bef67d8a20 100644
--- a/app/views/ci/builds/show.html.haml
+++ b/app/views/ci/builds/show.html.haml
@@ -25,7 +25,7 @@
%a
Build ##{@build.id}
&middot;
- %i.fa-warning-sign
+ %i.fa.fa-warning-sign
This build was retried.
.row
@@ -46,7 +46,7 @@
- if @build.duration
.pull-right
%span
- %i.fa-time
+ %i.fa.fa-time
#{duration_in_words(@build.finished_at, @build.started_at)}
.clearfix
@@ -63,9 +63,9 @@
.clearfix
.scroll-controls
= link_to '#up-build-trace', class: 'btn' do
- %i.fa-angle-up
+ %i.fa.fa-angle-up
= link_to '#down-build-trace', class: 'btn' do
- %i.fa-angle-down
+ %i.fa.fa-angle-down
%pre.trace#build-trace
%code.bash
diff --git a/app/views/ci/commits/show.html.haml b/app/views/ci/commits/show.html.haml
index 4cf567c77e6..832cc6a1bae 100644
--- a/app/views/ci/commits/show.html.haml
+++ b/app/views/ci/commits/show.html.haml
@@ -60,7 +60,7 @@
Builds
- if @commit.duration > 0
%small.pull-right
- %i.fa-time
+ %i.fa.fa-time
#{time_interval_in_words @commit.duration}
%table.builds
diff --git a/app/views/ci/helps/show.html.haml b/app/views/ci/helps/show.html.haml
index 5acdf9fa98a..9b32d529c60 100644
--- a/app/views/ci/helps/show.html.haml
+++ b/app/views/ci/helps/show.html.haml
@@ -14,27 +14,27 @@
.bs-callout.bs-callout-success
%h4
= link_to 'https://gitlab.com/gitlab-org/gitlab-ci/blob/master/doc/api' do
- %i.fa-cogs
+ %i.fa.fa-cogs
API
%p Explore how you can access GitLab CI via the API.
.bs-callout.bs-callout-info
%h4
= link_to 'https://gitlab.com/gitlab-org/gitlab-ci/tree/master/doc/examples' do
- %i.fa-info-sign
+ %i.fa.fa-info-sign
Build script examples
%p This includes the build script we use to test GitLab CE.
.bs-callout.bs-callout-danger
%h4
= link_to 'https://gitlab.com/gitlab-org/gitlab-ci/issues' do
- %i.fa-bug
+ %i.fa.fa-bug
Issue tracker
%p Reports about recent bugs and problems..
.bs-callout.bs-callout-warning
%h4
= link_to 'http://feedback.gitlab.com/forums/176466-general/category/64310-gitlab-ci' do
- %i.fa-thumbs-up
+ %i.fa.fa-thumbs-up
Feedback forum
%p Suggest improvements or new features for GitLab CI.
diff --git a/app/views/ci/lints/_create.html.haml b/app/views/ci/lints/_create.html.haml
index 903b92de689..e2179e60f3e 100644
--- a/app/views/ci/lints/_create.html.haml
+++ b/app/views/ci/lints/_create.html.haml
@@ -2,7 +2,7 @@
%p
%b Status:
syntax is correct
- %i.fa-ok.correct-syntax
+ %i.fa.fa-ok.correct-syntax
%table.table.table-bordered
%thead
@@ -32,7 +32,7 @@
%p
%b Status:
syntax is incorrect
- %i.fa-remove.incorrect-syntax
+ %i.fa.fa-remove.incorrect-syntax
%b Error:
= @error
diff --git a/app/views/ci/lints/show.html.haml b/app/views/ci/lints/show.html.haml
index b0fd5dd8e58..a9b954771c5 100644
--- a/app/views/ci/lints/show.html.haml
+++ b/app/views/ci/lints/show.html.haml
@@ -13,7 +13,7 @@
%p.text-center.loading
- %i.fa-refresh.fa-spin
+ %i.fa.fa-refresh.fa-spin
.results.prepend-top-20
diff --git a/app/views/ci/projects/_project.html.haml b/app/views/ci/projects/_project.html.haml
index 3e893410df8..b3ad47ce432 100644
--- a/app/views/ci/projects/_project.html.haml
+++ b/app/views/ci/projects/_project.html.haml
@@ -1,7 +1,7 @@
- last_commit = project.last_commit
%tr.alert{class: commit_status_alert_class(last_commit) }
%td
- = link_to project do
+ = link_to [:ci, project] do
%strong= project.name
%td
- if last_commit
@@ -13,10 +13,10 @@
No builds yet
%td
- if project.public
- %i.fa-globe
+ %i.fa.fa-globe
Public
- else
- %i.fa-lock
+ %i.fa.fa-lock
Private
%td
= project.commits.count
diff --git a/app/views/ci/projects/_search.html.haml b/app/views/ci/projects/_search.html.haml
index 37fb804d8d0..e65aaa3870d 100644
--- a/app/views/ci/projects/_search.html.haml
+++ b/app/views/ci/projects/_search.html.haml
@@ -4,7 +4,7 @@
.input-group
= search_field_tag "search", params[:search], placeholder: "Search", class: "search-input form-control"
.input-group-addon
- %i.fa-search
+ %i.fa.fa-search
:coffeescript
diff --git a/app/views/ci/projects/gitlab.html.haml b/app/views/ci/projects/gitlab.html.haml
index dbc0ea0880f..bd55b1f12e7 100644
--- a/app/views/ci/projects/gitlab.html.haml
+++ b/app/views/ci/projects/gitlab.html.haml
@@ -6,7 +6,7 @@
by keyword: "#{params[:search]}",
#{time_ago_in_words(current_user.sync_at)} ago.
= link_to gitlab_ci_projects_path(reset_cache: true, search: params[:search]), class: 'sync-now btn btn-sm btn-default reset-cache' do
- %i.fa-refresh
+ %i.fa.fa-refresh
Sync now
%br
@@ -27,7 +27,7 @@
= render "gl_projects"
%p.text-center.hide.loading
- %i.fa-refresh.fa-spin
+ %i.fa.fa-refresh.fa-spin
- else
= render @projects
diff --git a/app/views/ci/projects/index.html.haml b/app/views/ci/projects/index.html.haml
index 6243a28f9e2..69b6c8b4d6d 100644
--- a/app/views/ci/projects/index.html.haml
+++ b/app/views/ci/projects/index.html.haml
@@ -7,7 +7,7 @@
.projects
%p.fetch-status.light
- %i.fa-refresh.fa-spin
+ %i.fa.fa-refresh.fa-spin
Please wait while we fetch from GitLab (#{GitlabCi.config.gitlab_server.url})
:coffeescript
$.get '#{gitlab_ci_projects_path}', (data) ->