Add playlists, Fix download ranges

This commit is contained in:
2022-10-27 21:45:44 +02:00
parent 438a3413af
commit 0107ce9a45
8 changed files with 85 additions and 13 deletions

View File

@@ -4,16 +4,25 @@
<meta charset="utf-8" />
<meta name="mobile-web-app-capable" content="yes" />
<link rel="stylesheet" href="/style/sakura.css">
<link rel="stylesheet" href="https://maxst.icons8.com/vue-static/landings/line-awesome/line-awesome/1.3.0/css/line-awesome.min.css">
<title>{info.filename}</title>
</head>
<body>
<h1>{info.filename}</h1>
{#if !info.filename is '/'}
<a href="{info.directUrl}..">back</a>
<span style="float:right;">
<a href="{info.viewUrl}">viewer</a>
</span>
{#if info.filename ne '/'}
<a href="{info.directUrl}.."><i class="las la-chevron-left"></i></a>
{#else}
&nbsp;
{/if}
<span style="float:right;">
{#if info.playlist}
<a href="{info.playlist.publicApiUrl}"><i class="las la-file-video"></i></a>
{/if}
<a href="{info.viewUrl}"><i class="las la-book-reader"></i></a>
{#if username and user_url}
| <a href="{user_url}" target="_blank">{username}<i class="las la-user-cog"></i></a>
{/if}
</span>
<hr />
<table style="table-layout: fixed; text-align: center">
{#each info.content}