Minor UI fix and better logging when license cannot be found
This commit is contained in:
parent
0c4dc717b0
commit
80707d71d0
2 changed files with 9 additions and 1 deletions
2
app.py
2
app.py
|
@ -54,7 +54,7 @@ else:
|
||||||
try:
|
try:
|
||||||
app.config.update(load_license(LICENSE_FILENAME))
|
app.config.update(load_license(LICENSE_FILENAME))
|
||||||
except IOError:
|
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():
|
if app.config.get('LICENSE_EXPIRATION', datetime.min) < datetime.utcnow():
|
||||||
raise RuntimeError('License has expired, please contact support@quay.io')
|
raise RuntimeError('License has expired, please contact support@quay.io')
|
||||||
|
|
|
@ -1390,6 +1390,10 @@ i.toggle-icon:hover {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.jumbotron {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
.jumbotron .disclaimer-link {
|
.jumbotron .disclaimer-link {
|
||||||
font-size: .3em;
|
font-size: .3em;
|
||||||
vertical-align: 23px;
|
vertical-align: 23px;
|
||||||
|
@ -1444,6 +1448,10 @@ i.toggle-icon:hover {
|
||||||
background-size: auto, 100% 100%;
|
background-size: auto, 100% 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.landing-page.signedin .landing-background {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
.landing-filter {
|
.landing-filter {
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
|
|
||||||
|
|
Reference in a new issue