Files
flatpak-repo/src/snapshots/flatpak_repo__index__test__render_html.snap
T

97 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
source: src/index.rs
expression: html
---
<!DOCTYPE html>
<html>
<head>
<style>
table {
border-collapse: collapse;
border: 2px solid rgb(140 140 140);
font-family: sans-serif;
font-size: 0.8rem;
letter-spacing: 1px;
}
caption {
caption-side: bottom;
padding: 10px;
font-weight: bold;
}
thead,
tfoot {
background-color: rgb(228 240 245);
}
th,
td {
border: 1px solid rgb(160 160 160);
padding: 8px 10px;
}
td:last-of-type {
text-align: center;
}
tbody > tr:nth-of-type(even) {
background-color: rgb(237 238 242);
}
tfoot th {
text-align: right;
}
tfoot td {
font-weight: bold;
}
</style>
</head>
<body>
<h1>Flatpak Repository</h1>
<table>
<caption>
Applications in repository
</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">App ID</th>
<th scope="col">Version</th>
<th scope="col">Branch</th>
<th scope="col">Runtime</th>
<th scope="col">Size (Installed)</th>
<th scope="col">Size (Download)</th>
<th scope="col">Arch</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Foobar</th>
<td>org.example.Foobar</td>
<td></td>
<td>master</td>
<td>org.freedesktop.Platform/x86_64/25.08</td>
<td>103.6 MB</td>
<td>43.0 MB</td>
<td>x86_64</td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row">Barfoo</th>
<td>com.example.Barfoo</td>
<td>1.2.3</td>
<td>master</td>
<td>org.freedesktop.Platform/aarch64/25.08</td>
<td>14.8 MB</td>
<td>6.2 MB</td>
<td>aarch64</td>
</tr>
</tbody>
</table>
</body>
</html>