From 74035637ee98c218344283d0140324a4ae7571e7 Mon Sep 17 00:00:00 2001 From: crunk Date: Thu, 27 Jun 2024 11:23:02 +0200 Subject: [PATCH] small bugfixes --- verse/distribusikan/add_files_to_describer.py | 4 +++- verse/distribusikan/static/css/distribusikan.css | 3 +++ verse/distribusikan/static/css/editor.css | 2 +- .../templates/distribusikan/distribusi_workflow/editcss.html | 2 +- .../templates/distribusikan/distribusi_workflow/selector.html | 1 + 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/verse/distribusikan/add_files_to_describer.py b/verse/distribusikan/add_files_to_describer.py index 6773279..466f912 100644 --- a/verse/distribusikan/add_files_to_describer.py +++ b/verse/distribusikan/add_files_to_describer.py @@ -69,7 +69,9 @@ def add_distribusi_files_to_db(path): files = list(filter(lambda f: not f.endswith(".html"), files)) files = list(filter(lambda f: not f.endswith("_thumbnail.jpg"), files)) files = list(filter(lambda f: not f.endswith("_alttext.txt"), files)) - files = list(filter(lambda f: not f.endswith("_dv_description.txt"), files)) + files = list( + filter(lambda f: not f.endswith("_dv_description.txt"), files) + ) for file in files: full_path = os.path.join(root, file) diff --git a/verse/distribusikan/static/css/distribusikan.css b/verse/distribusikan/static/css/distribusikan.css index 55a5302..2083035 100644 --- a/verse/distribusikan/static/css/distribusikan.css +++ b/verse/distribusikan/static/css/distribusikan.css @@ -27,3 +27,6 @@ .workflow input{ max-width: 20em; } +.new_divider { + height: 5em; +} diff --git a/verse/distribusikan/static/css/editor.css b/verse/distribusikan/static/css/editor.css index 46c6e86..d8f2ed6 100644 --- a/verse/distribusikan/static/css/editor.css +++ b/verse/distribusikan/static/css/editor.css @@ -46,5 +46,5 @@ iframe { } #html { background-color: #9de457; - color: lightgrey; + color: black; } diff --git a/verse/distribusikan/templates/distribusikan/distribusi_workflow/editcss.html b/verse/distribusikan/templates/distribusikan/distribusi_workflow/editcss.html index 0170599..5c3f350 100644 --- a/verse/distribusikan/templates/distribusikan/distribusi_workflow/editcss.html +++ b/verse/distribusikan/templates/distribusikan/distribusi_workflow/editcss.html @@ -1,7 +1,7 @@

Step 3: Edit Custom CSS (Optional)

{% if files_uploaded or distribusi_live %} -

Go to CSS editor

+

Go to CSS editor

{% else %}

You need to upload your files first before you can select a css theme diff --git a/verse/distribusikan/templates/distribusikan/distribusi_workflow/selector.html b/verse/distribusikan/templates/distribusikan/distribusi_workflow/selector.html index 6c95a0b..3880148 100644 --- a/verse/distribusikan/templates/distribusikan/distribusi_workflow/selector.html +++ b/verse/distribusikan/templates/distribusikan/distribusi_workflow/selector.html @@ -36,6 +36,7 @@ {% endfor %}


+
{% if limit_reached %}

You have reached your limit of distribusi websites

{% else %}