80 lines
2.4 KiB
HTML
80 lines
2.4 KiB
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Internal Drop</title>
|
|
<link rel="stylesheet" href="/styles.css">
|
|
</head>
|
|
<body>
|
|
<main class="app-shell">
|
|
<section class="topbar">
|
|
<div class="brand-block">
|
|
<span class="product-kicker">LAN transfer desk</span>
|
|
<h1>Internal Drop</h1>
|
|
</div>
|
|
<div class="top-meta">
|
|
<div class="server-line">
|
|
<span>服务器</span>
|
|
<code id="serverAddress">检测中</code>
|
|
</div>
|
|
<div id="connectionState" class="state">连接中</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="identity-bar">
|
|
<div class="identity-code">
|
|
<span>用户码</span>
|
|
<strong id="userCode">------</strong>
|
|
</div>
|
|
<label class="nickname-field">
|
|
<span>昵称</span>
|
|
<input id="nickname" type="text" maxlength="32" autocomplete="off" aria-label="昵称">
|
|
</label>
|
|
<div class="identity-actions">
|
|
<button id="saveName" type="button">保存</button>
|
|
<button id="regenCode" type="button" class="secondary">换码</button>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="workspace">
|
|
<aside class="peer-panel">
|
|
<header>
|
|
<h2>在线成员</h2>
|
|
<span id="peerCount">0</span>
|
|
</header>
|
|
<div id="peerList" class="peer-list"></div>
|
|
</aside>
|
|
|
|
<section class="send-panel">
|
|
<div class="target-row">
|
|
<label for="targetSelect">发送给</label>
|
|
<select id="targetSelect"></select>
|
|
</div>
|
|
|
|
<div class="composer">
|
|
<label for="textInput">文字</label>
|
|
<textarea id="textInput" rows="3" placeholder="输入要发送的文字"></textarea>
|
|
<button id="sendText" type="button">发送文字</button>
|
|
</div>
|
|
|
|
<div class="file-box">
|
|
<input id="fileInput" type="file">
|
|
<button id="sendFile" type="button">发送文件</button>
|
|
<progress id="uploadProgress" max="100" value="0"></progress>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="activity-panel">
|
|
<header>
|
|
<h2>接收与状态</h2>
|
|
<button id="clearLog" type="button">清空</button>
|
|
</header>
|
|
<div id="activityList" class="activity-list"></div>
|
|
</section>
|
|
</section>
|
|
</main>
|
|
<script src="/app.js"></script>
|
|
</body>
|
|
</html>
|