{% extends "base.html" %}{% from "_macros.html" import page_head, flash, csrf, empty %} {% block title %}Pick locks{% endblock %} {% block content %} {# web/admin.admin_locks: each coming F1 weekend's strategy-pick lock and the admin's override (fantasy/follow.lock_overrides). #} {{ page_head("Pick locks", "When players can't pick or change a strategy. By default each F1 weekend locks at lights out and reopens a day after the race; a pick made mid-weekend only trades the stages priced after it.") }} {% include "_admin_nav.html" %} {{ flash(msg) }} {% if not weekends %}{{ empty("No F1 weekend left this season.") }}{% else %}

Times are UTC. Leave a time empty for the default. A lock can't reopen later than the default: once a race is a day old the next weekend takes over.

{% for w in weekends %}{% endfor %}
WeekendFirst sessionLights outLocksReopensNowOverride
{{ w.name }} {{ w.event_key }} {{ w.first.strftime("%a %d %b %H:%M") }} {{ w.race_start.strftime("%a %d %b %H:%M") }} {% if w.off %}no lock{% else %}{{ w.closes.strftime("%a %d %b %H:%M") }}{% endif %} {% if not w.off %}{{ w.reopens.strftime("%a %d %b %H:%M") }}{% endif %} {% if w.locked %}locked{% else %}open{% endif %}{% if w.override %} override{% endif %}
{{ csrf() }} {% if w.override %} {% endif %}
{% endif %} {% endblock %}