-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from Oneloutre/developement
Developement
- Loading branch information
Showing
7 changed files
with
117 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import os | ||
|
||
|
||
def display_dashboard(): | ||
if os.path.exists('user_files/admin/instances.json'): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
body { | ||
background-color: #1e2124; | ||
} | ||
|
||
.container { | ||
background-color: #282b30; | ||
border-radius: 10px; | ||
width: 10%; | ||
margin: auto; | ||
margin-top: 20vh; | ||
padding: 20px; | ||
margin-top: 50px; | ||
text-align: center; | ||
} | ||
|
||
.text-white { | ||
.loading-content { | ||
color: white; | ||
} | ||
|
||
.logo-container img { | ||
max-width: 200px; | ||
} | ||
|
||
.text-container p { | ||
margin-top: 20px; | ||
font-size: 20px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
body { | ||
background-color: #1e2124; | ||
color: #ffffff; /* Text color */ | ||
color: #ffffff; | ||
} | ||
|
||
.container { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.page-wrapper { | ||
height: 100vh; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: #1e2124; | ||
} | ||
|
||
.container { | ||
background-color: #282b30; | ||
width: 50%; | ||
padding: 100px; | ||
text-align: center; | ||
} | ||
|
||
.loading-content { | ||
color: white; | ||
} | ||
|
||
.logo-container img { | ||
max-width: 200px; | ||
} | ||
|
||
.text-container p { | ||
margin-top: 20px; | ||
font-size: 20px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<link rel="icon" type="image/x-icon" href="/static/Assets/favicon.png"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Loading Page</title> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="/static/misc/please_wait.css"> | ||
</head> | ||
<body> | ||
<div class="page-wrapper"> | ||
<div class="container"> | ||
<div class="loading-content"> | ||
<div class="logo-container"> | ||
<img src="/static/Assets/loading.gif" alt="Loading Logo"> | ||
</div> | ||
<div class="text-container"> | ||
<p>Please wait while we process your new instance...</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |