2020-01-14 21:07:45 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`self monitor component When the self monitor project has not been created default state to match the default snapshot 1`] = `
|
|
|
|
<section
|
|
|
|
class="settings no-animate js-self-monitoring-settings"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="settings-header"
|
|
|
|
>
|
|
|
|
<h4
|
|
|
|
class="js-section-header"
|
|
|
|
>
|
|
|
|
|
|
|
|
Self monitoring
|
|
|
|
|
|
|
|
</h4>
|
|
|
|
|
2020-09-25 06:09:42 +00:00
|
|
|
<gl-button-stub
|
|
|
|
buttontextclasses=""
|
|
|
|
category="primary"
|
2020-01-14 21:07:45 +00:00
|
|
|
class="js-settings-toggle"
|
2020-09-25 06:09:42 +00:00
|
|
|
icon=""
|
|
|
|
size="medium"
|
|
|
|
variant="default"
|
2020-01-14 21:07:45 +00:00
|
|
|
>
|
|
|
|
Expand
|
2020-09-25 06:09:42 +00:00
|
|
|
</gl-button-stub>
|
2020-01-14 21:07:45 +00:00
|
|
|
|
|
|
|
<p
|
|
|
|
class="js-section-sub-header"
|
|
|
|
>
|
|
|
|
|
2021-07-26 18:09:51 +00:00
|
|
|
Activate or deactivate instance self monitoring.
|
|
|
|
|
|
|
|
<gl-link-stub
|
|
|
|
href="/help/administration/monitoring/gitlab_self_monitoring_project/index"
|
|
|
|
>
|
|
|
|
Learn more.
|
|
|
|
</gl-link-stub>
|
2020-01-14 21:07:45 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div
|
|
|
|
class="settings-content"
|
|
|
|
>
|
|
|
|
<form
|
|
|
|
name="self-monitoring-form"
|
|
|
|
>
|
|
|
|
<p>
|
2021-07-26 18:09:51 +00:00
|
|
|
Activate self monitoring to create a project to use to monitor the health of your instance.
|
2020-01-14 21:07:45 +00:00
|
|
|
</p>
|
|
|
|
|
2021-06-02 12:10:05 +00:00
|
|
|
<gl-form-group-stub
|
|
|
|
labeldescription=""
|
2021-12-16 00:15:50 +00:00
|
|
|
optionaltext="(optional)"
|
2021-06-02 12:10:05 +00:00
|
|
|
>
|
2020-01-14 21:07:45 +00:00
|
|
|
<gl-toggle-stub
|
2021-07-26 18:09:51 +00:00
|
|
|
label="Self monitoring"
|
2020-06-26 21:08:51 +00:00
|
|
|
labelposition="top"
|
2020-01-14 21:07:45 +00:00
|
|
|
/>
|
|
|
|
</gl-form-group-stub>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<gl-modal-stub
|
2022-04-28 21:09:03 +00:00
|
|
|
arialabel=""
|
2020-01-14 21:07:45 +00:00
|
|
|
cancel-title="Cancel"
|
2020-09-25 06:09:42 +00:00
|
|
|
category="primary"
|
2021-01-11 12:10:41 +00:00
|
|
|
dismisslabel="Close"
|
2020-01-14 21:07:45 +00:00
|
|
|
modalclass=""
|
|
|
|
modalid="delete-self-monitor-modal"
|
2021-07-26 18:09:51 +00:00
|
|
|
ok-title="Delete self monitoring project"
|
2020-01-14 21:07:45 +00:00
|
|
|
ok-variant="danger"
|
2020-02-04 15:08:40 +00:00
|
|
|
size="md"
|
2021-07-26 18:09:51 +00:00
|
|
|
title="Deactivate self monitoring?"
|
2020-01-14 21:07:45 +00:00
|
|
|
titletag="h4"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
|
2021-07-26 18:09:51 +00:00
|
|
|
Deactivating self monitoring deletes the self monitoring project. Are you sure you want to deactivate self monitoring and delete the project?
|
2020-01-14 21:07:45 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</gl-modal-stub>
|
|
|
|
</section>
|
|
|
|
`;
|