mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-24 21:17:01 +01:00
logging changes: * Offering auth mechanisms -> debug * 404's aren't really warnings * double tombstone message, one goes to debug other changes: * CSP changes to allow the bootstrap images to load * more testing javascriptfile things, I R * it's nice to know where things are * putting non-rust web things in static/ instead of src/ * RequestCredentials::SameOrigin is the default, also adding a utility function to save dupe code. Wow this saved... kilobytes. * removing commented code, fixing up codespell config * clippyisms * wtf, gha * dee-gloo-ing some things * adding some ubuntu build test things * sigh rustwasm/wasm-pack/issues/1138 * more do_request things * packaging things * hilarious dev env setup script * updated script works, all the UI works, including the experimental UI for naughty crabs * deb package fixes * fixed some notes * setup experimental UI tweaks
15 lines
404 B
JavaScript
15 lines
404 B
JavaScript
// loads the module which loads the WASM. It's loaders all the way down.
|
|
import init, { run_app } from '/pkg/kanidmd_web_ui.js';
|
|
async function main() {
|
|
await init('/pkg/kanidmd_web_ui_bg.wasm');
|
|
run_app();
|
|
}
|
|
main()
|
|
|
|
// this is used in modals
|
|
export function modal_hide_by_id(m) {
|
|
var elem = document.getElementById(m);
|
|
var modal = bootstrap.Modal.getInstance(elem);
|
|
modal.hide();
|
|
};
|