summaryrefslogtreecommitdiff
path: root/playbooks/roles/traefik
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/roles/traefik')
-rw-r--r--playbooks/roles/traefik/templates/volumes/oauth2proxy/templates/sign_in.html30
1 files changed, 29 insertions, 1 deletions
diff --git a/playbooks/roles/traefik/templates/volumes/oauth2proxy/templates/sign_in.html b/playbooks/roles/traefik/templates/volumes/oauth2proxy/templates/sign_in.html
index 17d3718..60b9b92 100644
--- a/playbooks/roles/traefik/templates/volumes/oauth2proxy/templates/sign_in.html
+++ b/playbooks/roles/traefik/templates/volumes/oauth2proxy/templates/sign_in.html
@@ -54,11 +54,39 @@
.button:hover {
background-color: var(--yellow);
}
+ .logo {
+ font-family: monospace;
+ font-size: 1rem;
+ line-height: 1;
+ white-space: pre;
+ overflow-x: auto;
+ overflow-y: hidden;
+ }
+ .logo-line {
+ display: flex;
+ }
+ .logo-char {
+ display: inline-block;
+ min-width: 1ch;
+ width: 1ch;
+ max-width: 1ch;
+ text-align: center;
+ overflow: hidden;
+ white-space: nowrap;
+ }
</style>
</head>
<body>
<div class="container">
- <pre class="logo">{{ logo }}</pre>
+ <div class="logo">
+{%- for line in logo.split('\n') %}
+<div class="logo-line">
+{%- for char in line -%}
+<span class="logo-char">{{ char }}</span>
+{%- endfor -%}
+</div>
+{%- endfor %}
+ </div>
<form method="GET" action="{{ '{{' }} .ProxyPrefix {{ '}}' }}/start" style="width: 100%; display: flex; flex-direction: column;">
<input type="hidden" name="rd" value="{{ '{{' }} .Redirect {{ '}}' }}">
{{ '{{' }} if .SignInMessage {{ '}}' }}