Browse Source

unknown files now have icon

main
rra 5 years ago
parent
commit
bc6fa0bad8
  1. 8
      distribusi/page_template.py

8
distribusi/page_template.py

@ -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>

Loading…
Cancel
Save