Start WKD management front-end

This commit is contained in:
David Duque 2021-02-07 12:33:10 +00:00
parent 1ad7ad855a
commit 378ebcf9a4
No known key found for this signature in database
GPG key ID: 2F327738A3C0AE3A

View file

@ -90,6 +90,21 @@
<th>Key</th>
</tr>
</thead>
<tbody>
<tbody id="wkd_tbody">
</tbody>
</table>
<script>
function generate_wkd_dropdowns(wkd_info) {
console.log("TODO")
}
function show_wkd() {
$("#wkd_tbody").html("<tr><td class='text-muted'>Loading...</td></tr>")
api(
"/system/pgp/wkd",
"GET",
{},
generate_wkd_dropdowns
)
}
</script>