Create website-redesign branch. Include incomplete redesign assets. Very much in-progress.
5
LICENSE
|
@ -22,3 +22,8 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
|
|
||||||
|
Subdirectories of this repository may contain their own LICENSE file. Files within
|
||||||
|
subdirectories containing their own LICENSE file are exempt from the above license
|
||||||
|
and are subject to the license contained within the LICENSE file in their containing
|
||||||
|
directory.
|
||||||
|
|
|
@ -84,7 +84,7 @@ def tutorial(lang='en'):
|
||||||
|
|
||||||
@app.route('/player-settings')
|
@app.route('/player-settings')
|
||||||
def player_settings():
|
def player_settings():
|
||||||
return render_template("player-settings.html")
|
return render_template("playerSettings.html")
|
||||||
|
|
||||||
|
|
||||||
@app.route('/seed/<suuid:seed>')
|
@app.route('/seed/<suuid:seed>')
|
||||||
|
@ -92,7 +92,7 @@ def view_seed(seed: UUID):
|
||||||
seed = Seed.get(id=seed)
|
seed = Seed.get(id=seed)
|
||||||
if not seed:
|
if not seed:
|
||||||
abort(404)
|
abort(404)
|
||||||
return render_template("view_seed.html", seed=seed,
|
return render_template("viewSeed.html", seed=seed,
|
||||||
rooms=[room for room in seed.rooms if room.owner == session["_id"]])
|
rooms=[room for room in seed.rooms if room.owner == session["_id"]])
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -114,7 +114,7 @@ def wait_seed(seed: UUID):
|
||||||
return "Generation not found."
|
return "Generation not found."
|
||||||
elif generation.state == STATE_ERROR:
|
elif generation.state == STATE_ERROR:
|
||||||
return "Generation failed, please retry."
|
return "Generation failed, please retry."
|
||||||
return render_template("wait_seed.html", seed_id=seed_id)
|
return render_template("waitSeed.html", seed_id=seed_id)
|
||||||
|
|
||||||
|
|
||||||
def upload_to_db(folder, owner, sid):
|
def upload_to_db(folder, owner, sid):
|
||||||
|
|
|
@ -4,14 +4,7 @@ window.addEventListener('load', () => {
|
||||||
|
|
||||||
const cookieNotice = document.createElement('div');
|
const cookieNotice = document.createElement('div');
|
||||||
cookieNotice.innerText = "This website uses cookies to store information about the games you play.";
|
cookieNotice.innerText = "This website uses cookies to store information about the games you play.";
|
||||||
cookieNotice.style.position = "fixed";
|
cookieNotice.setAttribute('id', 'cookie-notice');
|
||||||
cookieNotice.style.bottom = "0";
|
|
||||||
cookieNotice.style.left = "0";
|
|
||||||
cookieNotice.style.width = "100%";
|
|
||||||
cookieNotice.style.lineHeight = "40px";
|
|
||||||
cookieNotice.style.backgroundColor = "#c7cda5";
|
|
||||||
cookieNotice.style.textAlign = "center";
|
|
||||||
cookieNotice.style.cursor = "pointer";
|
|
||||||
document.body.appendChild(cookieNotice);
|
document.body.appendChild(cookieNotice);
|
||||||
cookieNotice.addEventListener('click', () => {
|
cookieNotice.addEventListener('click', () => {
|
||||||
localStorage.setItem('cookieNotice', "1");
|
localStorage.setItem('cookieNotice', "1");
|
|
@ -0,0 +1,4 @@
|
||||||
|
Copyright 2020 Berserker66 (Fabian Dill)
|
||||||
|
Copyright 2020 LegendaryLinux (Chris Wilson)
|
||||||
|
|
||||||
|
All rights reserved.
|
After Width: | Height: | Size: 8.5 KiB |
After Width: | Height: | Size: 8.5 KiB |
After Width: | Height: | Size: 237 KiB |
After Width: | Height: | Size: 236 KiB |
After Width: | Height: | Size: 201 KiB |
After Width: | Height: | Size: 201 KiB |
After Width: | Height: | Size: 5.1 KiB |
After Width: | Height: | Size: 5.1 KiB |
After Width: | Height: | Size: 207 KiB |
After Width: | Height: | Size: 207 KiB |
After Width: | Height: | Size: 221 KiB |
After Width: | Height: | Size: 222 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 9.5 KiB |
After Width: | Height: | Size: 6.7 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 8.8 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 931 B |
After Width: | Height: | Size: 623 B |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 8.8 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 585 B |
After Width: | Height: | Size: 919 B |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 40 KiB |
|
@ -0,0 +1,11 @@
|
||||||
|
#cookie-notice{
|
||||||
|
display: block;
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
line-height: 40px;
|
||||||
|
background-color: #c7cda5;
|
||||||
|
text-align: center;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
|
@ -1,58 +0,0 @@
|
||||||
/** Global colors for all pages */
|
|
||||||
body{
|
|
||||||
background-color: #dce2bd;
|
|
||||||
font-size: 1.2rem;
|
|
||||||
font-family: "Segoe UI", Arial, sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Button Styles */
|
|
||||||
button, input[type=submit]{
|
|
||||||
border: 1px solid #7d8c35;
|
|
||||||
border-radius: 4px;
|
|
||||||
width: 200px;
|
|
||||||
height: 75px;
|
|
||||||
margin-left: 0.25rem;
|
|
||||||
margin-right: 0.25rem;
|
|
||||||
background-color: #dce2bd;
|
|
||||||
font-family: inherit;
|
|
||||||
font-size: 1.5rem;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:hover, input[type=submit]:hover{
|
|
||||||
background-color: #e0e7bd;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Content styles */
|
|
||||||
.main-content{
|
|
||||||
max-width: 1000px;
|
|
||||||
border-radius: 8px;
|
|
||||||
background-color: #bbb288;
|
|
||||||
padding: 0.5em 1.5rem 1.5rem;
|
|
||||||
color: #282b28;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main-content h3{
|
|
||||||
margin: 0;
|
|
||||||
font-size: 3rem;
|
|
||||||
text-align: center;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main-content a{
|
|
||||||
color: #34768a;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Tooltip styles */
|
|
||||||
[data-tooltop]{
|
|
||||||
position: relative;
|
|
||||||
z-index: 10;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
[data-tooltip]:before, [data-tooltip]:after{
|
|
||||||
visibility: hidden;
|
|
||||||
opacity: 0;
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
|
@ -67,6 +67,12 @@ give it one of the following classes: tooltip-left, tooltip-right, tooltip-top,
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[data-tooltip]:before, [data-tooltip]:after{
|
||||||
|
visibility: hidden;
|
||||||
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
[data-tooltip]:before, [data-tooltip]:after, .tooltip:before, .tooltip:after,
|
[data-tooltip]:before, [data-tooltip]:after, .tooltip:before, .tooltip:after,
|
||||||
.tooltip-top:before, .tooltip-top:after {
|
.tooltip-top:before, .tooltip-top:after {
|
||||||
bottom: 100%;
|
bottom: 100%;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends 'layout.html' %}
|
{% extends 'pageWrapper.html' %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends 'layout.html' %}
|
{% extends 'pageWrapper.html' %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends 'layout.html' %}
|
{% extends 'pageWrapper.html' %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends 'layout.html' %}
|
{% extends 'pageWrapper.html' %}
|
||||||
{% import "macros.html" as macros %}
|
{% import "macros.html" as macros %}
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<title>Multiworld {{ room.id|suuid }}</title>
|
<title>Multiworld {{ room.id|suuid }}</title>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends 'layout.html' %}
|
{% extends 'pageWrapper.html' %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<title>Berserker's Multiworld</title>
|
<title>Berserker's Multiworld</title>
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<link rel="stylesheet" type="text/css" href="{{ static_autoversion("styles/layout.css") }}" />
|
|
||||||
<link rel="stylesheet" type="text/css" href="{{ static_autoversion("styles/tooltip.css") }}" />
|
<link rel="stylesheet" type="text/css" href="{{ static_autoversion("styles/tooltip.css") }}" />
|
||||||
<script type="application/ecmascript" src="{{ static_autoversion("assets/layout.js") }}"></script>
|
<link rel="stylesheet" type="text/css" href="{{ static_autoversion("styles/cookieNotice.css") }}" />
|
||||||
|
<script type="application/ecmascript" src="{{ static_autoversion("assets/cookieNotice.js") }}"></script>
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<title>Berserker's Multiworld</title>
|
<title>Multiworld</title>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends 'layout.html' %}
|
{% extends 'pageWrapper.html' %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<title>Player Settings</title>
|
<title>Player Settings</title>
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "pageWrapper.html" %}
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
type="text/css"
|
type="text/css"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends 'layout.html' %}
|
{% extends 'pageWrapper.html' %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<title>Setup Tutorial</title>
|
<title>Setup Tutorial</title>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends 'layout.html' %}
|
{% extends 'pageWrapper.html' %}
|
||||||
{% import "macros.html" as macros %}
|
{% import "macros.html" as macros %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends 'layout.html' %}
|
{% extends 'pageWrapper.html' %}
|
||||||
{% import "macros.html" as macros %}
|
{% import "macros.html" as macros %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
|
@ -3,7 +3,7 @@ websockets>=8.1
|
||||||
PyYAML>=5.3.1
|
PyYAML>=5.3.1
|
||||||
fuzzywuzzy>=0.18.0
|
fuzzywuzzy>=0.18.0
|
||||||
bsdiff4>=1.2.0
|
bsdiff4>=1.2.0
|
||||||
prompt_toolkit>=3.0.6
|
prompt_toolkit>=3.0.8
|
||||||
appdirs>=1.4.4
|
appdirs>=1.4.4
|
||||||
maseya-z3pr>=1.0.0rc1
|
maseya-z3pr>=1.0.0rc1
|
||||||
xxtea>=2.0.0.post0
|
xxtea>=2.0.0.post0
|