system.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {% extends "index.html" %}
  2. {% block title %}系統設定{% endblock %}
  3. {% block head %}
  4. {{ super() }}
  5. {% endblock %}
  6. {% block body %}
  7. <div>
  8. <div id="tmp" style="padding:15px;" class="my-3">
  9. <div style="padding-left:15px;">
  10. <button type="button"
  11. style="padding:10px 30px; background:#FFF; color:#002E86; border: 1px solid #002E86; border-radius: 10px; font-size:16px;"
  12. class="me-2 fw-bold system-btn">使用者</button>
  13. <button type="button"
  14. style="padding:10px 30px; background:#FFF; color:#002E86; border: 1px solid #002E86; border-radius: 10px; font-size:16px;"
  15. class="me-2 fw-bold system-btn">聯絡人</button>
  16. <button type="button"
  17. style="padding:10px 30px; background:#FFF; color:#002E86; border: 1px solid #002E86; border-radius: 10px; font-size:16px;"
  18. class="me-2 fw-bold system-btn">環境設置</button>
  19. <button type="button"
  20. style="padding:10px 30px; background:#FFF; color:#002E86; border: 1px solid #002E86; border-radius: 10px; font-size:16px;"
  21. class="me-2 fw-bold system-btn">LINE群組設定</button>
  22. </div>
  23. </div>
  24. <div id="info_table"></div>
  25. <div style="padding:15px">
  26. <div style="width: 40vw;" id="member_auth"></div>
  27. </div>
  28. </div>
  29. <script type="text/javascript" src="static/table.js"></script>
  30. <script>
  31. function navlinkactive() {
  32. $('#nav-system').addClass('active');
  33. }
  34. navlinkactive();
  35. // $(document).on("click", ".system-btn", function (event) {
  36. // $(this).addClass("tower-active");
  37. // $(".tower-active").siblings().removeClass('tower-active');
  38. // });
  39. $('.system-btn').click(function() {
  40. $(this).addClass("tower-active");
  41. // $(".tower-active").siblings().removeClass('tower-active');
  42. });
  43. // $('.system-btn').click(function() {
  44. // $(this).addClass("tower-active");
  45. // $(".tower-active").siblings().removeClass('tower-active');
  46. // });
  47. </script>
  48. {% endblock %}