Welcome to mirror list, hosted at ThFree Co, Russian Federation.

grafana_integration_spec.js.snap « __snapshots__ « components « grafana_integration « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 33e2c0db5e5b89e66778f3979dfb25092dd97c0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`grafana integration component default state to match the default snapshot 1`] = `
<section
  class="settings no-animate js-grafana-integration"
  id="grafana"
>
  <div
    class="settings-header"
  >
    <h4
      class="js-section-header settings-title js-settings-toggle js-settings-toggle-trigger-only"
    >
      
      Grafana authentication
    
    </h4>
     
    <gl-button-stub
      buttontextclasses=""
      category="primary"
      class="js-settings-toggle"
      icon=""
      size="medium"
      variant="default"
    >
      Expand
    </gl-button-stub>
     
    <p
      class="js-section-sub-header"
    >
      
      Set up Grafana authentication to embed Grafana panels in GitLab Flavored Markdown.
      
      <gl-link-stub>
        Learn more.
      </gl-link-stub>
    </p>
  </div>
   
  <div
    class="settings-content"
  >
    <form>
      <gl-form-group-stub
        label="Enable authentication"
        label-for="grafana-integration-enabled"
        labeldescription=""
      >
        <gl-form-checkbox-stub
          id="grafana-integration-enabled"
        >
          
          Active
        
        </gl-form-checkbox-stub>
      </gl-form-group-stub>
       
      <gl-form-group-stub
        description="Enter the base URL of the Grafana instance."
        label="Grafana URL"
        label-for="grafana-url"
        labeldescription=""
      >
        <gl-form-input-stub
          id="grafana-url"
          placeholder="https://my-grafana.example.com/"
          value="http://test.host"
        />
      </gl-form-group-stub>
       
      <gl-form-group-stub
        label="API token"
        label-for="grafana-token"
        labeldescription=""
      >
        <gl-form-input-stub
          id="grafana-token"
          value="someToken"
        />
         
        <p
          class="form-text text-muted"
        >
          <gl-sprintf-stub
            message="Enter the %{docLinkStart}Grafana API token%{docLinkEnd}."
          />
        </p>
      </gl-form-group-stub>
       
      <gl-button-stub
        buttontextclasses=""
        category="primary"
        data-testid="save-grafana-settings-button"
        icon=""
        size="medium"
        variant="confirm"
      >
        
        Save changes
      
      </gl-button-stub>
    </form>
  </div>
</section>
`;