@csfr_exampt for json file list
This commit is contained in:
parent
4136a0d11e
commit
4c6db1c3a7
2 changed files with 2 additions and 32 deletions
|
@ -231,7 +231,7 @@ def deleteFile(request):
|
||||||
}
|
}
|
||||||
return render_to_json_response(response)
|
return render_to_json_response(response)
|
||||||
|
|
||||||
|
@csrf_exempt
|
||||||
def fileList(request):
|
def fileList(request):
|
||||||
category = request.POST.get("category", '')
|
category = request.POST.get("category", '')
|
||||||
typ = request.POST.get("fileType", '')
|
typ = request.POST.get("fileType", '')
|
||||||
|
|
|
@ -70,37 +70,7 @@ $(function() {
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style type="text/css">
|
<link rel="stylesheet" href="/static/css/files/upload.css" />
|
||||||
#addFilesWrapper {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.uploading {
|
|
||||||
background-color: blue;
|
|
||||||
}
|
|
||||||
|
|
||||||
.uploaded {
|
|
||||||
background-color: green;
|
|
||||||
}
|
|
||||||
|
|
||||||
#progressbar {
|
|
||||||
display: none;
|
|
||||||
background-color: #80ADB0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#progress {
|
|
||||||
background-color: #005740;
|
|
||||||
}
|
|
||||||
|
|
||||||
#uploadStudy {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
#uploadingTo {
|
|
||||||
margin-bottom: 12px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue