| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- {% extends "base_detail.html" %}
- {% load mathfilters %}
- {% load static %}
- {% load naturalduration %}
- {% block head_extra %}
- <style>
- .container {
- max-width: 500px;
- float:left;
- }
- p {
- margin-bottom: 15px;
- }
- label {
- display: block;
- font-weight: bold;
- margin-bottom: 5px;
- }
- input[type="text"] {
- width: 100%;
- padding: 8px;
- border: 1px solid #ccc;
- border-radius: 4px;
- font-size: 14px;
- }
- input[type="checkbox"] {
- margin-left: 5px;
- transform: scale(1.2);
- }
- input:focus {
- outline: none;
- border-color: #007bff;
- box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
- }
- </style>
- {% endblock %}
- {% block title %}Settings{% endblock %}
- {% block details %}
- <form method="post">{% csrf_token %}
- {{form.as_p}}
- <input type="submit" value="Save">
- </form>
- {% endblock %}
|