upload_file.html 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <!DOCTYPE html>
  2. <html lang="zh-cn">
  3. <div>
  4. <form method="post" enctype="multipart/form-data" action=".">
  5. {% csrf_token %}
  6. <!-- 用户名 -->
  7. <div>
  8. <label for="username">用户名</label>
  9. <input type="text" id="username" name="username">
  10. </div>
  11. <!-- 昵称 -->
  12. <div>
  13. <label for="file_path">file_path</label>
  14. <input type="text" id="file_path" name="file_path">
  15. </div>
  16. <!-- 昵称 -->
  17. <div>
  18. <label for="folder_id">folder_id</label>
  19. <input type="text" id="folder_id" name="folder_id">
  20. </div>
  21. <div>
  22. <input type="file" name="upload">
  23. </div>
  24. <div>
  25. <label for="token">token</label>
  26. <input type="text" id="token" name="token">
  27. </div>
  28. <!-- 提交按钮 -->
  29. <button type="submit" class="btn btn-success btn-block">提交</button>
  30. </form>
  31. </div>
  32. </html>