change_colors.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {% extends 'admin/base_site.html' %}
  2. {% block title %}Настройка цвета{% endblock %}
  3. {% block content %}
  4. <form method="POST" action="">
  5. {% csrf_token %}
  6. <div class="input-group mb-3">
  7. <label for="{{form.btnBg.id_for_label}}">{{form.btnBg.label}}: </label>{{form.btnBg}}
  8. </div>
  9. <div class="input-group mb-3">
  10. <label for="{{form.btnTxt.id_for_label}}">{{form.btnTxt.label}}: </label>{{form.btnTxt}}
  11. </div>
  12. <div class="input-group mb-3">
  13. <label for="{{form.btnHover.id_for_label}}">{{form.btnHover.label}}: </label>{{form.btnHover}}
  14. </div>
  15. <div class="input-group mb-3">
  16. <label for="{{form.pillsBg.id_for_label}}">{{form.pillsBg.label}}: </label>{{form.pillsBg}}
  17. </div>
  18. <div class="input-group mb-3">
  19. <label for="{{form.linksTxt.id_for_label}}">{{form.linksTxt.label}}: </label>{{form.linksTxt}}
  20. </div>
  21. <div class="input-group mb-3">
  22. <label for="{{form.linksHover.id_for_label}}">{{form.linksHover.label}}: </label>{{form.linksHover}}
  23. </div>
  24. <div class="input-group mb-3">
  25. <label for="{{form.btnSuccessBg.id_for_label}}">{{form.btnSuccessBg.label}}: </label>{{form.btnSuccessBg}}
  26. </div>
  27. <div class="input-group mb-3">
  28. <label for="{{form.btnSuccessTxt.id_for_label}}">{{form.btnSuccessTxt.label}}: </label>{{form.btnSuccessTxt}}
  29. </div>
  30. <div class="input-group mb-3">
  31. <label for="{{form.btnSuccessHover.id_for_label}}">{{form.btnSuccessHover.label}}: </label>{{form.btnSuccessHover}}
  32. </div>
  33. <div class="input-group mb-3">
  34. <label for="{{form.btnDangerBg.id_for_label}}">{{form.btnDangerBg.label}}: </label>{{form.btnDangerBg}}
  35. </div>
  36. <div class="input-group mb-3">
  37. <label for="{{form.btnDangerTxt.id_for_label}}">{{form.btnDangerTxt.label}}: </label>{{form.btnDangerTxt}}
  38. </div>
  39. <div class="input-group mb-3">
  40. <label for="{{form.btnDangerHover.id_for_label}}">{{form.btnDangerHover.label}}: </label>{{form.btnDangerHover}}
  41. </div>
  42. <button type="submit" class="btn btn-primary">Отправить</button>
  43. </form>
  44. {% endblock %}