Skip to content

Commit

Permalink
Remove unused tools data
Browse files Browse the repository at this point in the history
  • Loading branch information
Xwilarg committed Dec 30, 2024
1 parent 3981426 commit 8289077
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
9 changes: 0 additions & 9 deletions web/templates/tools.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
<meta property="og:description" content="Setup tools for Euphonia"/>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script id="data" type="application/json">
{{ json | replace({'<': '&lt;' }) | raw }}
</script>

<script src="/js/tools.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"/>
Expand All @@ -29,11 +26,5 @@
</div>
</form>
</fieldset>
<fieldset class="box">
<legend class="label has-text-centered">Statistics</legend>
<div>
<h2 class="subtitle"></h2>
</div>
</fieldset>
</body>
</html>
5 changes: 1 addition & 4 deletions web/tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@
$loader = new FilesystemLoader(["templates"]);
$twig = new Environment($loader);

$rawInfo = file_get_contents("$basePath/info.json");
echo $twig->render("tools.html.twig", [
"json" => $rawInfo
]);
echo $twig->render("tools.html.twig", []);

0 comments on commit 8289077

Please sign in to comment.