Skip to content
This repository was archived by the owner on Jan 13, 2020. It is now read-only.

Commit 7ecab27

Browse files
committed
backported max_clients
1 parent d04e918 commit 7ecab27

File tree

1 file changed

+92
-0
lines changed

1 file changed

+92
-0
lines changed

htdocs/retry.html

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
<html>
2+
<!--
3+
OpenWebRX (c) Copyright 2013 Andras Retzler <ha7ilm@sdr.hu>
4+
5+
This file is part of OpenWebRX.
6+
7+
OpenWebRX is free software: you can redistribute it and/or modify
8+
it under the terms of the GNU General Public License as published by
9+
the Free Software Foundation, either version 3 of the License, or
10+
(at your option) any later version.
11+
12+
OpenWebRX is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
GNU General Public License for more details.
16+
17+
You should have received a copy of the GNU General Public License
18+
along with OpenWebRX. If not, see <http://www.gnu.org/licenses/>.
19+
-->
20+
<head><title>OpenWebRX</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
21+
<style>
22+
html, body
23+
{
24+
font-family: "DejaVu Sans", Verdana, Geneva, sans-serif;
25+
width: 100%;
26+
text-align: center;
27+
margin: 0;
28+
padding: 0;
29+
}
30+
img.logo
31+
{
32+
margin-top: 120px;
33+
}
34+
div.frame
35+
{
36+
text-align: left;
37+
margin:0px auto;
38+
width: 800px;
39+
}
40+
41+
div.panel
42+
{
43+
text-align: center;
44+
background-color:#777777;
45+
border-radius: 15px;
46+
padding: 12px;
47+
font-weight: bold;
48+
color: White;
49+
font-size: 13pt;
50+
/*text-shadow: 1px 1px 4px #444;*/
51+
font-family: sans;
52+
}
53+
54+
div.alt
55+
{
56+
font-size: 10pt;
57+
padding-top: 10px;
58+
}
59+
60+
61+
body div a
62+
{
63+
color: #5ca8ff;
64+
text-shadow: none;
65+
}
66+
67+
span.browser
68+
{
69+
}
70+
71+
</style>
72+
<script>
73+
var irt = function (s,n) {return s.replace(/[a-zA-Z]/g,function(c){return String.fromCharCode((c>="a"?97:65)<=(c=c.charCodeAt(0)-n)?c:c+26);});}
74+
var sendmail2 = function (s) { window.location.href="mailto:"+irt(s.replace("=",String.fromCharCode(0100)).replace("$","."),8); }
75+
window.addEventListener("load",function(){rs=document.getElementById("reconnect-secs"); rt=document.getElementById("reconnect-text"); cnt=29;window.setInterval(function(){if(cnt<=-1) window.location.href=window.location.href.split("retry.")[0]; else if(cnt==0) {rt.innerHTML="Reconnecting..."; cnt--;} else rs.innerHTML=(cnt--).toString();},1000);},false);
76+
</script>
77+
78+
</head>
79+
<body>
80+
81+
<div class="frame">
82+
<img class="logo" src="gfx/openwebrx-logo-big.png" style="height: 60px;"/>
83+
<div class="panel">
84+
There are no client slots left on this server.
85+
<div class="alt">
86+
Please wait until a client disconnects.<br /><span id="reconnect-text">We will try to reconnect in <span id="reconnect-secs">30</span> seconds...</span>
87+
</div>
88+
</div>
89+
</div>
90+
</body>
91+
</html>
92+

0 commit comments

Comments
 (0)