diff --git a/djangorota/djangorota/templates/rota/rota_detail.html b/djangorota/djangorota/templates/rota/rota_detail.html index 9d93070..2d35ba1 100644 --- a/djangorota/djangorota/templates/rota/rota_detail.html +++ b/djangorota/djangorota/templates/rota/rota_detail.html @@ -6,70 +6,107 @@ {% block content %}
-

{{ rota.name }}

-

Edit rota

-

{{ rota.description }}

-

Period: {{ rota.start_date }} → {{ rota.end_date }}

- -
-

Solver settings

-
-
Solver
-
{% if solver %}{{ solver }}{% else %}(default){% endif %}
-
Ratio
-
{% if solver_ratio is not None %}{{ solver_ratio }}{% else %}{% endif %}
-
- {% if solver_options %} -
-

Solver options

-
{{ solver_options }}
+
+
+
+
+

{{ rota.name }}

+

{{ rota.description }}

+

Period: {{ rota.start_date }} → {{ rota.end_date }}

+
+
+
+
+ - {% endif %} -
- -
-

RotaBuilder summary

-
-
Weeks
-
{{ weeks_to_rota|default:'—' }}
-
Shifts
-
{{ shift_count|default:'—' }}
-
Workers
-
{{ worker_count|default:'—' }}
- {# constraints sample intentionally omitted here; keep summary compact #}
-
- {% include 'rota/partials/worker_list.html' %} -

- - - All leave requests -

+
+
+
+

Solver settings

+
+
Solver
+
{% if solver %}{{ solver }}{% else %}(default){% endif %}
+
Ratio
+
{% if solver_ratio is not None %}{{ solver_ratio }}{% else %}{% endif %}
+
+ {% if solver_options %} +
+

Solver options

+
{{ solver_options }}
+
+ {% endif %} +
+
+
+
+

RotaBuilder summary

+
+
Weeks
+
{{ weeks_to_rota|default:'—' }}
+
Shifts
+
{{ shift_count|default:'—' }}
+
Workers
+
{{ worker_count|default:'—' }}
+
+

This summary reflects the current rota options and configured shifts/workers.

+
+
+
+ +
+
+
+
+ {% include 'rota/partials/worker_list.html' %} +
+
+
+
+
+ + + All leave requests +
+
+
+

Constraint options

-

Configure typed rota constraint options. Click Edit to open the form showing typed fields and descriptions.

-

+
+
+

Configure typed rota constraint options. Click Edit to open the form showing typed fields and descriptions.

+
+
+ +
+

Configured constraint values{% if configured_constraints %} ({{ configured_constraints|length }}){% endif %}
-
- - +
+
+
{% if configured_constraints %} - + {% for key, info in configured_constraints.items %} - + -
KeyValue
KeyValueActions
{{ key }}{{ key }} {% if info.typed and info.default is not None %} {% if info.value == info.default %} @@ -83,7 +120,7 @@
{{ info.pretty }}
{% endif %}
+ Edit
{% csrf_token %}