mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 15:10:23 +00:00
WebClient: update edit and preview file extensions
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
3b2f709aeb
commit
f88ce014df
1 changed files with 1 additions and 2 deletions
|
@ -260,7 +260,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
"nut", "styl", "swift", "text", "ltx", "tex", "v", "sv", "svh", "tcl", "textile", "toml", "1", "2", "3", "4",
|
||||
"5", "6", "7", "8", "9", "ttcn", "ttcn3", "ttcnpp", "cfg", "ttl", "ts", "tsx", "webidl", "vb", "vbs",
|
||||
"vtl", "vhd", "vhdl", "vue", "xml", "xsl", "xsd", "svg", "xy", "xquery", "ys", "yaml", "yml", "z80",
|
||||
"mscgen", "mscin", "msc", "xu", "msgenny", "wat", "wast"];
|
||||
"mscgen", "mscin", "msc", "xu", "msgenny", "wat", "wast", "env"];
|
||||
const supportedEditFilenames = ["readme", "dockerfile", "pkgbuild"]
|
||||
//{{- end}}
|
||||
function keepAlive() {
|
||||
|
@ -687,7 +687,6 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
case "webp":
|
||||
case "bmp":
|
||||
case "svg":
|
||||
case "ico":
|
||||
let desc = escapeHTML(filename).replace(/"/g, '"');
|
||||
previewDiv = `<div class="ms-2" data-kt-filemanger-table="view_item">
|
||||
<a href="${row['url']}" data-gallery="gallery" data-glightbox="description: <span class="fs-5 fw-bold">${desc}</span>" class="btn btn-sm btn-icon btn-light btn-active-light-primary glightbox">
|
||||
|
|
Loading…
Reference in a new issue