mirror of
				https://github.com/MarioSpore/Grinch-AP.git
				synced 2025-10-21 20:21:32 -06:00 
			
		
		
		
	 7dcb6f66da
			
		
	
	7dcb6f66da
	
	
	
		
			
			* [WebHost] Update WebHost to include modular themes system, remove unused and outdated assets * Landing Page Updates * Markdown updates, colors coming later * Remove testing theme from FF1 * Color updates for markdown styles * Updates to generated pages, so many updates * [WebHost] Update WebHost to include modular themes system, remove unused and outdated assets * Landing Page Updates * Markdown updates, colors coming later * Remove testing theme from FF1 * Color updates for markdown styles * Updates to generated pages, so many updates * Seed download page improvements * Add styles to weighted-settings page * Minor adjustments to styles * Revert base theme to grass * Add more items to ArchipIDLE * [WebHost] Update WebHost to include modular themes system, remove unused and outdated assets * Landing Page Updates * Markdown updates, colors coming later * Remove testing theme from FF1 * Color updates for markdown styles * Updates to generated pages, so many updates * Seed download page improvements * [WebHost] Update WebHost to include modular themes system, remove unused and outdated assets * Landing Page Updates * Markdown updates, colors coming later * Remove testing theme from FF1 * Color updates for markdown styles * Updates to generated pages, so many updates * Add styles to weighted-settings page * Minor adjustments to styles * Revert base theme to grass * Add more items to ArchipIDLE * Improve Archipidle item name * [WebHost] Update background images, waiting on jungle.png, added partyTime theme * [WebHost] Fix tab ordering on landing page, remove islands on screen scale, fix tutorial page width scaling * [WebHost] Final touches to WebHost * Improve get_world_theme function, add partyTime theme to ArchipIDLE WebWorld * Remove sending_visible from AutoWorld * AP Ocarina of Time Client (#352) * Core: update jinja (#351) * some typing and cleaning, mostly in Fill.py (#349) * some typing and cleaning, mostly in Fill.py * address missing Option types * resolve a few TODOs discussed in pull request * SM: Optimize a bit (#350) * SM: Optimize a bit * SM: init bosses only once * New World Order (#355) * Core: update jinja * SM: Optimize a bit * AutoWorld: import worlds in alphabetical order, to be predictable rather than arbitrary Co-authored-by: Hussein Farran <hmfarran@gmail.com> * Remove references to Z5Client in English OoT setup guide * Prevent markdown code blocks from overflowing their container Co-authored-by: espeon65536 <81029175+espeon65536@users.noreply.github.com> Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com> Co-authored-by: Doug Hoskisson <beauxq@users.noreply.github.com> Co-authored-by: Hussein Farran <hmfarran@gmail.com>
		
			
				
	
	
		
			56 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			56 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% extends 'pageWrapper.html' %}
 | |
| {% import "macros.html" as macros %}
 | |
| {% block head %}
 | |
|     <title>Multiworld {{ room.id|suuid }}</title>
 | |
|     <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename="styles/hostRoom.css") }}"/>
 | |
| {% endblock %}
 | |
| 
 | |
| {% block body %}
 | |
|     {% include 'header/grassHeader.html' %}
 | |
|     <div id="host-room">
 | |
|         {% if room.owner == session["_id"] %}
 | |
|             Room created from <a href="{{ url_for("view_seed", seed=room.seed.id) }}">Seed #{{ room.seed.id|suuid }}</a>
 | |
|             <br />
 | |
|         {% endif %}
 | |
|         {% if room.tracker %}
 | |
|             This room has a <a href="{{ url_for("getTracker", tracker=room.tracker) }}">Multiworld Tracker</a> enabled.
 | |
|             <br />
 | |
|         {% endif %}
 | |
|         This room will be closed after {{ room.timeout//60//60 }} hours of inactivity. Should you wish to continue
 | |
|         later,
 | |
|         you can simply refresh this page and the server will be started again.<br>
 | |
|         {% if room.last_port %}
 | |
|             You can connect to this room by using '/connect {{ config['PATCH_TARGET'] }}:{{ room.last_port }}'
 | |
|             in the <a href="{{ url_for("tutorial_landing")}}">client</a>.<br>{% endif %}
 | |
|         {{ macros.list_patches_room(room) }}
 | |
|         {% if room.owner == session["_id"] %}
 | |
|             <form method=post>
 | |
|                 <div class="form-group">
 | |
|                     <label for="cmd"></label>
 | |
|                     <input class="form-control" type="text" id="cmd" name="cmd"
 | |
|                            placeholder="Server Command. /help to list them, list gets appended to log.">
 | |
|                 </div>
 | |
|             </form>
 | |
|         <div id="logger"></div>
 | |
|         <script type="application/ecmascript">
 | |
|             let xmlhttp = new XMLHttpRequest();
 | |
|             let url = '{{ url_for('display_log', room = room.id) }}';
 | |
| 
 | |
|             xmlhttp.onreadystatechange = function () {
 | |
|                 if (this.readyState === 4 && this.status === 200) {
 | |
|                     document.getElementById("logger").innerText = this.responseText;
 | |
|                 }
 | |
|             };
 | |
| 
 | |
|             function request_new() {
 | |
|                 xmlhttp.open("GET", url, true);
 | |
|                 xmlhttp.send();
 | |
|             }
 | |
| 
 | |
|             window.setTimeout(request_new, 1000);
 | |
|             window.setInterval(request_new, 10000);
 | |
|         </script>
 | |
|         {% endif %}
 | |
|     </div>
 | |
| {% endblock %}
 |