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="%" /> <Chart dataCollections={series} color="#FF7700" unit="%" />
</div> </div>
</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> </div>
); );
} }

View File

@@ -12,7 +12,7 @@ function Storage({ config }) {
return ( return (
<h3> <h3>
Local storage is being used. Enable external S3 storage if you want 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> </h3>
); );
} }
@@ -74,20 +74,7 @@ export default function ServerConfig() {
return ( return (
<div> <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} /> <Storage config={config} />
</div> </div>
</div>
); );
} }

View File

@@ -149,24 +149,9 @@ export default function ServerConfig() {
return ( return (
<div> <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} /> <InstanceDetails config={config} />
<SocialHandles config={config} /> <SocialHandles config={config} />
<PageContent config={config} /> <PageContent config={config} />
{JSON.stringify(config)}
</div>
</div> </div>
); );
} }

View File

@@ -109,21 +109,8 @@ export default function VideoConfig() {
return ( return (
<div> <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} /> <VideoVariants config={config} />
</div> </div>
</div>
); );
} }