mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 21:33:18 -07:00
Add cloudinary v1.11.0
This commit is contained in:
parent
5710bcb43c
commit
136260a822
27 changed files with 10855 additions and 0 deletions
12
lib/cloudinary/templates/cloudinary_direct_upload.html
Normal file
12
lib/cloudinary/templates/cloudinary_direct_upload.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<form action={{url}} method="POST" enctype="multipart/form-data">
|
||||
{% for name, value in params.items %}
|
||||
<input type="hidden" name="{{name}}" value="{{value}}"/>
|
||||
{% endfor %}
|
||||
{% block extra %} {% endblock %}
|
||||
{% block file %}
|
||||
<input type="file" name="file"/>
|
||||
{% endblock %}
|
||||
{% block submit %}
|
||||
<input type="submit"/>
|
||||
{% endblock %}
|
||||
</form>
|
14
lib/cloudinary/templates/cloudinary_includes.html
Normal file
14
lib/cloudinary/templates/cloudinary_includes.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{% load staticfiles %}
|
||||
|
||||
<script src="{% static "js/jquery.ui.widget.js" %}" type="text/javascript"></script>
|
||||
<script src="{% static "js/jquery.iframe-transport.js" %}" type="text/javascript"></script>
|
||||
<script src="{% static "js/jquery.fileupload.js" %}" type="text/javascript"></script>
|
||||
<script src="{% static "js/jquery.cloudinary.js" %}" type="text/javascript"></script>
|
||||
|
||||
{% if processing %}
|
||||
<script src="{% static "js/load-image.all.min.js" %}" type="text/javascript"></script>
|
||||
<script src="{% static "js/canvas-to-blob.min.js" %}" type="text/javascript"></script>
|
||||
<script src="{% static "js/jquery.fileupload-process.js" %}" type="text/javascript"></script>
|
||||
<script src="{% static "js/jquery.fileupload-image.js" %}" type="text/javascript"></script>
|
||||
<script src="{% static "js/jquery.fileupload-validate.js" %}" type="text/javascript"></script>
|
||||
{% endif %}
|
3
lib/cloudinary/templates/cloudinary_js_config.html
Normal file
3
lib/cloudinary/templates/cloudinary_js_config.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<script type='text/javascript'>
|
||||
$.cloudinary.config({{ params|safe }});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue