Hello,
I would like to add several tab characters in my html panel of xml dashboard to make my section more readable. It looks as follows:
<h1>What are the components (panels) of this dashboard?</h1>
<ul>
<li>Currently Running Startup for host:      Running startup for the chosen host, refreshed each 2 min</li>
<li>Last Startup for host: Runtimes of the startup phases for the last startup of the chosen host</li>
<li>Average Startup Duration for host: Average runtimes of the startup phases for the host</li>
<li>Currently Running Startup Logs for host: Progress of the startup logs, refreshed each 2 min</li>
</ul>
But repeating the
 
four times does not work, I get the tab escape only one single time.
How would I do this?
Kind REgards,
Kamil
Hi
Try this also
<dashboard>
<row>
<html>
<style>
p.tab span {
display: inline-block;
min-width: 270px;
}
</style>
<h1>What are the components (panels) of this dashboard?</h1>
<p class="tab"><span>• Currently Running Startup for host:</span>Running startup for the chosen host, refreshed each 2 min</p>
<p class="tab"><span>• Last Startup for host:</span>Runtimes of the startup phases for the last startup of the chosen host</p>
<p class="tab"><span>• Average Startup Duration for host:</span>Average runtimes of the startup phases for the host</p>
<p class="tab"><span>• Currently Running Startup Logs for host:</span>Progress of the startup logs, refreshed each 2 min</p>
</html>
</row>
</dashboard>
Hi
Try this also
<dashboard>
<row>
<html>
<style>
p.tab span {
display: inline-block;
min-width: 270px;
}
</style>
<h1>What are the components (panels) of this dashboard?</h1>
<p class="tab"><span>• Currently Running Startup for host:</span>Running startup for the chosen host, refreshed each 2 min</p>
<p class="tab"><span>• Last Startup for host:</span>Runtimes of the startup phases for the last startup of the chosen host</p>
<p class="tab"><span>• Average Startup Duration for host:</span>Average runtimes of the startup phases for the host</p>
<p class="tab"><span>• Currently Running Startup Logs for host:</span>Progress of the startup logs, refreshed each 2 min</p>
</html>
</row>
</dashboard>
Thank you.
I like this solution, however I would have additional question:
The span looks fine, but what also changed is the line spacing, as if it would be double. This is btw same for the table solution.
Is there any way to keep the previous / single line spacing?
Hi
Try this
<dashboard>
<row>
<html>
<style>
p.tab span {
display: inline-block;
min-width: 270px;
}
p{
margin-bottom :0px;
}
</style>
<h1>What are the components (panels) of this dashboard?</h1>
<p class="tab"><span>• Currently Running Startup for host:</span>Running startup for the chosen host, refreshed each 2 min</p>
<p class="tab"><span>• Last Startup for host:</span>Runtimes of the startup phases for the last startup of the chosen host</p>
<p class="tab"><span>• Average Startup Duration for host:</span>Average runtimes of the startup phases for the host</p>
<p class="tab"><span>• Currently Running Startup Logs for host:</span>Progress of the startup logs, refreshed each 2 min</p>
</html>
</row>
</dashboard>
Hi @damucka,
Use table element. It'll be easy to format.
<html>
<h1>What are the components (panels) of this dashboard?</h1>
<style>
table {
style="width:100%"
}
th, td {
padding: 5px;
text-align: left;
}
</style>
<table>
<tr>
<td>Currently Running Startup for host:</td>
<td>Running startup for the chosen host, refreshed each 2 min</td>
</tr>
<tr>
<td>Last Startup for host:</td>
<td>Runtimes of the startup phases for the last startup of the chosen host</td>
</tr>
<tr>
<td>Average Startup Duration for host:</td>
<td>Average runtimes of the startup phases for the host</td>
</tr>
<tr>
<td>Currently Running Startup Logs for host:</td>
<td>Progress of the startup logs, refreshed each 2 min</td>
</tr>
</table>
</html>