Vendor stylesheets & scripts

This commit is contained in:
Sainan 2025-10-27 09:07:16 +01:00
parent d2bf421ef8
commit ee0181c92b
10 changed files with 33 additions and 18 deletions

1
.gitattributes vendored
View File

@ -1 +1,2 @@
* text=auto eof=lf
_assets/ linguist-vendored

7
_assets/bootstrap.bundle.min.js vendored Normal file

File diff suppressed because one or more lines are too long

6
_assets/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

1
_assets/censorcanary.min.js vendored Normal file
View File

@ -0,0 +1 @@
const censorcanary={checkIpfs:async()=>{let e="";try{e=await(await fetch("https://ipfs.io/ipfs/QmWfVY9y3xjsixTgbd9AorQxH7VtMpzfx2HaWtsoUYecaX")).text()}catch(e){console.warn("censorship canary request failed",e)}return"hello"==e},message:{en:'Sorry for the interruption, but we failed to verify that you have access to a free & open internet. We strongly recommend using a mitigation like <a href="https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/" target="_blank" rel="noreferrer">DNS over HTTPS</a> or even a VPN.',de:'Entschuldigung für die Unterbrechung, aber wir konnten nicht bestätigen, dass Sie Zugang zu einem freien und offenen Internet haben. Wir empfehlen dringend, eine Maßnahme wie <a href="https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/" target="_blank" rel="noreferrer">DNS über HTTPS</a> oder sogar ein VPN zu verwenden.',es:'Perdón por la interrupción, pero no pudimos verificar que tengas acceso a un internet libre y abierto. Te recomendamos encarecidamente usar una solución como <a href="https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/" target="_blank" rel="noreferrer">DNS sobre HTTPS</a> o incluso una VPN.',fr:'Désolé pour linterruption, mais nous navons pas pu vérifier que vous avez accès à un Internet libre et ouvert. Nous vous recommandons vivement dutiliser une solution comme <a href="https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/" target="_blank" rel="noreferrer">DNS over HTTPS</a> ou même un VPN.',hi:'असुविधा के लिए क्षमा करें, लेकिन हम यह सत्यापित नहीं कर पाए कि आपके पास मुक्त और खुले इंटरनेट की पहुँच है। हम दृढ़ता से सलाह देते हैं कि आप <a href="https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/" target="_blank" rel="noreferrer">DNS over HTTPS</a> या फिर VPN का उपयोग करें।',it:'Scusa per linterruzione, ma non siamo riusciti a verificare che tu abbia accesso a un Internet libero e aperto. Ti consigliamo vivamente di utilizzare una soluzione come <a href="https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/" target="_blank" rel="noreferrer">DNS over HTTPS</a> o persino una VPN.',ja:'ご迷惑をおかけして申し訳ありませんが、自由でオープンなインターネットにアクセスできるか確認できませんでした。推奨として <a href="https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/" target="_blank" rel="noreferrer">DNS over HTTPS</a> や VPN の利用を強くお勧めします。',pt:'Desculpe a interrupção, mas não conseguimos verificar se você tem acesso a uma internet livre e aberta. Recomendamos fortemente usar uma solução como <a href="https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/" target="_blank" rel="noreferrer">DNS sobre HTTPS</a> ou até mesmo uma VPN.',ru:'Извините за неудобство, но мы не смогли подтвердить, что у вас есть доступ к свободному и открытому интернету. Мы настоятельно рекомендуем использовать такие меры, как <a href="https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/" target="_blank" rel="noreferrer">DNS через HTTPS</a> или даже VPN.',zh:'抱歉打扰,但我们无法验证您是否可以访问自由开放的互联网。我们强烈建议使用 <a href="https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/" target="_blank" rel="noreferrer">基于 HTTPS 的 DNS</a> 或者 VPN。'},showBanner:e=>{const r=()=>{if(!document.querySelector(".censorcanary-alert")){const r=document.createElement("div");r.className="alert alert-warning censorcanary-alert",r.setAttribute("role","alert"),r.innerHTML=censorcanary.message[e??(navigator.language||"en").split("-")[0].toLowerCase()]??censorcanary.message.en,(document.querySelector("body > .container")||document.querySelector("body > .container-fluid")||document.body).prepend(r)}};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",r):r()}};localStorage.getItem("censorcanary")||censorcanary.checkIpfs().then(e=>{e?localStorage.setItem("censorcanary","1"):censorcanary.showBanner()});

View File

@ -4,7 +4,7 @@
<title>Asset Replacements Guide | OpenWF</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="_assets/bootstrap.min.css">
</head>
<body data-bs-theme="dark">
<?php require "_components/navbar.php"; ?>
@ -23,7 +23,7 @@
<li>Finally, to get the assets into the game, you can copy the <code>Content Replacements</code> folder from warframe-cache-tools into the OpenWF folder of your client. The Bootstrapper will automatically patch the game to use your modified content, and if you ever wanna stop using it, you can simply remove the client's <code>Content Replacements</code> folder.</li>
</ol>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="https://censorcanary.org/censorcanary.js" defer></script>
<script src="_assets/bootstrap.bundle.min.js"></script>
<script src="_assets/censorcanary.min.js" defer></script>
</body>
</html>

View File

@ -4,7 +4,7 @@
<title>Contributing to OpenWF</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="_assets/bootstrap.min.css">
</head>
<body data-bs-theme="dark">
<?php require "_components/navbar.php"; ?>
@ -25,7 +25,7 @@
</ul>
<p>Note that IPNS names are resolved to their CID when pinning, so an hourly cronjob is recommended.</p>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="https://censorcanary.org/censorcanary.js" defer></script>
<script src="_assets/bootstrap.bundle.min.js"></script>
<script src="_assets/censorcanary.min.js" defer></script>
</body>
</html>

View File

@ -4,7 +4,7 @@
<title>OpenWF Setup Guide</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="_assets/bootstrap.min.css">
</head>
<body data-bs-theme="dark">
<?php require "_components/navbar.php"; ?>
@ -48,7 +48,7 @@
<li>InspIRCd a well-known IRC server implementation used by DE themselves (albeit with unknown modifications). A pre-configured Windows copy of it can be downloaded <a href="https://openwf.io/supplementals/IRC.zip" download>here</a>.</li>
</ul>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="https://censorcanary.org/censorcanary.js" defer></script>
<script src="_assets/bootstrap.bundle.min.js"></script>
<script src="_assets/censorcanary.min.js" defer></script>
</body>
</html>

View File

@ -4,7 +4,7 @@
<title>Importing Guide | OpenWF</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="_assets/bootstrap.min.css">
</head>
<body data-bs-theme="dark">
<?php require "_components/navbar.php"; ?>
@ -19,7 +19,7 @@
<p>Now that you have your inventory, open the SpaceNinjaServer WebUI and select the Import tab. You can simply paste the entire thing in the textbox and press the Submit button.</p>
<p>If you have a getShip response, you can import it the same way. Otherwise, you are advised to use Unlock All Ship Features in the Cheats tab to avoid being locked out of most things.</p>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="https://censorcanary.org/censorcanary.js" defer></script>
<script src="_assets/bootstrap.bundle.min.js"></script>
<script src="_assets/censorcanary.min.js" defer></script>
</body>
</html>

View File

@ -4,7 +4,7 @@
<title>About OpenWF</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="_assets/bootstrap.min.css">
</head>
<body data-bs-theme="dark">
<?php require "_components/navbar.php"; ?>
@ -18,7 +18,7 @@
<h3 class="mt-3">Preservation</h3>
<p>OpenWF works entirely offline, so the versions supported by OpenWF will always be available to play and revisit, and it is indeed already possible to <a href="old-versions<?=$ext;?>">revisit old versions</a>.</p>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="https://censorcanary.org/censorcanary.js" defer></script>
<script src="_assets/bootstrap.bundle.min.js"></script>
<script src="_assets/censorcanary.min.js" defer></script>
</body>
</html>

View File

@ -4,7 +4,7 @@
<title>Old Versions | OpenWF</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="_assets/bootstrap.min.css">
</head>
<body data-bs-theme="dark">
<?php require "_components/navbar.php"; ?>
@ -722,8 +722,8 @@
</ol>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="https://censorcanary.org/censorcanary.js" defer></script>
<script src="_assets/bootstrap.bundle.min.js"></script>
<script src="_assets/censorcanary.min.js" defer></script>
<script>
window.onhashchange = function()
{