Fix setupdns layout
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
<div class="card" style="max-width: none; padding: 20px;">
|
||||
<form name="dnsCredentialsForm" role="form" novalidate ng-submit="setDnsCredentials()" autocomplete="off">
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1 text-center">
|
||||
<div class="col-md-8 col-md-offset-2 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>
|
||||
@@ -66,7 +66,7 @@
|
||||
</div>
|
||||
<br/>
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1 text-center">
|
||||
<div class="col-md-8 col-md-offset-2 text-center">
|
||||
<h3>Choose how this domain is managed</h3>
|
||||
<p class="has-error text-center" ng-show="dnsCredentials.error">{{ dnsCredentials.error }}</p>
|
||||
|
||||
@@ -152,31 +152,31 @@
|
||||
Setup an A record for <b>my.{{ dnsCredentials.domain || 'example.com' }}</b> to this server's IP.<br/>
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" ng-show="provider === 'ami'">
|
||||
<div class="col-md-10 col-md-offset-1 text-center">
|
||||
<br/>
|
||||
<h3>Owner verification</h3>
|
||||
<p>Provide the EC2 instance id to verify you have access to this server.</p>
|
||||
<div class="form-group" ng-class="{ 'has-error': dnsCredentialsForm.instanceId.$dirty && (dnsCredentialsForm.instanceId.$invalid || error) }">
|
||||
<input type="text" class="form-control" ng-model="instanceId" id="inputInstanceId" name="instanceId" placeholder="AWS EC2 instance id" ng-maxlength="20" ng-minlength="10" ng-required="provider === 'ami'" autocomplete="off">
|
||||
|
||||
|
||||
<div ng-show="provider === 'ami'">
|
||||
<br/>
|
||||
<h3>Owner verification</h3>
|
||||
<p>Provide the EC2 instance id to verify you have access to this server.</p>
|
||||
<div class="form-group" ng-class="{ 'has-error': dnsCredentialsForm.instanceId.$dirty && (dnsCredentialsForm.instanceId.$invalid || error) }">
|
||||
<input type="text" class="form-control" ng-model="instanceId" id="inputInstanceId" name="instanceId" placeholder="AWS EC2 instance id" ng-maxlength="20" ng-minlength="10" ng-required="provider === 'ami'" autocomplete="off">
|
||||
</div>
|
||||
<p> <span ng-show="error" class="text-danger">{{ error }}</span></p>
|
||||
</div>
|
||||
<p> <span ng-show="error" class="text-danger">{{ error }}</span></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<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="{{dnsCredentials.domain | zoneName}}" ng-disabled="dnsCredentials.busy">
|
||||
</div>
|
||||
<br/>
|
||||
<a href="" ng-click="dnsCredentials.advancedVisible = true" ng-hide="dnsCredentials.advancedVisible">Advanced settings...</a>
|
||||
<div uib-collapse="!dnsCredentials.advancedVisible">
|
||||
<div class="form-group">
|
||||
<h4>Zone Name</h4>
|
||||
<input type="text" class="form-control" ng-model="dnsCredentials.zoneName" name="zoneName" placeholder="{{dnsCredentials.domain | zoneName}}" 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" ng-disabled="dnsCredentials.busy"></select>
|
||||
<div 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" ng-disabled="dnsCredentials.busy"></select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user