mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +03:00
Reimplement the BadBrowser page based on feature detection
This commit is contained in:
parent
a022139403
commit
bd34f9a9bc
4 changed files with 59 additions and 0 deletions
43
rainloop/v/0.0.0/app/templates/BadBrowser.html
Normal file
43
rainloop/v/0.0.0/app/templates/BadBrowser.html
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="robots" content="noindex, nofollow, noodp" />
|
||||
<title>{{ErrorTitle}}</title>
|
||||
<style type="text/css">
|
||||
html, body {
|
||||
font-family: arial, sans-serif;
|
||||
font-size: 14px;
|
||||
}
|
||||
.content {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
text-align: center;
|
||||
width: 600px;
|
||||
margin: -200px 0 0 -250px;
|
||||
background: #FFF;
|
||||
line-height: 150%;
|
||||
border-bottom: 1px solid #E4E4E4;
|
||||
}
|
||||
.error-desc {
|
||||
background-color: #eee;
|
||||
padding: 10px;
|
||||
}
|
||||
a {
|
||||
display: inline-block;
|
||||
width: 150px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="content">
|
||||
<h1>{{ErrorHeader}}</h1>
|
||||
<br />
|
||||
<div class="error-desc">
|
||||
<p>{{ErrorDesc}}</p>
|
||||
<a href="https://www.google.com/chrome/" target="_blank">Google Chrome</a>
|
||||
<a href="https://www.microsoft.com/edge/" target="_blank">Microsoft Edge</a>
|
||||
<a href="https://www.mozilla.org/firefox/" target="_blank">Mozilla Firefox</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue