example.config.json: legal contact, imprint, privacy URLs swapped to indifferentketchup.com placeholders; abuse address changed to samkintop@gmail.com (matches the codex package's author entry); frontend.name placeholder changed from "mclo.gs" to "iblogs.example". UI templates: tagline replaced with "Built for game-server logs" (header.php), meta description rewritten to drop Minecraft & Hytale framing (start.php), api-docs.php's example "Minecraft version" labels updated to "Engine version" with a 42.16.3 sample value matching the codex PZ EngineVersionInformation output shape. CSS comment "Minecraft Format Colors" tagged as legacy mclogs syntax palette (the underlying color classes survive untouched — they may still be useful for highlighting log content). Footer attribution credit linking back to upstream mclogs and Aternos is intentionally preserved per the manual-fork rules. Frontend palette (#5cb85c green accent, etc.) and short-domain choice remain placeholder values; revisit when iblogs branding is finalised.
38 lines
2.1 KiB
PHP
38 lines
2.1 KiB
PHP
<?php
|
|
use IndifferentKetchup\Iblogs\Config\Config;
|
|
use IndifferentKetchup\Iblogs\Filter\Filter;
|
|
use IndifferentKetchup\Iblogs\Frontend\Assets\AssetLoader;
|
|
use IndifferentKetchup\Iblogs\Frontend\Assets\AssetType;
|
|
?><!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<?php include __DIR__ . '/parts/head.php'; ?>
|
|
<title><?= htmlspecialchars(Config::getInstance()->getName()); ?> - Paste, share & analyse your logs</title>
|
|
<meta name="description" content="Easily paste your game-server logs to share and analyse them." />
|
|
</head>
|
|
<body data-name="<?=htmlspecialchars(Config::getInstance()->getName()); ?>">
|
|
<?php include __DIR__ . '/parts/header.php'; ?>
|
|
<main>
|
|
<div class="paste-area" id="dropzone">
|
|
<div class="paste-placeholder">
|
|
<i class="fa-solid fa-cloud-arrow-up"></i>
|
|
<p>Paste or drop your log here</p>
|
|
<div class="paste-hints">
|
|
<button type="button" class="btn btn-transparent" title="Paste log" id="paste-clipboard"><i class="fa-solid fa-paste"></i> Paste</button>
|
|
<button type="button" class="btn btn-transparent" title="Browse on files" id="paste-select-file"><i class="fa-solid fa-folder-open"></i> Browse</button>
|
|
<span><i class="fa-solid fa-file-arrow-up" title="Drop file"></i> Drop</span>
|
|
</div>
|
|
</div>
|
|
<textarea aria-label="Paste or drop your log here" spellcheck="false" data-enable-grammarly="false" id="paste-text"></textarea>
|
|
<button type="button" class="btn-save btn paste-save" title="Save log" disabled><i class="fa-solid fa-save"></i> Save</button>
|
|
<div class="paste-error" id="paste-error"></div>
|
|
</div>
|
|
</main>
|
|
<?php include __DIR__ . '/parts/footer.php'; ?>
|
|
<script>
|
|
const FILTERS = <?= json_encode(Filter::getAll()); ?>;
|
|
</script>
|
|
<?= AssetLoader::getInstance()->getHTML(AssetType::JS, "js/start.js"); ?>
|
|
</body>
|
|
</html>
|