Cleanup debug views

This commit is contained in:
Gabe Kangas 2020-11-11 19:48:12 -08:00
parent 7316d512c6
commit 2fe1277cfa
4 changed files with 1 additions and 54 deletions

View file

@ -102,18 +102,6 @@ const series = [
<Chart dataCollections={series} color="#FF7700" unit="%" />
</div>
</div>
<p>cpu:[], disk: [], memory: []; value = %age.</p>
<p>the times should be the same for each, though milliseconds differ</p>
<div
style={{
border: "1px solid blue",
height: "300px",
width: "100%",
overflow: "auto",
}}
>
{JSON.stringify(hardwareStatus)}
</div>
</div>
);
}

View file

@ -12,7 +12,7 @@ function Storage({ config }) {
return (
<h3>
Local storage is being used. Enable external S3 storage if you want
to use it.
to use it. TODO: Make this message somewhat more informative. Point to documentation or something.
</h3>
);
}
@ -74,20 +74,7 @@ export default function ServerConfig() {
return (
<div>
<h2>Server Config</h2>
<p>
Display this data all pretty, most things will be editable in the
future, not now.
</p>
<div
style={{
border: "1px solid pink",
width: "100%",
overflow: "auto",
}}
>
<Storage config={config} />
</div>
</div>
);
}

View file

@ -149,24 +149,9 @@ export default function ServerConfig() {
return (
<div>
<h2>Server Config</h2>
<p>
Display this data all pretty, most things will be editable in the
future, not now.
</p>
<div
style={{
border: "1px solid pink",
width: "100%",
overflow: "auto",
}}
>
<InstanceDetails config={config} />
<SocialHandles config={config} />
<PageContent config={config} />
{JSON.stringify(config)}
</div>
</div>
);
}

View file

@ -109,21 +109,8 @@ export default function VideoConfig() {
return (
<div>
<h2>Server Config</h2>
<p>
Display this data all pretty, most things will be editable in the
future, not now.
</p>
<div
style={{
border: "1px solid pink",
width: "100%",
overflow: "auto",
}}
>
<VideoVariants config={config} />
</div>
</div>
);
}