2020-10-24 14:46:27 -04:00
|
|
|
{% extends 'pageWrapper.html' %}
|
2020-08-18 01:18:37 +02:00
|
|
|
{% import "macros.html" as macros %}
|
2025-04-08 23:46:46 -05:00
|
|
|
{% set show_footer = True %}
|
2020-08-18 01:18:37 +02:00
|
|
|
|
|
|
|
{% block head %}
|
2020-12-04 02:59:23 -05:00
|
|
|
<title>Generation in Progress</title>
|
2025-04-09 07:43:28 +02:00
|
|
|
<noscript>
|
|
|
|
<meta http-equiv="refresh" content="1">
|
|
|
|
</noscript>
|
2021-05-13 00:41:49 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename="styles/waitSeed.css") }}"/>
|
2020-08-18 01:18:37 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
Website Style Upgrade (#353)
* [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>
2022-03-28 20:12:17 -04:00
|
|
|
{% include 'header/oceanIslandHeader.html' %}
|
2020-12-03 01:55:06 -05:00
|
|
|
<div id="wait-seed-wrapper" class="grass-island">
|
2020-12-04 02:59:23 -05:00
|
|
|
<div id="wait-seed">
|
|
|
|
<h1>Generation in Progress</h1>
|
2020-08-18 01:18:37 +02:00
|
|
|
Waiting for game to generate, this page auto-refreshes to check.
|
|
|
|
</div>
|
|
|
|
</div>
|
2025-04-09 07:43:28 +02:00
|
|
|
<script>
|
|
|
|
const waitSeedDiv = document.getElementById("wait-seed");
|
|
|
|
async function checkStatus() {
|
|
|
|
try {
|
|
|
|
const response = await fetch("{{ url_for('api.wait_seed_api', seed=seed_id) }}");
|
|
|
|
if (response.status !== 202) {
|
|
|
|
// Seed is ready; reload page to load seed page.
|
|
|
|
location.reload();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
const data = await response.json();
|
|
|
|
waitSeedDiv.innerHTML = `
|
|
|
|
<h1>Generation in Progress</h1>
|
|
|
|
<p>${data.text}</p>
|
|
|
|
`;
|
|
|
|
|
|
|
|
setTimeout(checkStatus, 1000); // Continue polling.
|
|
|
|
} catch (error) {
|
|
|
|
waitSeedDiv.innerHTML = `
|
|
|
|
<h1>Progress Unknown</h1>
|
|
|
|
<p>${error.message}<br />(Last checked: ${new Date().toLocaleTimeString()})</p>
|
|
|
|
`;
|
|
|
|
|
|
|
|
setTimeout(checkStatus, 1000);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
setTimeout(checkStatus, 1000);
|
|
|
|
</script>
|
2020-08-18 01:18:37 +02:00
|
|
|
{% endblock %}
|