mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 10:42:58 -03:00
Make 404 error page look better, and remove the text that it's probably a typo, because in public mode that isn't necessarily true
This commit is contained in:
parent
9815c612eb
commit
73f09f14c4
3 changed files with 21 additions and 15 deletions
|
@ -172,23 +172,23 @@ li.info {
|
||||||
min-height: 400px;
|
min-height: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.closed {
|
.info {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.closed img {
|
.info img {
|
||||||
width: 120px;
|
width: 120px;
|
||||||
height: 120px;
|
height: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.closed .closed-header {
|
.info .info-header {
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
margin: 0 0 10px 0;
|
margin: 0 0 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.closed .closed-description {
|
.info .info-description {
|
||||||
color: #666666;
|
color: #666666;
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 20px 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,16 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>OnionShare: Error 404</title>
|
<title>OnionShare: 404 Not Found</title>
|
||||||
<link href="/static/img/favicon.ico" rel="icon" type="image/x-icon" />
|
<link href="/static/img/favicon.ico" rel="icon" type="image/x-icon" />
|
||||||
</head>
|
<link href="/static/css/style.css" rel="stylesheet" type="text/css" />
|
||||||
<body>
|
</head>
|
||||||
<p>Error 404: You probably typed the OnionShare address wrong</p>
|
<body>
|
||||||
</body>
|
<div class="info-wrapper">
|
||||||
|
<div class="info">
|
||||||
|
<p><img class="logo" src="/static/img/logo_large.png" title="OnionShare"></p>
|
||||||
|
<p class="info-header">404 Not Found</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
<h1>OnionShare</h1>
|
<h1>OnionShare</h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="closed-wrapper">
|
<div class="info-wrapper">
|
||||||
<div class="closed">
|
<div class="info">
|
||||||
<p><img class="logo" src="/static/img/logo_large.png" title="OnionShare"></p>
|
<p><img class="logo" src="/static/img/logo_large.png" title="OnionShare"></p>
|
||||||
<p class="closed-header">Thank you for using OnionShare</p>
|
<p class="info-header">Thank you for using OnionShare</p>
|
||||||
<p class="closed-description">You may now close this window.</p>
|
<p class="info-description">You may now close this window.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Add table
Reference in a new issue