You've already forked nginx-snippets
initial commit
This commit is contained in:
44
errorpages/custom_401.html
Normal file
44
errorpages/custom_401.html
Normal file
@@ -0,0 +1,44 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="robots" content="noindex">
|
||||
<title>401 UNAUTHORIZED</title>
|
||||
<link rel="stylesheet" href="/errorpages/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="error-container">
|
||||
<svg width="300" height="300" viewBox="0 0 300 300"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
|
||||
<!-- PNG logo in the middle -->
|
||||
<image href="/errorpages/logo.png"
|
||||
width="100" height="100"
|
||||
x="100" y="100"/>
|
||||
|
||||
<!-- Arc paths -->
|
||||
<defs>
|
||||
<path id="topArc" d="M 92,150 A 58,58 0 0,1 208,150" fill="none"/>
|
||||
<path id="bottomArc" d="M 80,150 A 70,70 0 0,0 220,150" fill="none"/>
|
||||
</defs>
|
||||
|
||||
<!-- Top text -->
|
||||
<text text-anchor="middle" class="error-text">
|
||||
<textPath href="#topArc" startOffset="50%">
|
||||
UNAUTHORIZED
|
||||
</textPath>
|
||||
</text>
|
||||
|
||||
<!-- Bottom text -->
|
||||
<text text-anchor="middle" class="error-code">
|
||||
<textPath href="#bottomArc" startOffset="50%">
|
||||
401
|
||||
</textPath>
|
||||
</text>
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user