forked from varia/distribusi
Compare commits
2 Commits
eec6016737
...
4654ced5e8
Author | SHA1 | Date |
---|---|---|
crunk | 4654ced5e8 | 5 days ago |
crunk | e93a3e3b28 | 5 days ago |
3 changed files with 35 additions and 64 deletions
@ -1,25 +1,16 @@ |
|||||
html_head = """ |
html_head = '''\ |
||||
<!DOCTYPE html> |
<!DOCTYPE html> |
||||
<html lang="en"> |
<html lang="en"> |
||||
<head> |
<head> |
||||
<!-- Generated with distribusi https://git.vvvvvvaria.org/crunk/distribusi --> |
<!-- Generated with distribusi https://git.vvvvvvaria.org/crunk/distribusi --> |
||||
<meta name="generator" content="distribusi" /> |
<meta name="generator" content="distribusi" /> |
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8"> |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> |
||||
<style> |
<link rel="stylesheet" href="{cssfile}" crossorigin="anonymous"> |
||||
.image{max-width: 100%%;} |
|
||||
.pdf object{width:640px;height: 640px;} |
|
||||
.dir::before{content:"📁 ";font-size:18px;} |
|
||||
.filename{display:block;font-family:mono;} |
|
||||
.unkown-file::before{content:"📄 ";font-size:18px;} |
|
||||
div{max-width: 640px;display:inline-block;vertical-align:top;margin:1em;padding:1em;} |
|
||||
video {width:640px;max-height:640px;} |
|
||||
%s |
|
||||
</style> |
|
||||
</head> |
</head> |
||||
<body> |
<body> |
||||
""" |
''' |
||||
|
|
||||
html_footer = """ |
html_footer ='''\ |
||||
</body> |
</body> |
||||
</html> |
</html> |
||||
""" |
''' |
||||
|
Loading…
Reference in new issue