Port cor-title and add file check endpoint
Fix some FA5 regressions Fix uploading cert files Add fix some icons
This commit is contained in:
parent
b5f630ba29
commit
561522c6d3
24 changed files with 159 additions and 56 deletions
|
@ -17,6 +17,7 @@ angular.module('quay-config').directive('fileUploadBox', function () {
|
|||
'filesValidated': '&filesValidated',
|
||||
|
||||
'extensions': '<extensions',
|
||||
'apiEndpoint': '@apiEndpoint',
|
||||
|
||||
'reset': '=?reset'
|
||||
},
|
||||
|
@ -103,13 +104,7 @@ angular.module('quay-config').directive('fileUploadBox', function () {
|
|||
$scope.currentlyUploadingFile = currentFile;
|
||||
$scope.uploadProgress = 0;
|
||||
|
||||
// ApiService.getFiledropUrl(data).then(function(resp) {
|
||||
// // Perform the upload.
|
||||
// conductUpload(currentFile, resp.url, resp.file_id, mimeType, progressCb, doneCb);
|
||||
// }, function() {
|
||||
// callback(false, 'Could not retrieve upload URL');
|
||||
// });
|
||||
conductUpload(currentFile, '/api/v1/configapp/tarconfig','fileIdIsUnused', mimeType, progressCb, doneCb);
|
||||
conductUpload(currentFile, $scope.apiEndpoint, $scope.selectedFiles[0].name, mimeType, progressCb, doneCb);
|
||||
};
|
||||
|
||||
// Start the uploading.
|
||||
|
|
Reference in a new issue