Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frontend styles #104

Merged
merged 1 commit into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -911,20 +911,20 @@ function __wbg_get_imports() {
const ret = wasm.memory;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1146 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 461, __wbg_adapter_36);
imports.wbg.__wbindgen_closure_wrapper1157 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 457, __wbg_adapter_36);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1410 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 557, __wbg_adapter_39);
imports.wbg.__wbindgen_closure_wrapper1421 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 553, __wbg_adapter_39);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1424 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 563, __wbg_adapter_42);
imports.wbg.__wbindgen_closure_wrapper1435 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 559, __wbg_adapter_42);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1592 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 655, __wbg_adapter_45);
imports.wbg.__wbindgen_closure_wrapper1603 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 651, __wbg_adapter_45);
return addHeapObject(ret);
};

Expand Down Expand Up @@ -967,7 +967,7 @@ async function __wbg_init(input) {
if (wasm !== undefined) return wasm;

if (typeof input === 'undefined') {
input = new URL('frontend-d6e92d55b4e09ed6_bg.wasm', import.meta.url);
input = new URL('frontend-55769dbc205a49f5_bg.wasm', import.meta.url);
}
const imports = __wbg_get_imports();

Expand Down
Binary file not shown.
6 changes: 3 additions & 3 deletions frontend/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<title>Quality of Service Dashboard</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<script src="https://cdn.plot.ly/plotly-2.14.0.min.js"></script>
<script type="module">import init from '/frontend-d6e92d55b4e09ed6.js';init('/frontend-d6e92d55b4e09ed6_bg.wasm');</script>
<script type="module">import init from '/frontend-55769dbc205a49f5.js';init('/frontend-55769dbc205a49f5_bg.wasm');</script>

<link rel="preload" href="/frontend-d6e92d55b4e09ed6_bg.wasm" as="fetch" type="application/wasm" crossorigin="">
<link rel="modulepreload" href="/frontend-d6e92d55b4e09ed6.js"></head>
<link rel="preload" href="/frontend-55769dbc205a49f5_bg.wasm" as="fetch" type="application/wasm" crossorigin="">
<link rel="modulepreload" href="/frontend-55769dbc205a49f5.js"></head>

<body>

Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub fn table(props: &Props) -> Html {
})
.collect::<Html>();
html! {
<>
<table class={classes!("table","is-striped","is-bordered", "has-background-danger-light")}>
<thead>
<tr>
<th>{"Deployment"}</th>
Expand All @@ -36,6 +36,6 @@ pub fn table(props: &Props) -> Html {
<tbody>
{subgraphs}
</tbody>
</>
</table>
}
}
4 changes: 2 additions & 2 deletions subgraph-radio/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ fn main() {
);

let js_path = workspace_root
.join("../frontend/dist/frontend-d6e92d55b4e09ed6.js")
.join("../frontend/dist/frontend-55769dbc205a49f5.js")
.canonicalize()
.unwrap();
println!("cargo:rustc-env=JS_PATH={}", js_path.display());

let wasm_path = workspace_root
.join("../frontend/dist/frontend-d6e92d55b4e09ed6_bg.wasm")
.join("../frontend/dist/frontend-55769dbc205a49f5_bg.wasm")
.canonicalize()
.unwrap();
println!("cargo:rustc-env=WASM_PATH={}", wasm_path.display());
Expand Down
4 changes: 2 additions & 2 deletions subgraph-radio/src/operator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ pub async fn serve_frontend() {
.body(Bytes::from_static(INDEX))
});

let js = warp::path("frontend-d6e92d55b4e09ed6.js").map(|| {
let js = warp::path("frontend-55769dbc205a49f5.js").map(|| {
Response::builder()
.header("Content-Type", "application/javascript")
.body(Bytes::from_static(JS))
});

let wasm = warp::path("frontend-d6e92d55b4e09ed6_bg.wasm").map(|| {
let wasm = warp::path("frontend-55769dbc205a49f5_bg.wasm").map(|| {
Response::builder()
.header("Content-Type", "application/wasm")
.body(Bytes::from_static(WASM))
Expand Down
Loading