@csfr_exampt for json file list
This commit is contained in:
parent
4136a0d11e
commit
4c6db1c3a7
|
@ -231,7 +231,7 @@ def deleteFile(request):
|
|||
}
|
||||
return render_to_json_response(response)
|
||||
|
||||
|
||||
@csrf_exempt
|
||||
def fileList(request):
|
||||
category = request.POST.get("category", '')
|
||||
typ = request.POST.get("fileType", '')
|
||||
|
|
|
@ -70,37 +70,7 @@ $(function() {
|
|||
|
||||
</script>
|
||||
|
||||
<style type="text/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>
|
||||
|
||||
<link rel="stylesheet" href="/static/css/files/upload.css" />
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user