taildeck-plugin/main_view.html

28 lines
870 B
HTML
Raw Normal View History

<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;
}
</script>
</head>
<body onload="onReady()">
<h3>Status: <span id="status">loading</span></h3>
</body>
</html>