Minor UI fix and better logging when license cannot be found

This commit is contained in:
Joseph Schorr 2014-08-12 21:04:16 -04:00
parent 0c4dc717b0
commit 80707d71d0
2 changed files with 9 additions and 1 deletions

2
app.py
View file

@ -54,7 +54,7 @@ else:
try:
app.config.update(load_license(LICENSE_FILENAME))
except IOError:
raise RuntimeError('No license file found, please check your configuration')
raise RuntimeError('License file %s not found; please check your configuration' % LICENSE_FILENAME)
if app.config.get('LICENSE_EXPIRATION', datetime.min) < datetime.utcnow():
raise RuntimeError('License has expired, please contact support@quay.io')

View file

@ -1390,6 +1390,10 @@ i.toggle-icon:hover {
padding: 20px;
}
.jumbotron {
background: transparent;
}
.jumbotron .disclaimer-link {
font-size: .3em;
vertical-align: 23px;
@ -1444,6 +1448,10 @@ i.toggle-icon:hover {
background-size: auto, 100% 100%;
}
.landing-page.signedin .landing-background {
background: transparent;
}
.landing-filter {
z-index: 0;