##// END OF EJS Templates
api: params should be plain dictionary
api: params should be plain dictionary

File last commit:

r83:437edeed
r88:5d26e970
Show More
webhooks-integration-config-view.html
48 lines | 2.5 KiB | text/html | HtmlLexer
components: whole settings panel componentized
r83 <ng-include src="'templates/loader.html'" ng-if="integrations.loading.application || $ctrl.loading.integration"></ng-include>
project: initial commit
r0
components: whole settings panel componentized
r83 <div class="panel panel-default" ng-show="!integrations.loading.application && !$ctrl.loading.integration">
<div class="panel-heading" ng-include="'templates/settings_breadcrumbs.html'"></div>
project: initial commit
r0 <div class="panel-body">
<h1>Webhooks Integration</h1>
components: whole settings panel componentized
r83 <form name="$ctrl.integrationForm" ng-submit="$ctrl.configureIntegration()" class="form-horizontal">
project: initial commit
r0 <div class="form-group" id="row-reports_webhook">
<label class="control-label col-sm-3 col-lg-2">
Reports webhook <span class="required">*</span>
</label>
<div class="col-sm-8 col-lg-9">
components: whole settings panel componentized
r83 <data-form-errors errors="$ctrl.integrationForm.ae_validation.reports_webhook"></data-form-errors>
<input class="form-control" id="reports_webhook" name="reports_webhook" type="text" ng-model="$ctrl.config.reports_webhook">
project: initial commit
r0 </div>
</div>
<div class="form-group" id="row-alerts_webhook">
<label class="control-label col-sm-3 col-lg-2">
Alerts webhook <span class="required">*</span>
</label>
<div class="col-sm-8 col-lg-9">
components: whole settings panel componentized
r83 <data-form-errors errors="$ctrl.integrationForm.ae_validation.alerts_webhook"></data-form-errors>
<input class="form-control StringField None" id="alerts_webhook" name="alerts_webhook" type="text" ng-model="$ctrl.config.alerts_webhook">
project: initial commit
r0 </div>
</div>
<div class="form-group" id="row-submit">
<label class="control-label col-sm-3 col-lg-2"></label>
<div class="col-sm-8 col-lg-9">
<input class="form-control btn btn-primary" id="submit" name="submit" type="submit" value="Setup webhooks">
<span class="dropdown" data-uib-dropdown on-toggle="toggled(open)">
<a class="btn btn-danger" data-uib-dropdown-toggle><span class="fa fa-trash-o"></span> Remove Integration</a>
<ul class="dropdown-menu">
<li><a>No</a></li>
components: whole settings panel componentized
r83 <li><a ng-click="$ctrl.removeIntegration()">Yes</a></li>
project: initial commit
r0 </ul>
</span>
</div>
</div>
</form>
</div>
</div>