Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2708878
index.astro
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
777 B
Referenced Files
None
Subscribers
None
index.astro
View Options
---
import Base from '@/components/base.astro';
import Navbar from '@/components/navbar.astro';
import IndexPage from '@/components/react/index';
import { SITE_TITLE, SITE_DESCRIPTION } from '@/consts';
---
<!DOCTYPE html>
<html lang="en">
<head><Base title={SITE_TITLE + " - Process list"} description={SITE_DESCRIPTION} /></head>
<body><Navbar active={true} /><main class="p-8"><IndexPage client:only /></main></body>
</html>
<script>
import { $settings } from '@/store';
$settings.setKey('base', location.pathname);
fetch($settings.get().base + 'metrics', {
headers: { Authorization: 'token ' + $settings.get().token },
}).then(response => {
if (response.status !== 200) {
window.location.href = $settings.get().base + 'login';
}
});
</script>
File Metadata
Details
Attached
Mime Type
application/javascript
Expires
Mon, Feb 2, 1:39 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
492678
Default Alt Text
index.astro (777 B)
Attached To
Mode
rPMC Process Management Controller
Attached
Detach File
Event Timeline
Log In to Comment