Browse Source

small bugfixes

main
crunk 5 months ago
parent
commit
74035637ee
  1. 4
      verse/distribusikan/add_files_to_describer.py
  2. 3
      verse/distribusikan/static/css/distribusikan.css
  3. 2
      verse/distribusikan/static/css/editor.css
  4. 2
      verse/distribusikan/templates/distribusikan/distribusi_workflow/editcss.html
  5. 1
      verse/distribusikan/templates/distribusikan/distribusi_workflow/selector.html

4
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)

3
verse/distribusikan/static/css/distribusikan.css

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

2
verse/distribusikan/static/css/editor.css

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

2
verse/distribusikan/templates/distribusikan/distribusi_workflow/editcss.html

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

1
verse/distribusikan/templates/distribusikan/distribusi_workflow/selector.html

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

Loading…
Cancel
Save