mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-19 13:01:12 +02:00
add options page and preserve code setting.
This commit is contained in:
40
src/options.html
Normal file
40
src/options.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head><title>Settings - Web Maker</title>
|
||||
<style>
|
||||
body {
|
||||
font-size: 16px;
|
||||
}
|
||||
.btn {
|
||||
background: #ff8c00;
|
||||
color: white;
|
||||
text-shadow: none;
|
||||
border-radius: 3px;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
padding: 5px 8px;
|
||||
cursor: pointer;
|
||||
margin: 5px 0;
|
||||
font-size: inherit;
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
margin: 10px 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Settings</h3>
|
||||
<form name="optionsForm">
|
||||
<label>
|
||||
<input type="checkbox" name="preserveLastCode">
|
||||
Preserve last written code
|
||||
</label>
|
||||
|
||||
<div id="js-status" class="status"></div>
|
||||
<button id="js-save-btn" class="btn">Save</button>
|
||||
</form>
|
||||
|
||||
<script src="options.js"></script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user