rust-search-extension/extension/popup/index.html

78 lines
2.7 KiB
HTML
Raw Normal View History

2018-11-24 00:58:44 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
2019-11-01 07:19:08 +00:00
<link href="https://fonts.googleapis.com/css?family=Alfa+Slab+One&display=swap" rel="stylesheet">
2020-05-31 04:07:30 +00:00
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600&display=swap" rel="stylesheet">
2018-11-24 00:58:44 +00:00
<style>
* {
box-sizing: border-box;
2020-05-31 04:07:30 +00:00
font-family: "Fira Sans", sans-serif;
2018-11-24 00:58:44 +00:00
}
body {
scroll-behavior: smooth;
overflow-x: hidden;
2020-05-28 15:32:27 +00:00
width: 300px;
padding: 0;
margin: 0;
2018-11-24 00:58:44 +00:00
}
p {
margin: 0 auto;
}
2019-12-03 09:55:04 +00:00
a {
color: #787878;
padding: 0 5px;
}
2018-11-24 00:58:44 +00:00
</style>
2020-03-01 07:56:57 +00:00
<link rel="stylesheet" href="index.css">
2018-11-24 00:58:44 +00:00
</head>
<body>
2020-05-27 15:26:07 +00:00
<div class="toast"></div>
<div class="main">
2020-05-31 04:07:30 +00:00
<div style="text-align: center; margin-bottom: 3rem;">
2020-05-27 15:26:07 +00:00
<img class="logo" src="../icon.png" alt="rust-search-extension">
<h2 class="title">Rust Search Extension</h2>
<div>
2020-07-22 11:36:43 +00:00
<a href="https://doc.rust-lang.org/1.45.0/std/">
<img src="https://img.shields.io/badge/stable-1.45.0-yellow.svg" alt="stable-docs">
2020-05-27 15:26:07 +00:00
</a>
</div>
</div>
<div style="margin-top: 20px" class="flex-vertical">
<div>
Enable offline mode
<label class="toggle">
<input type="checkbox" id="offline-mode">
<span class="slider"></span>
</label>
</div>
<input type="text" class="offline-doc-path" placeholder="Input the local doc path">
<small class="offline-doc-message"></small>
</div>
<div style="margin-top: 10px">
2020-05-29 16:14:27 +00:00
<label>Crate registry</label>
2020-05-27 15:26:07 +00:00
<select name="crate-registry">
<option value="crates.io">crates.io</option>
<option value="lib.rs">lib.rs</option>
</select>
</div>
<div class="statistics-page">
<a href="../stats/index.html" target="_blank" class="stats-link">
2020-05-29 16:14:27 +00:00
<b id="stats-week-count">0</b> searches in the last week >
</a>
</div>
2020-05-27 15:26:07 +00:00
<div style="margin-top: 30px; font-size: 11px;text-align: center">
<a href="https://rust.extension.sh" target="_blank">Website</a>
<a href="https://rust.extension.sh/changelog/" target="_blank">Changelog</a>
2020-05-27 15:26:07 +00:00
<a href="https://github.com/huhu/rust-search-extension" target="_blank">Github</a>
</div>
2020-05-01 03:46:13 +00:00
</div>
2018-11-24 00:58:44 +00:00
</body>
2020-05-13 15:52:43 +00:00
<script src="../core/compat.js"></script>
2020-03-01 07:56:57 +00:00
<script src="../settings.js"></script>
2020-02-08 08:06:48 +00:00
<script src="toast.js"></script>
2020-03-01 07:56:57 +00:00
<script src="index.js"></script>
2018-11-24 00:58:44 +00:00
</html>