Add fallback file
This commit is contained in:
31
freqtrade/rpc/api_server/ui/fallback_file.html
Normal file
31
freqtrade/rpc/api_server/ui/fallback_file.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Freqtrade UI</title>
|
||||
<style>
|
||||
body {
|
||||
background-color: #3c3c3c;
|
||||
color: #dedede;
|
||||
text-align: center;
|
||||
}
|
||||
.main-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
h1 {
|
||||
margin-top: 10rem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="main-container">
|
||||
<h1>Freqtrade UI not installed.</h1>
|
||||
<p>Please run `freqtrade install-ui` in your terminal to install the UI files and restart your bot.</p>
|
||||
<p>You can then refresh this page and you should see the UI.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user