Cleanup debug views
This commit is contained in:
@@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -109,20 +109,7 @@ 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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user