mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 12:49:37 +03:00
Cleanup debug views
This commit is contained in:
parent
7316d512c6
commit
2fe1277cfa
4 changed files with 1 additions and 54 deletions
|
@ -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>
|
||||
);
|
||||
}
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -109,20 +109,7 @@ 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>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue