make input fields shorter
This commit is contained in:
@@ -55,7 +55,7 @@ app.controller('SetupDNSController', ['$scope', '$http', 'Client', function ($sc
|
|||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
// TODO wait until domain is propagated and cert got acquired
|
// TODO wait until domain is propagated and cert got acquired
|
||||||
window.location.href = 'https://my.' + $scope.dnsCredentials.domain + '/setup.html';
|
window.location.href = 'https://my.' + $scope.dnsCredentials.domain + '/setup.html';
|
||||||
}, 5000);
|
}, 10000);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -47,8 +47,8 @@
|
|||||||
<div class="card" style="max-width: none; padding: 20px;">
|
<div class="card" style="max-width: none; padding: 20px;">
|
||||||
<form name="dnsCredentialsForm" role="form" novalidate ng-submit="setDnsCredentials()" autocomplete="off">
|
<form name="dnsCredentialsForm" role="form" novalidate ng-submit="setDnsCredentials()" autocomplete="off">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12 text-center">
|
<div class="col-md-10 col-md-offset-1 text-center">
|
||||||
<h1>Domain Setup</h1>
|
<h1>DNS Setup</h1>
|
||||||
<h3>Specify the domain for your Cloudron</h3>
|
<h3>Specify the domain for your Cloudron</h3>
|
||||||
<div class="form-group" ng-class="{ 'has-error': dnsCredentialsForm.domain.$dirty && dnsCredentialsForm.domain.$invalid }">
|
<div class="form-group" ng-class="{ 'has-error': dnsCredentialsForm.domain.$dirty && dnsCredentialsForm.domain.$invalid }">
|
||||||
<input type="text" class="form-control" ng-model="dnsCredentials.domain" name="domain" ng-minlength="4" ng-maxlength="128" placeholder="example.com" required autofocus ng-disabled="dnsCredentials.busy">
|
<input type="text" class="form-control" ng-model="dnsCredentials.domain" name="domain" ng-minlength="4" ng-maxlength="128" placeholder="example.com" required autofocus ng-disabled="dnsCredentials.busy">
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12 text-center">
|
<div class="col-md-10 col-md-offset-1 text-center">
|
||||||
<h3>DNS Provider Configuration</h3>
|
<h3>DNS Provider Configuration</h3>
|
||||||
<p class="has-error text-center" ng-show="dnsCredentials.error">{{ dnsCredentials.error }}</p>
|
<p class="has-error text-center" ng-show="dnsCredentials.error">{{ dnsCredentials.error }}</p>
|
||||||
|
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12 text-center">
|
<div class="col-md-12 text-center">
|
||||||
<button type="submit" class="btn btn-primary" ng-disabled="dnsCredentialsForm.$invalid"/><i class="fa fa-cog fa-spin" ng-show="dnsCredentials.busy"></i> Done</button>
|
<button type="submit" class="btn btn-primary" ng-disabled="dnsCredentialsForm.$invalid"/><i class="fa fa-cog fa-spin" ng-show="dnsCredentials.busy"></i> Next</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user