From 0a492a09a8d357324e70981fbc1a8a634f9ca1fd Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Wed, 4 Mar 2015 18:43:58 +0100 Subject: [PATCH] Restructure Upload Progress Bars - Removed dropzone.js, it hasn't been around long enough, maybe we need to update this in two years again. - jQuery should be a proper rst link. --- docs/patterns/fileuploads.rst | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/docs/patterns/fileuploads.rst b/docs/patterns/fileuploads.rst index 65975448..10aa15f2 100644 --- a/docs/patterns/fileuploads.rst +++ b/docs/patterns/fileuploads.rst @@ -168,19 +168,17 @@ client asks the server every 5 seconds how much it has transmitted already. Do you realize the irony? The client is asking for something it should already know. -Now there are better solutions that work faster and are more reliable. There -are JavaScript libraries like jQuery (http://jQuery.com) that have form plugins -to ease the construction of progress bar. Another great option is dropzone.js -(http://www.dropzonejs.com) that allows users to drag and drop files on to the -page. - - An Easier Solution ------------------ +Now there are better solutions that work faster and are more reliable. There +are JavaScript libraries like jQuery_ that have form plugins to ease the +construction of progress bar. + Because the common pattern for file uploads exists almost unchanged in all -applications dealing with uploads, there is a Flask extension called -`Flask-Uploads`_ that implements a full fledged upload mechanism with -white and blacklisting of extensions and more. +applications dealing with uploads, there is also a Flask extension called +`Flask-Uploads`_ that implements a full fledged upload mechanism with white and +blacklisting of extensions and more. +.. _jQuery: https://jquery.com/ .. _Flask-Uploads: http://pythonhosted.org/Flask-Uploads/