Skip to content

Commit

Permalink
Merge pull request #463 from writer/fix-unauth-template
Browse files Browse the repository at this point in the history
fix: Unauth template
  • Loading branch information
ramedina86 authored Jun 13, 2024
2 parents 053cf66 + 9b04c50 commit 24f7764
Showing 1 changed file with 52 additions and 26 deletions.
78 changes: 52 additions & 26 deletions src/writer/templates/auth_unauthorized.html
Original file line number Diff line number Diff line change
@@ -1,35 +1,61 @@
<html>
<style>
body {
background-color: #e9eef1;
color: #000000;
font-family: Inter, sans-serif;
}

#container {
height: 100%;
}
<head>
<title>{{status_code}} {{message}}</title>
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet">
</head>
<style>
body {
background-color: #ffffff;
color: #000000;
font-family: Poppins, sans-serif;
display: flex;
align-items: center;
justify-content: center;
}

#container {
padding-top: 30vh;
padding-left: 20%;
vertical-align: middle;
text-align: left;
#container {
text-align: center;
width: 50%;
color: #5A677C;
font-size: 14px;
font-style: normal;
font-weight: 400;
}

}
h1 {
font-size: 40px;
font-weight: 600;
line-height: 118%;
margin: 0;
color: #000000;
}

#container h1 {
font-size: 4em;
}
h2 {
color: #6985ff;
margin: 0;
margin-top: 8px;
margin-bottom: 18px;
font-size: 24px;
font-weight: 600;
line-height: 35px;
}

#container p {
font-size: 1em;
}
img {
margin-top: 48px;
}
</style>

<body>
<div id="container">
<h1>{{status_code}} {{message}}</h1>
<p>{{more_info | safe}}</p>
</div>
<div id="container">
<h1>{{status_code}}</h1>
<h2>{{message}}</h2>
<div>{{more_info | safe}}</div>
<img alt="Drawing of sad woman"
src="data:@file/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACcCAYAAACKuMJNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABwzSURBVHgB7V0JlFTllf5e9b7R9N5AA90goO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sx4uiCwAWTtRbxFH+bV4E3RdpcInfHUr8fNeJU5AiTdRg/uguvyt8tfi/KJKLBuvH+h/0OHOIwY9IGCdZusAVrqwqw60iLMTD6Hjl3f0Nw7PjQ58XPli8xFkBJSTi+AjUQltgjEfq977yDXx1vQ74rCxn+DngyRqHNcxQdtbWa98ABPfvgSWPll7WI3RBARtsKpz8Rfrwp4ths3qw/4stGlUjY2+Tdfuuo5AANuh/f7GrCK6mcaUgqW2LTTn2FSL7HROoMbvBIT+i6D3fXXojvRmKSTW/qo/1u3CRe6+fkm6xGhEoQkZBu+ZLfFMn83Rwfnl+yROtACiOpauyL07G5yY0X5OENiNHNJOqbC2tFdFpoZ+7erT8oUndLmoa1wlRLxUiboDNToaFN9tongeKXRS8/627HwSW1WkyXWh+JSDpvSaTcInEduDjcGAwVYicKw9QuW6C91t+m7DRrTUOexBALJH6XmeVCB9rR2tCA9uuv19R6WwEkXRfRXh07z9XxsF/DF+XpwMebR4BIt3e95hKU/YLeK8zR+2r1wD6QdOXOn5YfvisdPxXRvUUbZM4zAJ/Ygs+80qoYKJZI0gCkrv1lOxaKlf+oPsj+CPli9qZlYM2yudpeKMQMSdrQoemNB7BTPtwXRcYdQfRoEY6733t68CkshchI2g4iGuovb8SzErL4N5jLDw1MveqSmHfhvmwvHq1VXmXMkfQ5PQkYp728E3NcupEiuxJmJqLH59bMdVLfE678UYcPT6xaxIoQbSg2oEIEpEQSmb19W3ZhtM+DS+HDKvnUc3Rz9m4Gc7QSszgksbJN8tofy/PwjlE8oDAsSKmqBTJeXT2yJD42OqMdhT4NmenyrCMdzU270LpuHTyapqSawjChr+GDCgoKCgoKCgoKCgoKCgoKyY5/AMakWCD2MygwAAAAAElFTkSuQmCC" />
</div>
</body>
</html>

</html>

0 comments on commit 24f7764

Please sign in to comment.