CSS fixes

main
Yasen Pramatarov 2024-10-03 09:43:37 +03:00
parent 4f0601cff7
commit 0791a4c2c9
6 changed files with 14 additions and 15 deletions

View File

@ -30,5 +30,5 @@
<?php } ?> <?php } ?>
<span id="cacheInfo<?= htmlspecialchars($agent['id']) ?>" style="margin: 5px 0;"></span> <span id="cacheInfo<?= htmlspecialchars($agent['id']) ?>" style="margin: 5px 0;"></span>
</p> </p>
<pre class="agent_result" id="result<?= htmlspecialchars($agent['id']) ?>">click a button to fetch data from the agent.</pre> <pre class="results" id="result<?= htmlspecialchars($agent['id']) ?>">click a button to fetch data from the agent.</pre>
<?php } ?> <?php } ?>

View File

@ -12,7 +12,7 @@
<span class="m-3"><a class="btn btn-light" href="<?= $app_root ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=config&item=configjs&mode=raw">view raw file contents</a></span> <span class="m-3"><a class="btn btn-light" href="<?= $app_root ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=config&item=configjs&mode=raw">view raw file contents</a></span>
<?php } ?> <?php } ?>
</p> </p>
<pre style="text-align: left;"> <pre class="results">
<?php <?php
echo htmlspecialchars($platformConfigjs); echo htmlspecialchars($platformConfigjs);
?> ?>

View File

@ -12,7 +12,7 @@
<span class="m-3"><a class="btn btn-light" href="<?= $app_root ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=config&item=interfaceconfigjs&mode=raw">view raw file contents</a></span> <span class="m-3"><a class="btn btn-light" href="<?= $app_root ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=config&item=interfaceconfigjs&mode=raw">view raw file contents</a></span>
<?php } ?> <?php } ?>
</p> </p>
<pre style="text-align: left;"> <pre class="results">
<?php <?php
echo htmlspecialchars($platformInterfaceConfigjs); echo htmlspecialchars($platformInterfaceConfigjs);
?> ?>

View File

@ -25,7 +25,6 @@
</script> </script>
<?php if ($page === 'agents') { ?> <?php if ($page === 'agents') { ?>
<script src="<?= $app_root ?>static/agents.js"></script> <script src="<?= $app_root ?>static/agents.js"></script>
<link rel="stylesheet" type="text/css" href="<?= $app_root ?>static/css/agents.css">
<?php } ?> <?php } ?>
<title>Jilo Web</title> <title>Jilo Web</title>
<link rel="icon" type="image/x-icon" href="<?= $app_root ?>static/favicon.ico"> <link rel="icon" type="image/x-icon" href="<?= $app_root ?>static/favicon.ico">

View File

@ -1,11 +0,0 @@
.agent_result {
text-align: left;
font-family: monospace;
white-space: pre-wrap;
background-color: #f4f4f4;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
overflow-x: auto;
}

View File

@ -172,3 +172,14 @@
.th-time { .th-time {
width: 200px; width: 200px;
} }
.results {
text-align: left;
font-family: monospace;
white-space: pre-wrap;
background-color: #f4f4f4;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
overflow-x: auto;
}