Some last small edits for the day and give some love to fancyboi

This commit is contained in:
crunk 2022-01-23 17:33:50 +01:00
parent a6dc3d3b20
commit 59e7679034
4 changed files with 24 additions and 7 deletions

View File

@ -141,6 +141,7 @@ a:active {
div.maincontent{
width: 55%;
border: 3px solid #E0B0FF;
margin-top: 0.5em;
padding: 0.5em;
border-style: outset;
}

View File

@ -2,15 +2,17 @@ import os
from flask_login import current_user
from usermodel import User
def AreFilesUploaded():
user = User.query.filter_by(email=current_user.email).first()
if user.distribusiname is None:
print("distribusi name is empty")
return False;
return False
userfolder = os.path.join("stash", user.distribusiname)
if os.path.exists(userfolder):
print("folder found, files are uploaded")
return True;
return True
# def IsThemeSelected
# def IsCustomThemePresent

View File

@ -1,5 +1,17 @@
{% extends "base.html" %}
{% block main %}
<div id="buttons">
<div class="overview">
<a href="/">
<input type="button" name="button" value="Overview"></input>
</a>
</div>
<div class="logout">
<a href="/logout">
<input type="button" name="button" value="Logout"></input>
</a>
</div>
</div>
<div id="mainworkflow">
{% block upload %}
{% include "distribusiworkflow/upload.html" %}

View File

@ -35,14 +35,16 @@
</p>
<hr>
<p>
This particular work in progress project is an attempt to make distribusi into a webinterface that can be operated remotely without any knowlegde of CLI. Trying to somehow combine the ideas of distribusi with the ideas of a <a href="https://tildeverse.org/">Tildeverse</a> or <a href="https://tilde.club/">Tilde club</a>, but also be neither of these ideas.</p>
This particular work in progress project is an attempt to make distribusi into a webinterface that can be operated remotely without any knowlegde of CLI. Trying to combine the ideas of distribusi with the ideas of a <a href="https://tildeverse.org/">Tildeverse</a> and <a href="https://tilde.club/">Tilde club</a>, but also be neither of these ideas. See a full list of tildeverse members <a href="https://tildeverse.org/members/">here</a>.</p>
<hr>
<p>This project is made for <a href="https://www.wdka.nl/practices/autonomous-practices/">Autonomous Practices </a>at the <a href="https://www.wdka.nl/">WDKA</a> in Rotterdam.</p>
</div>
<!-- a div with all the distribusis listed in the distribusiverse -->
<div id="distribusiverse" class="maincontent">
<h2>List of distribusis</h2>
<ul>
{% for distribusi in distribusies %}
<li><a href="stash/{{distribusies[distribusi]}}/index.html">{{distribusi}}: {{distribusies[distribusi]}}</a></li>
<li>{{distribusi}}: <a href="stash/{{distribusies[distribusi]}}/index.html">{{distribusies[distribusi]}}</a></li>
{% endfor%}
</ul>
</div>