Files
Escapepage/templates/pregame/default.html.twig
T
Frank 7c14ab3331 Add a back button to the tutorial that docks into the input row on completion
Lets players leave the tutorial at any time via a top-left link back to the
game session. Once the tutorial finishes and the input field is disabled,
the button relocates into the input row so it's the obvious next action.
2026-08-18 22:35:52 +02:00

24 lines
721 B
Twig

<!DOCTYPE html>
<html lang="{{ app.request.locale|default(app.request.defaultLocale|default('en')) }}">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Command Line Tutorial</title>
{{ encore_entry_link_tags('app') }}
{{ encore_entry_link_tags('pregame') }}
</head>
<body>
<div id="game-container">
<a href="{{ path('game', {session: session.id}) }}" id="back-button">&larr; Back</a>
<div id="message-container">
<div class="message">No tutorial is available for this game yet.</div>
</div>
</div>
</body>
{{ encore_entry_script_tags('app') }}
{{ encore_entry_script_tags('pregame') }}
</html>