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("_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)

View File

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

View File

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

View File

@ -1,7 +1,7 @@
<div id="edit" class="workflow">
<h2>Step 3: Edit Custom CSS (Optional)</h2>
{% 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 %}
<p>
You need to upload your files first before you can select a css theme

View File

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