Skip to content

Commit

Permalink
fixing build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dkuldeep22 committed Nov 26, 2023
1 parent fdbbe4d commit fc0389d
Show file tree
Hide file tree
Showing 7 changed files with 149 additions and 74 deletions.
15 changes: 15 additions & 0 deletions dist/partials/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,21 @@ <h5>Wavefront Settings</h5>
</div>
</div>

<div class="gf-form-inline">
<div class="gf-form">
<span class="gf-form-label width-10">CSP OAuth Token</span>
</div>
<div class="gf-form max-width-24">
<i class="gf-form-label max-width-22 text-center" ng-show="ctrl.cspOAuthExists">Configured</i>
<a class="btn btn-secondary gf-form-btn" style="flex-grow:1" type="submit" ng-click="ctrl.resetCspOAuth()" ng-show="ctrl.cspOAuthExists">Reset</a>
<input type="text" class="gf-form-input max-width-24" ng-hide="ctrl.cspOAuthExists" ng-model="ctrl.current.jsonData.cspOAuthClientId"/>
<input type="text" class="gf-form-input max-width-24" ng-hide="ctrl.cspOAuthExists" ng-model="ctrl.current.jsonData.cspOAuthClientSecret"/>
<info-popover mode="right-absolute" ng-hide="ctrl.cspOAuthExists">
Paste your CSP OAuth token here. You can find and manage your tokens on your profile page in the Wavefront app
</info-popover>
</div>
</div>
qqq
<div class="gf-form-inline">
<div class="gf-form">
<span class="gf-form-label width-10">CSP API Token</span>
Expand Down
2 changes: 2 additions & 0 deletions dist/plugin/configCtrl.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ export declare class WavefrontConfigCtrl {
current: any;
wavefrontTokenExists: boolean;
cspApiTokenExists: boolean;
cspOAuthExists: boolean;
constructor();
resetWavefrontToken(): void;
resetCspApiToken(): void;
resetCspOAuth(): void;
}
7 changes: 7 additions & 0 deletions dist/plugin/configCtrl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugin/configCtrl.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fc0389d

Please sign in to comment.