diff --git a/src/http.rs b/src/http.rs index a8c509c..95f60b5 100644 --- a/src/http.rs +++ b/src/http.rs @@ -22,7 +22,7 @@ pub fn download_text(url: &str) -> Result { let mut client = build_client()? .get(url) .send() - .map_err(|x| format!("Failed to GET resource: {:?}", v))?; + .map_err(|x| format!("Failed to GET resource: {:?}", x))?; client .text() @@ -37,7 +37,7 @@ where let mut client = build_client()? .get(url) .send() - .map_err(|x| format!("Failed to GET resource: {:?}", v))?; + .map_err(|x| format!("Failed to GET resource: {:?}", x))?; let size = match client.headers().get(CONTENT_LENGTH) { Some(ref v) => v diff --git a/static/css/main.css b/static/css/main.css index 5ebd6d0..f4ffe26 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -37,3 +37,11 @@ pre { .has-padding { padding: 2rem; } + +.clickable-box { + cursor: pointer; +} + +.clickable-box label { + pointer-events: none; +} diff --git a/static/js/views.js b/static/js/views.js index 606e02f..0663737 100644 --- a/static/js/views.js +++ b/static/js/views.js @@ -102,7 +102,7 @@ const SelectPackages = {
-
+