styling and docs
This commit is contained in:
@@ -34,6 +34,7 @@ def before_request():
|
||||
g.shares = json.load(open(app.config['SHARES_FILE'],'rt'))
|
||||
g.version = __FLEES_VERSION__
|
||||
g.site_name = app.config['SITE_NAME']
|
||||
g.max_zip_size = app.config['MAX_ZIP_SIZE']
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
@@ -51,7 +52,8 @@ def index():
|
||||
'name': share['name'],
|
||||
'expire': get_or_none(share,'expire'),
|
||||
'upload': get_or_none(share,'upload'),
|
||||
'password_set': password_set
|
||||
'password_set': password_set,
|
||||
'description': get_or_none(share,'description','')
|
||||
})
|
||||
|
||||
return render_template("index.html", entries=public_shares)
|
||||
|
||||
Reference in New Issue
Block a user