mirror of
https://github.com/9001/copyparty.git
synced 2025-08-19 09:52:21 -06:00
117 lines
3.1 KiB
HTML
117 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>⇆🎉 {{ title }}</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=0.8">
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/.cpr/browser.css{{ ts }}">
|
|
{%- if can_upload %}
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/.cpr/upload.css{{ ts }}">
|
|
{%- endif %}
|
|
</head>
|
|
|
|
<body>
|
|
<div id="ops">
|
|
<a href="#" data-dest="">---</a>
|
|
{%- if can_read %}
|
|
<a href="#" data-dest="search">🔎</a>
|
|
{%- endif %}
|
|
{%- if can_upload %}
|
|
<a href="#" data-dest="up2k">🚀</a>
|
|
<a href="#" data-dest="bup">🎈</a>
|
|
<a href="#" data-dest="mkdir">📂</a>
|
|
<a href="#" data-dest="new_md">📝</a>
|
|
<a href="#" data-dest="msg">📟</a>
|
|
{%- endif %}
|
|
</div>
|
|
|
|
{%- if can_read %}
|
|
<div id="op_search" class="opview">
|
|
<table id="srch_form"></table>
|
|
<div id="srch_q"></div>
|
|
</div>
|
|
{%- endif %}
|
|
|
|
{%- if can_upload %}
|
|
{%- include 'upload.html' %}
|
|
{%- endif %}
|
|
|
|
<h1 id="path">
|
|
<a href="#" id="entree">🌲</a>
|
|
{%- for n in vpnodes %}
|
|
<a href="/{{ n[0] }}">{{ n[1] }}</a>
|
|
{%- endfor %}
|
|
</h1>
|
|
|
|
{%- if can_read %}
|
|
{%- if prologue %}
|
|
<div id="pro" class="logue">{{ prologue }}</div>
|
|
{%- endif %}
|
|
|
|
<table id="treetab">
|
|
<tr>
|
|
<td id="tree">
|
|
<a href="#" id="detree">🍞...</a>
|
|
<ul id="treeul">
|
|
<div class="dumb_loader_thing">🌲</div>
|
|
</ul>
|
|
</td>
|
|
<td id="treefiles"></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table id="files">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>File Name</th>
|
|
<th sort="int">File Size</th>
|
|
<th>T</th>
|
|
<th>Date</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
{%- for f in files %}
|
|
<tr><td>{{ f[0] }}</td><td><a href="{{ f[1] }}">{{ f[2] }}</a></td><td>{{ f[3] }}</td><td>{{ f[4] }}</td><td>{{ f[5] }}</td></tr>
|
|
{%- endfor %}
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
{%- if epilogue %}
|
|
<div id="epi" class="logue">{{ epilogue }}</div>
|
|
{%- endif %}
|
|
{%- endif %}
|
|
|
|
<h2><a href="?h">control-panel</a></h2>
|
|
|
|
{%- if srv_info %}
|
|
<div id="srv_info"><span>{{ srv_info }}</span></div>
|
|
{%- endif %}
|
|
|
|
<div id="widget">
|
|
<div id="wtoggle">♫</div>
|
|
<div id="widgeti">
|
|
<div id="pctl"><a href="#" id="bprev">⏮</a><a href="#" id="bplay">▶</a><a href="#" id="bnext">⏭</a></div>
|
|
<canvas id="pvol" width="288" height="38"></canvas>
|
|
<canvas id="barpos"></canvas>
|
|
<canvas id="barbuf"></canvas>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="/.cpr/util.js{{ ts }}"></script>
|
|
|
|
{%- if can_read %}
|
|
<script src="/.cpr/browser.js{{ ts }}"></script>
|
|
{%- endif %}
|
|
|
|
{%- if can_upload %}
|
|
<script src="/.cpr/up2k.js{{ ts }}"></script>
|
|
{%- endif %}
|
|
</body>
|
|
|
|
</html>
|