Template engine added

This commit is contained in:
2020-12-28 17:58:59 +01:00
parent d5675a1810
commit de843b47e5
8 changed files with 240 additions and 81 deletions
+24
View File
@@ -0,0 +1,24 @@
<div class="main-container">
<h1>osu! optimizer (PHP)</h1>
<h3>by Thayol</h3>
<div class="main-item">
<h2>Stats</h2>
<h3>
{{ MAIN_MAPSET_COUNT }} mapsets loaded.<br />
osu! folder: {{ MAIN_FOLDER_LOCATION }}<br />
Sum of individual file parse times: {{ MAIN_PARSE_TIME }}<br />
Last scan took {{ MAIN_SCAN_TIME }} seconds.<br />
</h3>
</div>
<div class="main-item">
<h2>Actions</h2>
<div class="options">{{ MAIN_OPTIONS }}</div>
</div>
<div class="main-item">
<h2>Browser</h2>
<div id="browser" class="browser">
<!-- todo JS -->
</div>
<script>{{ MAIN_BROWSER_SCRIPT }}</script>
</div>
</div>