// Copyright (C) 2019 Marius Schellenberger // This file is auto-generated by templates.sh // using the contents of the templates directory package server import ( "encoding/base64" "errors" "git.giftfish.de/ston1th/docstore/pkg/log" "html/template" ) const ( delete = `{{define "body"}}
You are about to delete
{{if eq .Data 1}}the directory{{end}}
{{if eq .Data 2}}the file{{end}}
{{.Path}}.
{{if eq .Data 1}}
This will also remove all files and directories below.
| Path | Type | Options |
|---|---|---|
| {{$item.Name}}/ | Directory | |
| {{$item.Name}} | File |
{{.Msg}}
{{.Data}}
Create new directory in {{.Path}}.
| File | Keyword |
|---|---|
{{$item.Path}}
{{if $item.HTML}}
{{$item.HTML}}
{{end}}
|
{{$item.Keyword}} |