diff options
Diffstat (limited to 'openstack_dashboard/static/app/core/images')
-rw-r--r-- | openstack_dashboard/static/app/core/images/steps/create-image/create-image.html | 16 | ||||
-rw-r--r-- | openstack_dashboard/static/app/core/images/steps/edit-image/edit-image.html | 4 |
2 files changed, 7 insertions, 13 deletions
diff --git a/openstack_dashboard/static/app/core/images/steps/create-image/create-image.html b/openstack_dashboard/static/app/core/images/steps/create-image/create-image.html index 26aa31034..71f70ffbe 100644 --- a/openstack_dashboard/static/app/core/images/steps/create-image/create-image.html +++ b/openstack_dashboard/static/app/core/images/steps/create-image/create-image.html @@ -76,15 +76,9 @@ <label class="control-label" for="imageForm-image_url"> <translate>File</translate><span class="hz-icon-required fa fa-asterisk"></span> </label> - <div class="input-group" ng-hide="ctrl.uploadProgress > -1"> - <span class="input-group-btn"> - <button class="btn btn-primary" ng-model="image_file" - ngf-select="ctrl.prepareUpload(image_file)" - name="image_file" ng-required="true" - ng-disabled="viewModel.isSubmitting" - id="imageForm-image_file" translate>Browse...</button> - </span> - <input type="text" class="form-control" readonly ng-model="image_file.name"> + <div ng-hide="ctrl.uploadProgress > -1"> + <input type="file" ng-model="image_file" ngf-select="ctrl.prepareUpload(image_file)" + name="image_file" ng-required="true" ng-disabled="viewModel.isSubmitting"> </div> <div ng-hide="ctrl.uploadProgress < 0" class="progress-text"> <uib-progressbar value="ctrl.uploadProgress"></uib-progressbar> @@ -239,7 +233,7 @@ <translate>Visibility</translate> </label> <div class="form-field"> - <div class="btn-group"> + <div class="btn-group" name="visibility"> <label class="btn btn-default" ng-repeat="option in ctrl.imageVisibilityOptions" ng-model="ctrl.image.visibility" @@ -254,7 +248,7 @@ <translate>Protected</translate> </label> <div class="form-field"> - <div class="btn-group"> + <div class="btn-group" name="protected"> <label class="btn btn-default" ng-repeat="option in ctrl.imageProtectedOptions" ng-model="ctrl.image.protected" diff --git a/openstack_dashboard/static/app/core/images/steps/edit-image/edit-image.html b/openstack_dashboard/static/app/core/images/steps/edit-image/edit-image.html index ce75e8e2e..46d493227 100644 --- a/openstack_dashboard/static/app/core/images/steps/edit-image/edit-image.html +++ b/openstack_dashboard/static/app/core/images/steps/edit-image/edit-image.html @@ -126,7 +126,7 @@ <div class="form-group"> <label class="control-label required" translate>Visibility</label> <div class="form-field"> - <div class="btn-group"> + <div class="btn-group" name="visibility"> <label class="btn btn-default" ng-repeat="option in ctrl.imageVisibilityOptions" ng-model="ctrl.image.visibility" @@ -139,7 +139,7 @@ <div class="form-group"> <label class="control-label required" translate>Protected</label> <div class="form-field"> - <div class="btn-group"> + <div class="btn-group" name="protected"> <label class="btn btn-default" ng-repeat="option in ctrl.imageProtectedOptions" ng-model="ctrl.image.protected" |