mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #27534 - jdm:badcert-buttons, r=asajeffrey
Move action buttons above invalid certificate details. Since the certificate details can fill the screen and require scrolling, let's move the user's choices so they're always in view when the SSL error page first loads. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27520
This commit is contained in:
commit
589ab01be4
1 changed files with 1 additions and 1 deletions
|
@ -4,9 +4,9 @@
|
|||
</head>
|
||||
<body>
|
||||
<p>${reason}</p>
|
||||
<pre id="bytes">${bytes}</pre>
|
||||
<button id="leave" onclick="history.back()">Go back (recommended)</button>
|
||||
<button id="allow">Allow certificate temporarily</button>
|
||||
<pre id="bytes">${bytes}</pre>
|
||||
<script>
|
||||
let bytes = document.getElementById('bytes').textContent;
|
||||
let button = document.getElementById('allow');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue