unknown files now have icon

This commit is contained in:
rra 2019-09-12 18:46:33 +02:00
parent fc19d536df
commit bc6fa0bad8

View File

@ -2,14 +2,16 @@ html_head = """
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated with distribusi https://git.vvvvvvaria.org/rra/distribusi --> <!-- Generated with distribusi https://git.vvvvvvaria.org/varia/distribusi -->
<meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta http-equiv="content-type" content="text/html; charset=utf-8">
<style> <style>
.image{max-width: 100%%;} .image{max-width: 100%%;}
.pdf {width:100%%;} .pdf object{width:100%%;}
.dir::before{content:"📁 ";font-size:18px;}
.filename{display:block;}
.unkown-file::before{content:"📄 ";font-size:18px;}
div{width: 640px;float:left;padding:1em;} div{width: 640px;float:left;padding:1em;}
video {width:640px;} video {width:640px;}
.dir::before{content:"📁";font-size:18px;}
%s %s
</style> </style>
</head> </head>