diff --git a/app.py b/app.py index d010bf9c87f792ffe2f9e4c537f72bddb877f9bf..5478b204bc7bd5683fbe4c81abd65c45aee81286 100644 --- a/app.py +++ b/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): diff --git a/static/css/interface.css b/static/css/interface.css index a6ea4e6119a44e8ccfe34a4df3c4d900f8dc4b0d..4802685a3c0fa29bd831601b43f27bff67370122 100644 --- a/static/css/interface.css +++ b/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; } \ No newline at end of file diff --git a/templates/catalogue.html b/templates/catalogue.html index 8401d63b0b8563aa6a3fe3d330ae0a7fc318e842..4e1f5e542ad703f48c0e8d4334bca547751c7a1d 100644 --- a/templates/catalogue.html +++ b/templates/catalogue.html @@ -100,5 +100,9 @@ </details> {% endfor %} + <script> + + </script> + {% endblock %}