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.
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
</head>
|
||||
<body>
|
||||
<div id="game-container">
|
||||
<a href="{{ path('game', {session: session.id}) }}" id="back-button">← Back</a>
|
||||
|
||||
<div id="message-container">
|
||||
<div class="message">No tutorial is available for this game yet.</div>
|
||||
</div>
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
style="display:none">
|
||||
</div>
|
||||
|
||||
<a href="{{ path('game', {session: session.id}) }}" id="back-button">← Back</a>
|
||||
|
||||
<div id="message-container">
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user