mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
add roadmap and stuff
This commit is contained in:
parent
4efb4f2a53
commit
be68ebb24f
@ -3,7 +3,14 @@
|
||||
[![community](https://img.shields.io/badge/community-forum-ff69b4.svg?style=flat-square)](https://forum.caddyserver.com)
|
||||
[![Documentation](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](http://godoc.org/github.com/hacdias/caddy-filemanager)
|
||||
|
||||
This is just a concept of syntax:
|
||||
## Roadmap
|
||||
|
||||
+ [ ] Rename files
|
||||
+ [ ] Delete files
|
||||
+ [ ] Show text files
|
||||
+ [ ] Show pictures
|
||||
+ [ ] Show videos
|
||||
+ [ ] Show music
|
||||
|
||||
```
|
||||
filemanager {
|
||||
|
@ -240,8 +240,9 @@ func (f FileManager) formatAsJSON(listing *Listing, bc *Config) (*bytes.Buffer,
|
||||
return buf, err
|
||||
}
|
||||
|
||||
func (f FileManager) formatAsHTML(listing *Listing, bc *Config) (*bytes.Buffer, error) {
|
||||
func (f FileManager) formatAsHTML(listing *Listing, fmc *Config) (*bytes.Buffer, error) {
|
||||
buf := new(bytes.Buffer)
|
||||
listing.StyleSheet = fmc.StyleSheet
|
||||
err := Template.Execute(buf, listing)
|
||||
return buf, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user