Add advanced settings to setupdns
This commit is contained in:
@@ -30,6 +30,9 @@
|
||||
<!-- Angular directives for tldjs -->
|
||||
<script type="text/javascript" src="/3rdparty/js/tld.js"></script>
|
||||
|
||||
<!-- Angular directives for bootstrap https://angular-ui.github.io/bootstrap/ -->
|
||||
<script type="text/javascript" src="/3rdparty/js/ui-bootstrap-tpls-1.3.3.min.js"></script>
|
||||
|
||||
<!-- Setup Application -->
|
||||
<script type="text/javascript" src="/js/setupdns.js"></script>
|
||||
|
||||
@@ -55,7 +58,7 @@
|
||||
<div class="col-md-10 col-md-offset-1 text-center">
|
||||
<h1>Cloudron Setup</h1>
|
||||
<h3>Provide a domain for your Cloudron</h3>
|
||||
<p>Apps will be installed on subdomains of this domain.</p>
|
||||
<p>Apps will be installed on subdomains of this domain</p>
|
||||
<div class="form-group" style="margin-bottom: 0;" ng-class="{ 'has-error': dnsCredentialsForm.domain.$dirty && dnsCredentialsForm.domain.$invalid }">
|
||||
<input type="text" class="form-control" ng-model="dnsCredentials.domain" name="domain" placeholder="example.com" required autofocus ng-disabled="dnsCredentials.busy">
|
||||
</div>
|
||||
@@ -161,6 +164,23 @@
|
||||
<p> <span ng-show="error" class="text-danger">{{ error }}</span></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="" ng-click="dnsCredentials.advancedVisible = true" ng-hide="dnsCredentials.advancedVisible">Advanced settings...</a>
|
||||
<div class="row" uib-collapse="!dnsCredentials.advancedVisible">
|
||||
<div class="col-md-10 col-md-offset-1 text-center" class="form-group">>
|
||||
<h4>Zone Name</h4>
|
||||
<input type="text" class="form-control" ng-model="dnsCredentials.zoneName" name="zoneName" placeholder="example.com" ng-disabled="dnsCredentials.busy">
|
||||
</div>
|
||||
|
||||
<div class="col-md-10 col-md-offset-1 text-center" class="form-group">
|
||||
<h4>Certificate Provider</h4>
|
||||
<select class="form-control" ng-model="dnsCredentials.tlsConfig.provider" ng-options="a.value as a.name for a in tlsProvider"></select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center">
|
||||
<button type="submit" class="btn btn-primary" ng-disabled="dnsCredentialsForm.$invalid"/><i class="fa fa-circle-o-notch fa-spin" ng-show="dnsCredentials.busy"></i> Next</button>
|
||||
|
||||
Reference in New Issue
Block a user