small bugfixes

This commit is contained in:
crunk 2024-06-27 11:23:02 +02:00
parent b9cc82b8f2
commit 74035637ee
5 changed files with 9 additions and 3 deletions

View File

@ -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(".html"), files))
files = list(filter(lambda f: not f.endswith("_thumbnail.jpg"), 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("_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: for file in files:
full_path = os.path.join(root, file) full_path = os.path.join(root, file)

View File

@ -27,3 +27,6 @@
.workflow input{ .workflow input{
max-width: 20em; max-width: 20em;
} }
.new_divider {
height: 5em;
}

View File

@ -46,5 +46,5 @@ iframe {
} }
#html { #html {
background-color: #9de457; background-color: #9de457;
color: lightgrey; color: black;
} }

View File

@ -1,7 +1,7 @@
<div id="edit" class="workflow"> <div id="edit" class="workflow">
<h2>Step 3: Edit Custom CSS (Optional)</h2> <h2>Step 3: Edit Custom CSS (Optional)</h2>
{% if files_uploaded or distribusi_live %} {% if files_uploaded or distribusi_live %}
<p><a href="/editor">Go to CSS editor</a></p> <p><a href="/distribusikan/seditor">Go to CSS editor</a></p>
{% else %} {% else %}
<p> <p>
You need to upload your files first before you can select a css theme You need to upload your files first before you can select a css theme

View File

@ -36,6 +36,7 @@
{% endfor %} {% endfor %}
</fieldset> </fieldset>
<hr> <hr>
<div class="new_divider"></div>
{% if limit_reached %} {% if limit_reached %}
<p>You have reached your limit of distribusi websites</p> <p>You have reached your limit of distribusi websites</p>
{% else %} {% else %}