Browse Source

update

master
Doriane 8 months ago
parent
commit
92a3a8fad2
  1. 13
      app.py
  2. 12
      static/css/interface.css
  3. 4
      templates/catalogue.html

13
app.py

@ -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):

12
static/css/interface.css

@ -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;
}

4
templates/catalogue.html

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

Loading…
Cancel
Save