mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 02:02:14 +00:00
update
This commit is contained in:
parent
2ea7b0cbf3
commit
cb122b1506
@ -329,7 +329,7 @@
|
||||
<input type="file" id="batchChangeCsv" ng-model="csvInput" name="batchChangeCsv" class="batchChangeCsv" ng-change="uploadCSV(createBatchChangeForm.batchChangeCsv.$viewValue, batchChangeLimit )" batch-change-file>
|
||||
<p><a href="https://www.vinyldns.io/portal/dns-changes#dns-change-csv-import" target="_blank" rel="noopener noreferrer">See documentation for sample CSV</a></p>
|
||||
</div>
|
||||
<p ng-if="newBatch.changes.length >= batchChangeLimit">Limit reached. Cannot add more than {{batchChangeLimit}} records per DNS change.</p>
|
||||
<p ng-if="newBatch.changes.length > batchChangeLimit">Limit reached. Cannot add more than {{batchChangeLimit}} records per DNS change.</p>
|
||||
</div>
|
||||
<div class="panel-footer clearfix">
|
||||
<div ng-if="formStatus=='pendingSubmit'" class="pull-right">
|
||||
|
@ -164,9 +164,7 @@
|
||||
|
||||
$scope.uploadCSV = function(file, batchChangeLimit) {
|
||||
parseFile(file, batchChangeLimit).then(function(dataLength){
|
||||
|
||||
$scope.alerts.push({type: 'success', content: 'Successfully imported ' + dataLength + ' DNS changes.' });
|
||||
|
||||
}, function(error) {
|
||||
$scope.alerts.push({type: 'danger', content: error});
|
||||
});
|
||||
|
@ -30,7 +30,6 @@
|
||||
"allowManualReview": allowManualReview
|
||||
}
|
||||
var url = utilityService.urlBuilder('/api/dnschanges', params);
|
||||
return $http.post(url, data, {headers: utilityService.getCsrfHeader()});
|
||||
let loader = $("#loader");
|
||||
loader.modal({
|
||||
backdrop: "static",
|
||||
|
Loading…
x
Reference in New Issue
Block a user