From b36f9c05071ea549ed59e703270fcf223b60df03 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 9 Apr 2017 09:02:09 +0200 Subject: Major rewrite to use jab/oauth. Highlights: - Uses the oauth branch of jab. - Changed design to use bootstrap. - Some minor changes to functionality in file uploading and listing. - API is currently disabled and incomplete. --- fbin/templates/upload.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 fbin/templates/upload.html (limited to 'fbin/templates/upload.html') diff --git a/fbin/templates/upload.html b/fbin/templates/upload.html new file mode 100644 index 0000000..643e09d --- /dev/null +++ b/fbin/templates/upload.html @@ -0,0 +1,25 @@ +{% extends "base.html" %} +{% block content %} +{% if current_user.is_authenticated or config.ALLOW_ANONYMOUS_UPLOADS %} +
+
+ +
+
+ +
+
+{% else %} +
You must be logged in to upload files.
+{% endif %} +{% endblock %} +{% block scripts %} + +{% endblock %} -- cgit v1.2.3