## entry: Optional[EntryType] ## classes: List[ClassType] ## clubs: List[ClubType] ## unassigned_results: Dict[int, str] ## event_fields: List[str] <%! from ooresults.otypes.result_type import PersonRaceResult from ooresults.otypes.result_type import ResultStatus from ooresults.otypes.start_type import PersonRaceStart from ooresults.utils.globals import format_time from ooresults.utils.globals import MAP_STATUS %> <% fields = entry.fields if entry else {} result = entry.result if entry else PersonRaceResult() start = entry.start if entry else PersonRaceStart() has_result = entry is not None and entry.result is not None and entry.result.has_punches() chip_readonly = "readonly" if has_result else "" chip_disabled = "disabled" if has_result else "" %>