This commit is contained in:
Curtis Castrapel 2018-04-13 12:52:36 -07:00
parent f43100a247
commit 309d10c4e2
2 changed files with 12 additions and 1 deletions

View File

@ -109,6 +109,15 @@
};
});
lemur.service('DnsService', function (LemurRestangular) {
var DnsService = this;
DnsService.get = function () {
return LemurRestangular.all('dns_service').customGET().then(function (dns_service) {
return dns_service;
});
};
});
lemur.directive('lemurBadRequest', [function () {
return {
template: '<h4>{{ directiveData.message }}</h4>' +

View File

@ -241,7 +241,9 @@
DNS Provider
</label>
<div class="col-sm-10">
<select class="form-control" ng-model="selected" ng-options="item as item.name for item in dnsProviders"></select>
<select class="form-control" ng-model="certificate.dns_provider" ng-options="item as item.name for item in dns_providers">
<option value="">-- choose an entry. Needed for LetsEncrypt --</option>
</select>
</div>
</div>