WebHost: add spoiler level field to generate form

This commit is contained in:
Fabian Dill
2023-04-17 13:19:27 +02:00
committed by Fabian Dill
parent c8fb46a5e6
commit bf5c1cbbbf
4 changed files with 49 additions and 18 deletions

View File

@@ -119,6 +119,28 @@
</select>
</td>
</tr>
<tr>
<td>
<label for="spoiler">Spoiler Log:
<span class="interactive" data-tooltip="Generates a text listing all randomized elements.
Warning: playthrough can take a significant amount of time for larger multiworlds.">
(?)
</span>
</label>
</td>
<td>
<select name="spoiler" id="spoiler">
{% if race -%}
<option value="0">Disabled in Race mode</option>
{%- else -%}
<option value="3">Enabled with playthrough and traversal</option>
<option value="2">Enabled with playthrough</option>
<option value="1">Enabled</option>
<option value="0">Disabled</option>
{%- endif -%}
</select>
</td>
</tr>
</tbody>
</table>
</div>