pub fn get_content() -> String {
r###"<!DOCTYPE html>
<html lang="en">
<head>
<title>Rustic video streaming</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
img {
display: block;
margin-left: auto;
margin-right: auto;
}
:is(h1, h2, h3, h4, h5, h6) {
text-align: center;
color: #F0F0F0;
font-family: 'Courier New', sans-serif;
}
button {
width: 100px;
margin: 0 auto;
display: block;
}
body {
background-color: #151515;
}
</style>
<noscript>
<style>
body {
width: 100%;
height: 100%;
overflow: hidden;
}
</style>
<div style="position: fixed; text-align:center; height: 100%; width: 100%; background-color: #151515;">
<h2 style="margin-top:5%">This page requires JavaScript
to be enabled.
<br><br>
Please refer <a href="https://www.enable-javascript.com/">enable-javascript</a> for how to.
</h2>
<form>
<button type="submit" onClick="<meta httpEquiv='refresh' content='0'>">RETRY</button>
</form>
</div>
</noscript>
</head>
<body>
<h2 style="margin-top:5%">LOGOUT</h2>
<h3>{{ detail }}</h3>
<p>
<img src="https://raw.githubusercontent.com/thevickypedia/open-source/main/images/logout.gif"
onerror="this.src='https://vigneshrao.com/open-source/images/logout.gif'"
width="200" height="200" alt="Image" class="center">
</p>
{% if show_login %}
<button style="text-align:center" onClick="window.location.href = '/';">LOGIN</button>
{% else %}
<h3>Please close the session window</h3>
{% endif %}
<h4>Click <a href="https://vigneshrao.com/contact">ME</a> to reach out.</h4>
</body>
</html>
"###.to_string()
}