Compare commits
14 Commits
ci/add-che
...
212c1ef2b0
Author | SHA1 | Date | |
---|---|---|---|
212c1ef2b0 | |||
66179ba858 | |||
63f82eab07
|
|||
f00adf9276
|
|||
216b4cee80
|
|||
cdc02a601d
|
|||
8bcb479b57
|
|||
b9d5c25137 | |||
e9fb20ad6e
|
|||
d98222cd4a | |||
c6effdfa15
|
|||
f17986fa16 | |||
cc65e7d5ff
|
|||
1f42eaa37c |
14
Cargo.toml
14
Cargo.toml
@@ -31,7 +31,7 @@ validator = { version = "0.17.0", features = ["derive"] }
|
||||
# Http client
|
||||
reqwest = "0.11.24"
|
||||
# Password strength estimation
|
||||
zxcvbn = "2.2.2"
|
||||
zxcvbn = "3.0.0"
|
||||
# Image processing/conversion
|
||||
image = "0.25.1"
|
||||
# Get the application version
|
||||
@@ -78,6 +78,18 @@ matrix-sdk = { git = "https://github.com/matrix-org/matrix-rust-sdk.git", rev =
|
||||
[build-dependencies]
|
||||
regex = "1.10.3"
|
||||
|
||||
[profile]
|
||||
|
||||
[profile.wasm-dev]
|
||||
inherits = "dev"
|
||||
opt-level = 1
|
||||
|
||||
[profile.server-dev]
|
||||
inherits = "dev"
|
||||
|
||||
[profile.android-dev]
|
||||
inherits = "dev"
|
||||
|
||||
[package.metadata.turf]
|
||||
minify = true
|
||||
|
||||
|
@@ -9,7 +9,7 @@ WORKDIR /usr/src/beau-gosse-du-92
|
||||
|
||||
# git is required by the git-version crate
|
||||
RUN apt update \
|
||||
&& apt install -y --no-install-recommends git \
|
||||
&& apt install -y --no-install-recommends git git-lfs \
|
||||
&& apt clean
|
||||
|
||||
COPY . .
|
||||
|
@@ -220,25 +220,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="module" async>
|
||||
import init from "{base_path}/wasm/beau-gosse-du-92.js";
|
||||
|
||||
// Ensure that everything needed to render preloader has been downloaded
|
||||
// before fetching the wasm bundle.
|
||||
window.onload=function() {
|
||||
init("{base_path}/wasm/beau-gosse-du-92_bg.wasm").then(
|
||||
wasm => {
|
||||
const preloader = document.getElementById("preloader");
|
||||
if (preloader !== undefined) {
|
||||
preloader.style.display = 'none';
|
||||
}
|
||||
|
||||
if (wasm.__wbindgen_start == undefined) {
|
||||
wasm.main();
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -214,6 +214,11 @@ input {
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
// Hide the preloader as soon as the application is loaded and ready to be rendered
|
||||
#preloader {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#main {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
Reference in New Issue
Block a user