forked from Belupeti/scottgpt
sok dolog
This commit is contained in:
@@ -9,9 +9,11 @@
|
||||
</head>
|
||||
<body onload="javascript:init()">
|
||||
|
||||
<div class="main-flexbox">
|
||||
|
||||
<header class="navbar">
|
||||
<a href="https://sc0tt.org/" style="float: left" target="_blank">Sc0tt főoldal</a>
|
||||
<a href="#" style="float: left">About</a>
|
||||
<a href="/about" style="float: left">About</a>
|
||||
|
||||
<img src="resources/logo.png" alt=logo" style="float: right;">
|
||||
|
||||
@@ -36,6 +38,8 @@
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
let id;
|
||||
|
||||
@@ -122,7 +126,9 @@
|
||||
|
||||
async function fetch_data(route, recursive = true)
|
||||
{
|
||||
var url = '/api/' + route + '/' + id
|
||||
var url = '/api/' + route + '/' + id;
|
||||
|
||||
//if (route == "messages") url += '/u';
|
||||
|
||||
fetch(url)
|
||||
.then(response => {
|
||||
|
||||
Reference in New Issue
Block a user