diff --git a/file-service/src/html.rs b/file-service/src/html.rs
index 1be10bc..ce58e15 100644
--- a/file-service/src/html.rs
+++ b/file-service/src/html.rs
@@ -137,11 +137,6 @@ impl Input {
self
}
- pub fn with_value(mut self, val: &str) -> Self {
- self.value = Some(val.to_owned());
- self
- }
-
pub fn with_attributes<'a>(
mut self,
values: impl IntoIterator- ,
@@ -156,31 +151,6 @@ impl Input {
}
}
-#[derive(Clone, Debug)]
-pub struct Label {
- target: String,
- text: String,
-}
-
-impl Label {
- pub fn new(target: &str, text: &str) -> Self {
- Self {
- target: target.to_owned(),
- text: text.to_owned(),
- }
- }
-}
-
-impl Html for Label {
- fn to_html_string(&self) -> String {
- format!(
- "",
- target = self.target,
- text = self.text
- )
- }
-}
-
#[derive(Clone, Debug)]
pub struct Button {
ty: Option,
diff --git a/file-service/src/pages.rs b/file-service/src/pages.rs
index 589f6b7..d6a2074 100644
--- a/file-service/src/pages.rs
+++ b/file-service/src/pages.rs
@@ -92,7 +92,7 @@ pub fn thumbnail(info: &FileInfo) -> Container {
format!("/{}", *info.id),
Container::default()
.with_attributes([("class", "thumbnail")])
- .with_image(&format!("{}/tn", *info.id), "test data")
+ .with_image(format!("{}/tn", *info.id), "test data")
.to_html_string(),
),
)