mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/debug: show all data as json
This commit is contained in:
parent
15caad7e36
commit
c5fbff560b
1 changed files with 5 additions and 19 deletions
|
@ -17,33 +17,22 @@
|
||||||
<div id="advanced-page">
|
<div id="advanced-page">
|
||||||
<h3>device:</h3>
|
<h3>device:</h3>
|
||||||
<div class="message-container subtext">
|
<div class="message-container subtext">
|
||||||
is.iPad: {device.is.iPad}
|
{JSON.stringify(device, null, 2)}
|
||||||
is.iPhone: {device.is.iPhone}
|
|
||||||
is.iOS: {device.is.iOS}
|
|
||||||
is.android: {device.is.android}
|
|
||||||
is.mobile: {device.is.mobile}
|
|
||||||
prefers.language: {device.prefers.language}
|
|
||||||
prefers.reducedMotion: {device.prefers.reducedMotion}
|
|
||||||
prefers.reducedTransparency: {device.prefers.reducedTransparency}
|
|
||||||
userAgent: {device.userAgent}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3>app:</h3>
|
<h3>app:</h3>
|
||||||
<div class="message-container subtext">
|
<div class="message-container subtext">
|
||||||
is.installed: {app.is.installed}
|
{JSON.stringify(app, null, 2)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3>settings:</h3>
|
<h3>settings:</h3>
|
||||||
<div class="message-container subtext pre">
|
<div class="message-container subtext">
|
||||||
{JSON.stringify($storedSettings, null, 2)}
|
{JSON.stringify($storedSettings, null, 2)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3>version:</h3>
|
<h3>version:</h3>
|
||||||
<div class="message-container subtext">
|
<div class="message-container subtext">
|
||||||
version: {version.version}
|
{JSON.stringify(version, null, 2)}
|
||||||
commit: {version.commit.slice(0, 7)}
|
|
||||||
branch: {version.branch}
|
|
||||||
remote: {version.remote}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
@ -63,9 +52,6 @@
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
background: var(--button);
|
background: var(--button);
|
||||||
padding: var(--padding);
|
padding: var(--padding);
|
||||||
}
|
white-space: pre-wrap;
|
||||||
|
|
||||||
.pre {
|
|
||||||
white-space: pre;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue