Files

52 lines
2.6 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>XHChat 浏览器</title>
<link rel="stylesheet" href="/browser/style.css">
<script defer src="/browser/ui.js"></script>
</head>
<body>
<header>
<div class="tabs"><div id="tabs" aria-label="标签页"></div><button data-action="new" aria-label="新建标签页">+</button><span id="mode"></span><button data-action="bookmark">添加书签</button><button data-action="library">书签与历史</button><button id="show-downloads">下载</button><button id="show-permissions">网站权限</button></div>
<form id="address-form">
<button type="button" data-action="back" aria-label="后退">←</button>
<button type="button" data-action="forward" aria-label="前进">→</button>
<button type="button" data-action="reload" aria-label="刷新">↻</button>
<input id="address" aria-label="网址或搜索关键词" placeholder="输入网址或搜索关键词" autocomplete="off" maxlength="4096">
<button>打开</button>
<button type="button" data-action="copy" aria-label="复制网址">复制</button>
<button type="button" data-action="external" aria-label="系统浏览器打开">↗</button>
<button type="button" data-action="zoomOut" aria-label="缩小">−</button>
<button type="button" data-action="zoomIn" aria-label="放大">+</button>
<button type="button" data-action="fullscreen" aria-label="全屏">⛶</button>
<button type="button" data-action="private">隐私窗口</button>
<button type="button" data-action="clear">清除数据</button>
</form>
<div id="status" role="status"></div>
</header>
<main id="library" hidden>
<section><h1>书签</h1><ul id="bookmarks"></ul></section>
<section><h1>浏览历史</h1><ul id="history"></ul></section>
</main>
<section id="download-panel" hidden>
<h1>下载记录</h1>
<button data-action="clearDownloads">清除下载记录</button>
<ul id="download-list"></ul>
</section>
<section id="permission-panel" hidden>
<h1>网站权限</h1>
<p id="permission-origin"></p>
<fieldset id="site-grants">
<legend>允许当前网站使用</legend>
<label><input type="checkbox" value="camera">摄像头</label>
<label><input type="checkbox" value="microphone">麦克风</label>
<label><input type="checkbox" value="location">位置</label>
<label><input type="checkbox" value="notifications">通知</label>
<label><input type="checkbox" value="clipboard">剪贴板</label>
</fieldset>
</section>
</body>
</html>