| 
									
										
										
										
											2020-10-24 14:46:27 -04:00
										 |  |  | {% extends 'pageWrapper.html' %} | 
					
						
							| 
									
										
										
										
											2020-08-14 23:45:23 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | {% block head %} | 
					
						
							| 
									
										
										
										
											2021-07-25 18:07:03 -04:00
										 |  |  |     <title>{{ game }} Settings</title> | 
					
						
							| 
									
										
										
										
											2021-07-25 19:04:08 -04:00
										 |  |  |     <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename="styles/player-settings.css") }}" /> | 
					
						
							| 
									
										
										
										
											2020-12-04 00:40:57 -05:00
										 |  |  |     <script type="application/ecmascript" src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script> | 
					
						
							| 
									
										
										
										
											2021-05-13 00:41:49 +02:00
										 |  |  |     <script type="application/ecmascript" src="{{ url_for('static', filename="assets/js-yaml.min.js") }}"></script> | 
					
						
							| 
									
										
										
										
											2021-07-24 23:09:34 -04:00
										 |  |  |     <script type="application/ecmascript" src="{{ url_for('static', filename="assets/player-settings.js") }}"></script> | 
					
						
							| 
									
										
										
										
											2020-08-14 23:45:23 -04:00
										 |  |  | {% endblock %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block body %} | 
					
						
							| 
									
										
										
										
											2020-12-03 01:55:06 -05:00
										 |  |  |     {% include 'header/grassHeader.html' %} | 
					
						
							| 
									
										
										
										
											2021-07-25 15:49:51 -04:00
										 |  |  |     <div id="player-settings" data-game="{{ game }}"> | 
					
						
							| 
									
										
										
										
											2021-05-13 21:33:56 -04:00
										 |  |  |         <div id="user-message"></div> | 
					
						
							| 
									
										
										
										
											2021-07-24 23:09:34 -04:00
										 |  |  |         <h1><span id="game-name">Player</span> Settings</h1> | 
					
						
							| 
									
										
										
										
											2020-12-03 18:27:32 -05:00
										 |  |  |         <p>Choose the options you would like to play with! You may generate a single-player game from this page, | 
					
						
							| 
									
										
										
										
											2021-08-22 20:01:58 -04:00
										 |  |  |             or download a settings file you can use to participate in a MultiWorld.</p> | 
					
						
							| 
									
										
										
										
											2020-08-19 21:51:59 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-09-01 20:47:36 -04:00
										 |  |  |         <p> | 
					
						
							|  |  |  |             A list of all games you have generated can be found <a href="/user-content">here</a>. | 
					
						
							|  |  |  |             <br /> | 
					
						
							|  |  |  |             Advanced users can download a template file for this game | 
					
						
							|  |  |  |             <a href="/static/generated/{{ game }}.yaml">here</a>. | 
					
						
							|  |  |  |         </p> | 
					
						
							| 
									
										
										
										
											2020-12-04 18:28:17 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-12-03 18:27:32 -05:00
										 |  |  |         <p><label for="player-name">Please enter your player name. This will appear in-game as you send and receive | 
					
						
							| 
									
										
										
										
											2021-07-24 23:09:34 -04:00
										 |  |  |             items if you are playing in a MultiWorld.</label><br /> | 
					
						
							| 
									
										
										
										
											2020-12-04 00:40:57 -05:00
										 |  |  |             <input id="player-name" placeholder="Player Name" data-key="name" maxlength="16" /> | 
					
						
							| 
									
										
										
										
											2020-12-03 18:27:32 -05:00
										 |  |  |         </p> | 
					
						
							| 
									
										
										
										
											2020-08-19 21:51:59 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-12-03 18:27:32 -05:00
										 |  |  |         <h2>Game Options</h2> | 
					
						
							|  |  |  |         <div id="game-options"> | 
					
						
							|  |  |  |             <div id="game-options-left" class="left"></div> | 
					
						
							|  |  |  |             <div id="game-options-right" class="right"></div> | 
					
						
							| 
									
										
										
										
											2020-08-19 21:51:59 -04:00
										 |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2020-12-03 18:27:32 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-12-04 00:40:57 -05:00
										 |  |  |         <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> | 
					
						
							| 
									
										
										
										
											2020-08-14 23:45:23 -04:00
										 |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2020-12-03 18:27:32 -05:00
										 |  |  | {% endblock %} |