Clean up the openid interaction abort page
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="outer">
|
<div class="outer">
|
||||||
|
|||||||
@@ -7,69 +7,51 @@
|
|||||||
<title>Authorize ##NAME##</title>
|
<title>Authorize ##NAME##</title>
|
||||||
|
|
||||||
<link id="favicon" type="image/png" rel="icon" href="/api/v1/cloudron/avatar">
|
<link id="favicon" type="image/png" rel="icon" href="/api/v1/cloudron/avatar">
|
||||||
|
<link rel="apple-touch-icon" href="/api/v1/cloudron/avatar">
|
||||||
|
<link rel="icon" href="/api/v1/cloudron/avatar">
|
||||||
|
|
||||||
<!-- Theme CSS -->
|
<script type="module" src="./src/style.js"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="/theme.css">
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-image: url('/api/v1/cloudron/background');
|
display: flex;
|
||||||
background-size: cover;
|
flex-direction: column;
|
||||||
background-position: center;
|
|
||||||
|
/* not using pankow*/
|
||||||
|
--pankow-text-color: black;
|
||||||
|
--pankow-color-primary: #2196f3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
@media (prefers-color-scheme: dark) {
|
||||||
padding: 20px;
|
body {
|
||||||
margin-bottom: 0;
|
background-color: black;
|
||||||
max-width: 620px;
|
--pankow-text-color: white;
|
||||||
min-height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.avatar {
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media(min-width:620px) {
|
|
||||||
.card {
|
|
||||||
margin-bottom: 15px;
|
|
||||||
margin-top: 100px;
|
|
||||||
min-height: auto;
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.avatar {
|
.outer {
|
||||||
margin-top: -84px
|
flex-grow: 1;
|
||||||
}
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="layout-root">
|
<div class="outer">
|
||||||
<div class="layout-content">
|
<img width="128" height="128" class="avatar" src="##ICON_URL##"/>
|
||||||
<div class="card">
|
<br/>
|
||||||
<div class="row">
|
<h2>You do not have access to <b>##NAME##</b></h2>
|
||||||
<div class="col-md-12" style="text-align: center;">
|
<a class="btn btn-primary btn-outline" href="##SUBMIT_URL##">Continue</a>
|
||||||
<img width="128" height="128" class="avatar" src="##ICON_URL##"/>
|
|
||||||
<br/>
|
|
||||||
<h3>You do not have access to <b>##NAME##</b></h3>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<br/>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-12 text-center">
|
|
||||||
<a class="btn btn-primary btn-outline" href="##SUBMIT_URL##">Continue</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<footer class="text-center">
|
|
||||||
<span class="text-muted">##FOOTER##</span>
|
|
||||||
</footer>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<footer>##FOOTER##</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user