todo
This commit is contained in:
@@ -83,8 +83,7 @@ func (s *Server) htmlAttachments(w http.ResponseWriter, urlPath string) {
|
||||
dir := path.Dir(urlPath)
|
||||
f := "." + path.Base(urlPath) + ".attachments"
|
||||
_, files, _ := s.Notes.Dir(path.Join(dir, f))
|
||||
//<!-- TODO READONELY -->
|
||||
//style="min-width: 2em; text-align: center; padding: 0; margin-top: 0; margin-bottom: 0;"/>
|
||||
// TODO: direct DL via link
|
||||
form := fmt.Sprintf(`
|
||||
<form enctype="multipart/form-data" action="/attach/%s" method="post">
|
||||
<input type="file" name="file" required/>
|
||||
|
||||
Reference in New Issue
Block a user