improved login page to be responsive, also made pretty fname remove paths now we have only 1 imp/sto/bin path -- reduces fname size which is a small help to BUG-96
This commit is contained in:
6
files.py
6
files.py
@@ -755,7 +755,11 @@ def view(id):
|
||||
return redirect("/")
|
||||
else:
|
||||
NMO_data = FaceOverrideType.query.all()
|
||||
return render_template("viewer.html", current=int(id), eids=eids, objs=objs, OPT=OPT, NMO_data=NMO_data )
|
||||
setting = Settings.query.first()
|
||||
imp_path = setting.import_path
|
||||
st_path = setting.storage_path
|
||||
bin_path = setting.recycle_bin_path
|
||||
return render_template("viewer.html", current=int(id), eids=eids, objs=objs, OPT=OPT, NMO_data=NMO_data, imp_path=imp_path, st_path=st_path, bin_path=bin_path )
|
||||
|
||||
##################################################################################
|
||||
# /view/id -> grabs data from DB and views it (POST -> set state, redirect to GET)
|
||||
|
||||
Reference in New Issue
Block a user