From 59e76790347c42818cac36b08e2db8a1191658be Mon Sep 17 00:00:00 2001 From: crunk Date: Sun, 23 Jan 2022 17:33:50 +0100 Subject: [PATCH] Some last small edits for the day and give some love to fancyboi --- verse/static/css/style.css | 1 + verse/statuspengguna/helper.py | 12 +++++++----- verse/templates/distribusi.html | 12 ++++++++++++ verse/templates/index.html | 6 ++++-- 4 files changed, 24 insertions(+), 7 deletions(-) diff --git a/verse/static/css/style.css b/verse/static/css/style.css index c269892..fbe9768 100644 --- a/verse/static/css/style.css +++ b/verse/static/css/style.css @@ -141,6 +141,7 @@ a:active { div.maincontent{ width: 55%; border: 3px solid #E0B0FF; + margin-top: 0.5em; padding: 0.5em; border-style: outset; } diff --git a/verse/statuspengguna/helper.py b/verse/statuspengguna/helper.py index 2b6b874..6fc03a0 100644 --- a/verse/statuspengguna/helper.py +++ b/verse/statuspengguna/helper.py @@ -2,16 +2,18 @@ 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 -#def IsDistribusiLive +# def IsThemeSelected +# def IsCustomThemePresent +# def IsDistribusiLive diff --git a/verse/templates/distribusi.html b/verse/templates/distribusi.html index 33b1d4d..875a6f1 100644 --- a/verse/templates/distribusi.html +++ b/verse/templates/distribusi.html @@ -1,5 +1,17 @@ {% extends "base.html" %} {% block main %} +
+
+ + + +
+
+ + + +
+
{% block upload %} {% include "distribusiworkflow/upload.html" %} diff --git a/verse/templates/index.html b/verse/templates/index.html index b5daf71..ce73c11 100644 --- a/verse/templates/index.html +++ b/verse/templates/index.html @@ -35,14 +35,16 @@


- 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 Tildeverse or Tilde club, but also be neither of these ideas.

+ 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 Tildeverse and Tilde club, but also be neither of these ideas. See a full list of tildeverse members here.

+
+

This project is made for Autonomous Practices at the WDKA in Rotterdam.

List of distribusis