profile.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {% extends "base.html" %}
  2. {% block content %}
  3. <style>
  4. table, th, td {
  5. border: 1px solid black;
  6. }
  7. </style>
  8. <!--Change Password-->
  9. <form method="POST">
  10. <div class="card-body">
  11. <p><b>Change Password</b></p><br>
  12. <hr style="border: 1px solid rgb(177, 176, 176);"/>
  13. <div class="row">
  14. <div class="col-sm-3" style='position:relative; left:20px'>
  15. <h6 class="mb-0"><label for="password">Password</label></h6><br>
  16. </div>
  17. <div class="col-sm-9 text-secondary">
  18. <input type="text" id="password" name="password"><br>
  19. </div>
  20. </div>
  21. <div class="row">
  22. <div class="col-sm-3" style='position:relative; left:20px'>
  23. <h6 class="mb-0"><label for="password_confirm">Password<br>(Confirm)</label></h6><br>
  24. </div>
  25. <div class="col-sm-9 text-secondary">
  26. <input type="text" id="password_confirm" name="password_confirm">
  27. </div>
  28. </div>
  29. <div class="row">
  30. <div class="col-sm-12">
  31. <input type="submit" value="Submit" class="btn btn-info"></a>
  32. </div>
  33. </div>
  34. </div>
  35. </form>
  36. <h1>Show 2FA and Email Confirmation. If the user turns on it, it will show a green tick. If not, it will show a red tick.</h1>
  37. <p>At here, you may just use 1 to show green tick, 2 to show red tick. I will styling after building front-end</p>
  38. <p>2FA: 1 </p>
  39. <p>Email Confirmation: 1 </p>
  40. <hr>
  41. <h1>Show user information</h1>
  42. <p>email</p>
  43. <p>Nickname</p>
  44. <hr>
  45. <p>Art I Own</p>
  46. <p>1. Art Name</p>
  47. <p>2. Art Image(Click the photo will go to pop up detail art page)</p>
  48. <hr>
  49. <p>Art by Me</p>
  50. <p>1. Art Name</p>
  51. <p>2. Art Image(Click the photo will go to pop up detail art page)</p>
  52. <a href="{{url_for('dashboards.modal_profile')}}">Popup</a>
  53. {% block modal %}{% endblock %}
  54. {% block script %}{% endblock %}
  55. <hr>
  56. <p>Show the user bidding record</p>
  57. <table>
  58. <tr>
  59. <th>Bidding Art Item Name</th>
  60. <th>Bidding Time(Order by DESC)</th>
  61. <th>Bidding Price</th>
  62. </tr>
  63. <tr>
  64. <td>The Krusty Krab</td>
  65. <td>2022-4-3 15:30:00</td>
  66. <td>150</td>
  67. </tr>
  68. <tr>
  69. <td>Chum Bucket</td>
  70. <td>2022-4-2 10:00:00</td>
  71. <td>100</td>
  72. </tr>
  73. </table>
  74. {% endblock %}