add ui mockup

This commit is contained in:
Ferdinand Schober
2024-09-25 02:00:48 +02:00
parent c480bb6ea6
commit f056f790c7
4 changed files with 75 additions and 2 deletions

View File

@@ -118,6 +118,11 @@ impl Window {
self.obj().request_capture();
}
#[template_callback]
fn handle_add_cert_fingerprint(&self, _button: &Button) {
log::info!("TODO: impl add certificate fingerprint");
}
pub fn set_port(&self, port: u16) {
self.port.set(port);
if port == DEFAULT_PORT {