all working i think
This commit is contained in:
19
archive/js_site/index.php
Normal file
19
archive/js_site/index.php
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>API Status Button</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<button id="statusButton" onclick="handleButtonClick()">Loading...</button>
|
||||
</div>
|
||||
<?php
|
||||
$status = file_get_contents("http://172.17.0.1:5000/status");
|
||||
echo $status;
|
||||
?>
|
||||
<script src="app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user