Switch landing page to read template from S3 bucket

This change uses CORS to make the Angular template request to a defined S3 bucket, falling back to the compiled login template if the bucket is not available.

Fixes #1313
This commit is contained in:
Joseph Schorr 2016-11-29 18:19:06 -05:00
parent b7aac159ae
commit 66e09b2a95
4 changed files with 28 additions and 251 deletions

View file

@ -1,3 +1,4 @@
<div quay-include="{'Features.BILLING': 'partials/landing-normal.html', '!Features.BILLING': 'partials/landing-login.html'}" onload="chromify()">
<span class="quay-spinner"></span>
<div quay-static-include="{'hosted': 'index.html', 'otherwise': 'partials/landing-login.html'}"
onload="chromify()">
<span class="cor-loader"></span>
</div>