debian-mirror-gitlab/app/views/ci/lints/show.html.haml

28 lines
696 B
Text
Raw Normal View History

2015-09-25 12:07:36 +05:30
%h2 Check your .gitlab-ci.yml
%hr
= form_tag ci_lint_path, method: :post, remote: true do
.control-group
= label_tag :content, "Content of .gitlab-ci.yml", class: 'control-label'
.controls
= text_area_tag :content, nil, class: 'form-control span1', rows: 7, require: true
.control-group.clearfix
.controls.pull-left.prepend-top-10
= submit_tag "Validate", class: 'btn btn-success submit-yml'
2015-11-26 14:37:03 +05:30
2015-09-25 12:07:36 +05:30
%p.text-center.loading
%i.fa.fa-refresh.fa-spin
.results.prepend-top-20
2015-11-26 14:37:03 +05:30
:javascript
$(".loading").hide();
$('form').bind('ajax:beforeSend', function() {
$(".loading").show();
});
$('form').bind('ajax:complete', function() {
$(".loading").hide();
});