41 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
| {% extends 'pageWrapper.html' %}
 | |
| 
 | |
| {% block head %}
 | |
|     <title>{{ game }} Settings</title>
 | |
|     <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename="styles/player-settings.css") }}" />
 | |
|     <script type="application/ecmascript" src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
 | |
|     <script type="application/ecmascript" src="{{ url_for('static', filename="assets/js-yaml.min.js") }}"></script>
 | |
|     <script type="application/ecmascript" src="{{ url_for('static', filename="assets/player-settings.js") }}"></script>
 | |
| {% endblock %}
 | |
| 
 | |
| {% block body %}
 | |
|     {% include 'header/grassHeader.html' %}
 | |
|     <div id="player-settings" data-game="{{ game }}">
 | |
|         <div id="user-message"></div>
 | |
|         <h1><span id="game-name">Player</span> Settings</h1>
 | |
|         <p>Choose the options you would like to play with! You may generate a single-player game from this page,
 | |
|             or download a settings file you can use to participate in a MultiWorld. If you would like to make
 | |
|             your settings extra random, check out the advanced <a href="/weighted-settings">weighted settings</a>
 | |
|             page.</p>
 | |
| 
 | |
|         <p>A list of all games you have generated can be found <a href="/user-content">here</a>.</p>
 | |
| 
 | |
|         <p><label for="player-name">Please enter your player name. This will appear in-game as you send and receive
 | |
|             items if you are playing in a MultiWorld.</label><br />
 | |
|             <input id="player-name" placeholder="Player Name" data-key="name" maxlength="16" />
 | |
|         </p>
 | |
| 
 | |
|         <h2>Game Options</h2>
 | |
|         <div id="game-options">
 | |
|             <div id="game-options-left" class="left"></div>
 | |
|             <div id="game-options-right" class="right"></div>
 | |
|         </div>
 | |
| 
 | |
|         <div id="player-settings-button-row">
 | |
|             <button id="export-settings">Export Settings</button>
 | |
|             <button id="generate-game">Generate Game</button>
 | |
|             <button id="generate-race">Generate Race</button>
 | |
|         </div>
 | |
|     </div>
 | |
| {% endblock %}
 |