init f0ckm

This commit is contained in:
2026-04-25 19:51:52 +02:00
commit b646107eb7
241 changed files with 70364 additions and 0 deletions

31
views/rules.html Normal file
View File

@@ -0,0 +1,31 @@
@include(snippets/header)
<div class="pagewrapper">
<div id="main">
<div class="rules">
@if(rules_text)
<div class="dynamic-page-content" id="rules-dynamic-content"></div>
<textarea id="rules-raw-data" hidden>{!! rules_text !!}</textarea>
<script>
(function() {
var raw = document.getElementById('rules-raw-data');
var el = document.getElementById('rules-dynamic-content');
function render() {
if (raw && el && typeof marked !== 'undefined') {
el.innerHTML = marked.parse(raw.value || '', { gfm: true, breaks: true });
raw.remove();
}
}
if (typeof marked !== 'undefined') {
render();
} else {
document.addEventListener('DOMContentLoaded', render);
}
})();
</script>
@else
<h1>Rules</h1>
@endif
</div>
</div>
</div>
@include(snippets/footer)