aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-07-05 08:17:25 +0200
committerMartin Fischer <martin@push-f.com>2021-07-05 08:20:18 +0200
commit61636a80ea8f2137595ae29beb5fa7616e74c58d (patch)
treec78d83499d74134b7481a684932d5a318a16e550 /src/main.rs
parentb38a8cdeb382120ac713917fea62bdb02745e8a3 (diff)
css: stop wrapping action links in div
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 7127922..8514b29 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -478,7 +478,6 @@ fn action_links<C: Controller>(
) -> String {
let mut out = String::new();
- out.push_str("<div class=actions>");
out.push_str("<a href=. title='list parent directory'>ls</a>");
out.push_str(&render_link("view", "view", active_action));
if controller.may_write_path(ctx, parts) {
@@ -490,7 +489,6 @@ fn action_links<C: Controller>(
out.push_str(&render_link("move", "mv", active_action));
out.push_str(&render_link("remove", "rm", active_action));
}
- out.push_str("</div>");
out
}