Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Commit fc0389d

Browse files
committed
fixing build issue
1 parent fdbbe4d commit fc0389d

File tree

7 files changed

+149
-74
lines changed

7 files changed

+149
-74
lines changed

dist/partials/config.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,21 @@ <h5>Wavefront Settings</h5>
1616
</div>
1717
</div>
1818

19+
<div class="gf-form-inline">
20+
<div class="gf-form">
21+
<span class="gf-form-label width-10">CSP OAuth Token</span>
22+
</div>
23+
<div class="gf-form max-width-24">
24+
<i class="gf-form-label max-width-22 text-center" ng-show="ctrl.cspOAuthExists">Configured</i>
25+
<a class="btn btn-secondary gf-form-btn" style="flex-grow:1" type="submit" ng-click="ctrl.resetCspOAuth()" ng-show="ctrl.cspOAuthExists">Reset</a>
26+
<input type="text" class="gf-form-input max-width-24" ng-hide="ctrl.cspOAuthExists" ng-model="ctrl.current.jsonData.cspOAuthClientId"/>
27+
<input type="text" class="gf-form-input max-width-24" ng-hide="ctrl.cspOAuthExists" ng-model="ctrl.current.jsonData.cspOAuthClientSecret"/>
28+
<info-popover mode="right-absolute" ng-hide="ctrl.cspOAuthExists">
29+
Paste your CSP OAuth token here. You can find and manage your tokens on your profile page in the Wavefront app
30+
</info-popover>
31+
</div>
32+
</div>
33+
qqq
1934
<div class="gf-form-inline">
2035
<div class="gf-form">
2136
<span class="gf-form-label width-10">CSP API Token</span>

dist/plugin/configCtrl.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ export declare class WavefrontConfigCtrl {
33
current: any;
44
wavefrontTokenExists: boolean;
55
cspApiTokenExists: boolean;
6+
cspOAuthExists: boolean;
67
constructor();
78
resetWavefrontToken(): void;
89
resetCspApiToken(): void;
10+
resetCspOAuth(): void;
911
}

dist/plugin/configCtrl.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugin/configCtrl.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)