We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4df801 commit 1b59612Copy full SHA for 1b59612
1 file changed
web/templates/login.html
@@ -2,7 +2,7 @@
2
3
<div class="theme-panel">
4
<h2 class="theme-heading">Log in to {{ issuer }} </h2>
5
- <div>
+ <div id="providers">
6
{{ range $c := .Connectors }}
7
<div class="theme-form-row">
8
<a href="{{ $c.URL }}" target="_self">
@@ -18,7 +18,7 @@ <h2 class="theme-heading">Log in to {{ issuer }} </h2>
18
19
<script type="text/javascript">
20
if (window.location.hash) {
21
- var buttons = document.querySelectorAll('div.theme-form-row a');
+ var buttons = document.querySelectorAll('#providers a');
22
buttons.forEach(function(button) {
23
button.href = button.href + window.location.hash;
24
});
0 commit comments