taildeck-plugin/main_view.html

34 lines
935 B
HTML

<html>
<head>
<link rel="stylesheet" href="/steam_resource/css/2.css">
<link rel="stylesheet" href="/steam_resource/css/39.css">
<link rel="stylesheet" href="/steam_resource/css/library.css">
<script src="/static/library.js"></script>
<script>
async function getUID() {
return call_plugin_method("whoami", {});
}
async function getInstallState() {
return call_plugin_method("install_state", {});
}
async function onReady() {
let status = document.getElementById("status");
let install_status = await getInstallState();
status.inner_text = install_status;
}
onReady();
</script>
</head>
<body onload="onReady()">
<h3>Status: <span id="status">loading</span></h3>
</body>
<script>
onReady();
</script>
</html>