mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-26 07:09:01 +00:00
Merge pull request #1781 from gitsofaryan/disc
Show JavaScript Disabled Disclaimer
This commit is contained in:
commit
7a4c82a429
@ -10,30 +10,58 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="description" content="A simple and private way to exchange bitcoin for national currencies. Robosats simplifies the peer-to-peer user experience and uses lightning hold invoices to minimize custody and trust requirements. No user registration required.">
|
<meta name="description" content="A simple and private way to exchange bitcoin for national currencies. Robosats simplifies the peer-to-peer user experience and uses lightning hold invoices to minimize custody and trust requirements. No user registration required.">
|
||||||
|
|
||||||
<% if (pro) { %>
|
<% if (pro) { %>
|
||||||
<title>RoboSats PRO - Simple and Private Bitcoin Exchange</title>
|
<title>RoboSats PRO - Simple and Private Bitcoin Exchange</title>
|
||||||
|
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.basePath %>static/css_pro/fonts.css"/>
|
||||||
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.basePath %>static/css_pro/fonts.css"/>
|
<link rel="stylesheet" type="text/css" href="<%= htmlWebpackPlugin.options.basePath %>static/css_pro/react-grid-layout.css"/>
|
||||||
<link rel="stylesheet" type="text/css" href="<%= htmlWebpackPlugin.options.basePath %>static/css_pro/react-grid-layout.css"/>
|
<link rel="stylesheet" type="text/css" href="<%= htmlWebpackPlugin.options.basePath %>static/css_pro/react-resizable.css"/>
|
||||||
<link rel="stylesheet" type="text/css" href="<%= htmlWebpackPlugin.options.basePath %>static/css_pro/react-resizable.css"/>
|
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<title>RoboSats - Simple and Private Bitcoin Exchange</title>
|
<title>RoboSats - Simple and Private Bitcoin Exchange</title>
|
||||||
|
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.basePath %>static/css/fonts.css"/>
|
||||||
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.basePath %>static/css/fonts.css"/>
|
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="<%= htmlWebpackPlugin.options.basePath %>static/css/loader.css"/>
|
<link rel="stylesheet" type="text/css" href="<%= htmlWebpackPlugin.options.basePath %>static/css/loader.css"/>
|
||||||
<link rel="stylesheet" type="text/css" href="<%= htmlWebpackPlugin.options.basePath %>static/css/index.css"/>
|
<link rel="stylesheet" type="text/css" href="<%= htmlWebpackPlugin.options.basePath %>static/css/index.css"/>
|
||||||
<link rel="stylesheet" type="text/css" href="<%= htmlWebpackPlugin.options.basePath %>static/css/leaflet.css"/>
|
<link rel="stylesheet" type="text/css" href="<%= htmlWebpackPlugin.options.basePath %>static/css/leaflet.css"/>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/* Styles for the JavaScript-disabled disclaimer */
|
||||||
|
.noscript-container {
|
||||||
|
max-width: 600px;
|
||||||
|
margin: 40px auto;
|
||||||
|
padding: 20px;
|
||||||
|
border: 2px solid #e74c3c;
|
||||||
|
background-color: #fdecea;
|
||||||
|
color: #c0392b;
|
||||||
|
text-align: center;
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
}
|
||||||
|
.noscript-container h2 {
|
||||||
|
margin-top: 0;
|
||||||
|
font-size: 1.8em;
|
||||||
|
}
|
||||||
|
.noscript-container p {
|
||||||
|
font-size: 1.1em;
|
||||||
|
line-height: 1.4;
|
||||||
|
}
|
||||||
|
.noscript-container a {
|
||||||
|
color: #c0392b;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<!-- This block is only rendered if JavaScript is disabled -->
|
||||||
<noscript>
|
<noscript>
|
||||||
<div>
|
<div class="noscript-container">
|
||||||
This site requires JavaScript. This message is only visible if you have it disabled. <br/><br/>
|
<h2>JavaScript is Disabled</h2>
|
||||||
If you are using TOR browser set the "Security Level" to "Standard". If you keep seeing this message clear cache and storage of TOR browser app and retry.<br/><br/>
|
<p>This website requires JavaScript for full functionality. Please enable JavaScript in your browser settings to proceed.</p>
|
||||||
If the problem persists, ask for support in the RoboSats telegram group<a href="https://t.me/robosats"> (t.me/robosats)</a>
|
<p>If you’re using Tor Browser, ensure your "Security Level" is set to "Standard". If the issue persists, try clearing your cache and storage.</p>
|
||||||
|
<p>Need more help? Visit our support channel on Telegram: <a href="https://t.me/robosats" target="_blank" rel="noopener">t.me/robosats</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
</noscript>
|
</noscript>
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<div id="app">
|
<div id="app">
|
||||||
<div class="loaderCenter">
|
<div class="loaderCenter">
|
||||||
@ -60,11 +88,13 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.RobosatsSettings = '<%= htmlWebpackPlugin.options.robosatsSettings %>'
|
window.RobosatsSettings = '<%= htmlWebpackPlugin.options.robosatsSettings %>';
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user