This commit is contained in:
Doriane 2024-03-27 13:48:16 +01:00
parent e8c36e10d7
commit 92a3a8fad2
3 changed files with 25 additions and 4 deletions

13
app.py
View File

@ -6,7 +6,7 @@ import sys
import tempfile
import io
import requests
from svg_to_hpgl import svgToHPGL
# from svg_to_hpgl import svgToHPGL
app = Flask(__name__)
@ -221,10 +221,15 @@ def catalogue():
params = params)
# ----------------------------------------------------------
# _ _
# ___ __ _| |_ __ _| | ___ __ _ _ _ ___
# / __/ _` | __/ _` | |/ _ \ / _` | | | |/ _ \
# | (_| (_| | || (_| | | (_) | (_| | |_| | __/
# \___\__,_|\__\__,_|_|\___/ \__, |\__,_|\___|
# |___/
#
# FIGLET 2 SVGBOB INTERACTIVE CATALOGUE
def make_svg ():
return ''
@app.route('/hpgl/<id>')
def hpgl (id):

View File

@ -76,6 +76,9 @@ nav ul{
background: black;
color: white;
}
nav ul li:last-of-type{
display: none;
}
.controls{
top: var(--bar-h);
background-color: var(--c-back);
@ -323,4 +326,13 @@ body.check-fix .fix{
}
.draw .f-ascii{
padding: 0;
}
.draw .f-svg{
padding: 0;
}
.f-svg iframe{
border: none !important;
width: 100%;
height: 100%;
display: block;
}

View File

@ -100,5 +100,9 @@
</details>
{% endfor %}
<script>
</script>
{% endblock %}