Use a CSS class to format sub sections

instead of specifying the style directly.
This commit is contained in:
Carsten Grohmann 2019-12-20 18:21:59 +01:00
parent 99257ddd79
commit 783ed0ad9e

View File

@ -38,6 +38,10 @@
/* empty just used to show elements in the default view */ /* empty just used to show elements in the default view */
} }
.table__sub-section--bold {
font-weight: bold;
}
a { a {
text-decoration: none; text-decoration: none;
} }
@ -278,11 +282,11 @@ function goBack() {
<th scope="row" colspan="3">Memory Usage Graphs</th> <th scope="row" colspan="3">Memory Usage Graphs</th>
</tr> </tr>
<tr> <tr>
<td style="font-weight: bold">RAM Summary</td> <td class="table__sub-section--bold">RAM Summary</td>
<td colspan="2"><div id="svg_ram"></div></td> <td colspan="2"><div id="svg_ram"></div></td>
</tr> </tr>
<tr> <tr>
<td style="font-weight: bold">Swap Summary</td> <td class="table__sub-section--bold">Swap Summary</td>
<td colspan="2"><div id="svg_swap"></div></td> <td colspan="2"><div id="svg_swap"></div></td>
</tr> </tr>
@ -290,7 +294,7 @@ function goBack() {
<!-- Page Usage --> <!-- Page Usage -->
<tr> <tr>
<td style="font-weight: bold">Memory Pages</td> <td class="table__sub-section--bold">Memory Pages</td>
<td></td> <td></td>
<td></td> <td></td>
</tr> </tr>
@ -336,7 +340,7 @@ function goBack() {
<!-- Memory Usage Details --> <!-- Memory Usage Details -->
<tr> <tr>
<td style="font-weight: bold">Memory Usage Details</td> <td class="table__sub-section--bold">Memory Usage Details</td>
<td></td> <td></td>
<td></td> <td></td>
</tr> </tr>
@ -481,7 +485,7 @@ function goBack() {
<!-- Swap Usage --> <!-- Swap Usage -->
<tr> <tr>
<td style="font-weight: bold">Swap Usage</td> <td class="table__sub-section--bold">Swap Usage</td>
<td></td> <td></td>
<td></td> <td></td>
</tr> </tr>