Source the dns setup image from the api server

This commit is contained in:
Johannes Zellner
2019-10-18 21:54:59 +02:00
parent b06d1fd293
commit f393f58bce
2 changed files with 6 additions and 6 deletions

View File

@@ -56,21 +56,19 @@
<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">
<img src="https://cloudron.io/img/setup-logo.png?provider={{ provider }}" width="48" height="48"/>
<h1>Setup</h1>
<img ng-src="{{ apiServerOrigin }}/api/v1/helper/setup_image.png?provider={{ provider }}" width="48" height="48"/>
<h1>Domain Setup</h1>
<p class="has-error text-center" ng-show="error.setup">{{ error.setup }}</p>
<h3>Provide a domain for your Cloudron</h3>
<p>Apps will be installed on subdomains of this domain</p>
</div>
</div>
<div class="row">
<div class="col-md-10 col-md-offset-1">
<br/>
<div class="form-group" style="margin-bottom: 0;" ng-class="{ 'has-error': dnsCredentialsForm.domain.$dirty && dnsCredentialsForm.domain.$invalid }">
<label class="control-label">Primary Domain <sup><a href="https://cloudron.io/documentation/installation/#domain-setup" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup></label>
<label class="control-label">Domain <sup><a href="https://cloudron.io/documentation/installation/#domain-setup" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup></label>
<input type="text" class="form-control" ng-model="dnsCredentials.domain" name="domain" placeholder="example.com" required autofocus ng-disabled="dnsCredentials.busy">
</div>
<p style="margin-top: 5px; font-size: 13px;">Apps will be installed on subdomains of this domain. You can add more domains later.</p>
</div>
</div>
<br/>