mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
remove license input field and add ng-class to default text
This commit is contained in:
parent
dcd89aabfc
commit
adb4703d45
@ -13,6 +13,9 @@
|
||||
.License-field--label{
|
||||
.OnePlusTwo-left--detailsLabel;
|
||||
}
|
||||
.License-fileName{
|
||||
padding-left: 20px;
|
||||
}
|
||||
.License-management .CodeMirror-scroll{
|
||||
min-height: 140px;
|
||||
}
|
||||
|
||||
@ -73,7 +73,7 @@ export default
|
||||
return moment().add(days, 'days').calendar();
|
||||
};
|
||||
var init = function(){
|
||||
$scope.fileName = "Please choose a file...";
|
||||
$scope.fileName = "No file selected.";
|
||||
$scope.title = $rootScope.licenseMissing ? "Tower License" : "License Management";
|
||||
Wait('start');
|
||||
CheckLicense.get()
|
||||
|
||||
@ -98,8 +98,8 @@
|
||||
<form id="License-form" name="license">
|
||||
<div class="License-subTitleText prepend-asterisk"> License File</div>
|
||||
<div class="input-group License-file--container">
|
||||
<span class="btn btn-default input-group-addon" ng-click="fakeClick()">Browse...</span>
|
||||
<input class="form-control License-input--fake" ng-disabled="true" placeholder="{{fileName}}" />
|
||||
<span class="btn btn-primary" ng-click="fakeClick()">Browse</span>
|
||||
<span class="License-fileName" ng-class="{'License-helperText' : fileName == 'No file selected.'}">{{fileName}}</span>
|
||||
<input id="License-file" class="form-control" type="file" file-on-change="getKey"/>
|
||||
</div>
|
||||
<div class="License-subTitleText prepend-asterisk"> End User License Agreement</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user