style the prometheus integration service page according to design
This commit is contained in:
parent
310ae68774
commit
06e7c15714
|
@ -135,6 +135,17 @@
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.integration-settings-form {
|
||||||
|
.well {
|
||||||
|
padding: $gl-padding / 2;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.svg-container {
|
||||||
|
max-width: 150px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.token-token-container {
|
.token-token-container {
|
||||||
#impersonation-token-token {
|
#impersonation-token-token {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
%p= @service.description
|
%p= @service.description
|
||||||
.col-lg-9
|
.col-lg-9
|
||||||
= form_for(@service, as: :service, url: project_service_path(@project, @service.to_param), method: :put, html: { class: 'gl-show-field-errors form-horizontal js-integration-settings-form', data: { 'can-test' => @service.can_test?, 'test-url' => test_project_service_path(@project, @service) } }) do |form|
|
= form_for(@service, as: :service, url: project_service_path(@project, @service.to_param), method: :put, html: { class: 'gl-show-field-errors form-horizontal integration-settings-form js-integration-settings-form', data: { 'can-test' => @service.can_test?, 'test-url' => test_project_service_path(@project, @service) } }) do |form|
|
||||||
= render 'shared/service_settings', form: form, subject: @service
|
= render 'shared/service_settings', form: form, subject: @service
|
||||||
- if @service.editable?
|
- if @service.editable?
|
||||||
.footer-block.row-content-block
|
.footer-block.row-content-block
|
||||||
|
|
|
@ -1,15 +1,27 @@
|
||||||
%h4
|
%h4
|
||||||
Auto configuration
|
Auto configuration
|
||||||
|
|
||||||
.prepend-top-default.append-bottom-default
|
- unless @service.manual_configuration?
|
||||||
- unless @service.manual_configuration?
|
.container-fluid
|
||||||
- if @service.prometheus_installed?
|
.row
|
||||||
= link_to 'Manage clusters', project_clusters_path(@project), class: 'btn'
|
- if @service.prometheus_installed?
|
||||||
- else
|
.col-sm-2
|
||||||
= link_to 'Install Prometheus on clusters', project_clusters_path(@project), class: 'btn btn-success'
|
.svg-container
|
||||||
- else
|
= image_tag 'illustrations/monitoring/getting_started.svg'
|
||||||
.well
|
.col-sm-10
|
||||||
To enable the installation of Prometheus on your clusters, deactivate the manual configuration below
|
%p.text-success.prepend-top-default
|
||||||
|
Prometheus is being automatically managed on your clusters
|
||||||
|
= link_to 'Manage clusters', project_clusters_path(@project), class: 'btn'
|
||||||
|
- else
|
||||||
|
.col-sm-2
|
||||||
|
= image_tag 'illustrations/monitoring/loading.svg'
|
||||||
|
.col-sm-10
|
||||||
|
%p.prepend-top-default
|
||||||
|
Automatically deploy and configure Prometheus on your clusters to monitor your project’s environments
|
||||||
|
= link_to 'Install Prometheus on clusters', project_clusters_path(@project), class: 'btn btn-success'
|
||||||
|
- else
|
||||||
|
.well
|
||||||
|
To enable the installation of Prometheus on your clusters, deactivate the manual configuration below
|
||||||
|
|
||||||
%hr
|
%hr
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue