Skip to content

Commit

Permalink
Remove web code from former design.
Browse files Browse the repository at this point in the history
Change button texts
  • Loading branch information
slackspace-io committed Apr 3, 2024
1 parent 918f984 commit df8517c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 160 deletions.
6 changes: 2 additions & 4 deletions src/site/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,10 @@ fn WorkloadCard(props: WorkloadCardProps) -> Element {
to_owned![data, props.workload];
async move {
if let Ok(_) = update_workload(data()).await {
println!("Updated");
}
}
},
class: "workload-update-single", "UpdateNow"},
class: "workload-update-single", "Refresh"},
div { class: "workload-namespace", "Namespace: {props.workload.namespace}" },
div { class: "workload-version", "Current Tag {props.workload.current_version}" },
div { class: "workload-image", "Image: {props.workload.image}" },
Expand All @@ -85,11 +84,10 @@ fn WorkloadCard(props: WorkloadCardProps) -> Element {
button { onclick: move |_| {
async move {
if let Ok(_) = upgrade_workload(data()).await {
println!("Upgraded");
}
}
},
class: "upgrade-button", "Click Me"}
class: "upgrade-button", "Upgrade"}
}
}
}
Expand Down
155 changes: 0 additions & 155 deletions src/web/exweb.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/web/mod.rs

This file was deleted.

0 comments on commit df8517c

Please sign in to comment.