haixunMaster/extension/haixun-threads-sync/options.html

56 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2026-06-21 12:50:31 +00:00
<!doctype html>
<html lang="zh-Hant">
<head>
<meta charset="UTF-8" />
<title>巡樓同步設定</title>
<style>
body {
font-family: system-ui, sans-serif;
max-width: 520px;
margin: 24px auto;
padding: 0 16px;
}
label {
display: block;
font-size: 13px;
font-weight: 600;
margin-bottom: 6px;
}
input {
width: 100%;
box-sizing: border-box;
padding: 8px 10px;
border: 1px solid #ccc;
border-radius: 8px;
}
button {
margin-top: 12px;
border: 0;
border-radius: 8px;
background: #111;
color: #fff;
padding: 8px 14px;
cursor: pointer;
}
p {
font-size: 12px;
color: #555;
line-height: 1.5;
}
#saved {
margin-top: 10px;
font-size: 12px;
color: #166534;
}
</style>
</head>
<body>
<h1>巡樓 server 網址</h1>
<p>填你的 Linux server 或本機開發網址,例如 <code>http://localhost:3000</code></p>
<label for="serverUrl">Server URL</label>
<input id="serverUrl" placeholder="http://localhost:3000" />
<button id="save">儲存</button>
<div id="saved"></div>
<script type="module" src="options.js"></script>
</body>
</html>