change_colors.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  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.btnSuccessBg.id_for_label}}">{{form.btnSuccessBg.label}}: </label>{{form.btnSuccessBg}}
  14. </div>
  15. <div class="input-group mb-3">
  16. <label for="{{form.btnSuccessTxt.id_for_label}}">{{form.btnSuccessTxt.label}}: </label>{{form.btnSuccessTxt}}
  17. </div>
  18. <div class="input-group mb-3">
  19. <label for="{{form.btnDangerBg.id_for_label}}">{{form.btnDangerBg.label}}: </label>{{form.btnDangerBg}}
  20. </div>
  21. <div class="input-group mb-3">
  22. <label for="{{form.btnDangerTxt.id_for_label}}">{{form.btnDangerTxt.label}}: </label>{{form.btnDangerTxt}}
  23. </div>
  24. <div class="input-group mb-3">
  25. <label for="{{form.pillsBg.id_for_label}}">{{form.pillsBg.label}}: </label>{{form.pillsBg}}
  26. </div>
  27. <div class="input-group mb-3">
  28. <label for="{{form.pillsTxt.id_for_label}}">{{form.pillsTxt.label}}: </label>{{form.pillsTxt}}
  29. </div>
  30. <div class="input-group mb-3">
  31. <label for="{{form.linksTxt.id_for_label}}">{{form.linksTxt.label}}: </label>{{form.linksTxt}}
  32. </div>
  33. <button type="submit" class="btn btn-primary">Отправить</button>
  34. </form>
  35. {% endblock %}