mirror of
https://github.com/fergalmoran/Chrome2Kindle.git
synced 2026-01-07 01:15:03 +00:00
120 lines
4.2 KiB
HTML
120 lines
4.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Chrome 2 Kindle Options</title>
|
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
|
|
<script type="text/javascript" src="options.js"></script>
|
|
<style type="text/css">
|
|
body {
|
|
font-family: arial, sans-serif;
|
|
font-size: smaller;
|
|
}
|
|
|
|
td {
|
|
padding: 5px;
|
|
}
|
|
|
|
.secondary td {
|
|
padding: 0px 5px;
|
|
}
|
|
|
|
.header {
|
|
font-size: 13px;
|
|
font-weight: bold;
|
|
border-bottom: solid 1px #ccc;
|
|
padding-bottom: 1px;
|
|
}
|
|
|
|
.label {
|
|
text-align: right;
|
|
}
|
|
|
|
.buttons {
|
|
text-align: right;
|
|
padding-top: 1em;
|
|
}
|
|
#validEmail {
|
|
margin-top: 4px;
|
|
margin-left: 9px;
|
|
position: absolute;
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body onload="restore_options()">
|
|
<table>
|
|
<thead>
|
|
<tr> <td class="header" colspan="3">Chrome 2 Kindle Options</td> </tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td> Kindle Account (you@kindle.com):</td>
|
|
<td><input type="text" id="kindle_account" /></td>
|
|
<td><span id="validEmail"></span></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">Server Type:</td>
|
|
<td>
|
|
<select id="server_type">
|
|
<option value="live">Live</option>
|
|
<option value="test">Test</option>
|
|
</select>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<input type="checkbox" id="create_bookmark" value="create_bookmark">Create bookmark?</input>
|
|
</td>
|
|
<td>
|
|
<select id="bookmark_location">
|
|
|
|
</select>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"> Output Size:</td>
|
|
<td>
|
|
<select id="output_size">
|
|
<option value="a0">a0</option>
|
|
<option value="a1">a1</option>
|
|
<option value="a2">a2</option>
|
|
<option value="a3">a3</option>
|
|
<option value="a4" selected="true">a4</option>
|
|
<option value="a5">a5</option>
|
|
<option value="a6">a6</option>
|
|
<option value="b0">b0</option>
|
|
<option value="b1">b1</option>
|
|
<option value="b2">b2</option>
|
|
<option value="b3">b3</option>
|
|
<option value="b4">b4</option>
|
|
<option value="b5">b5</option>
|
|
<option value="b6">b6</option>
|
|
<option value="letter">letter</option>
|
|
<option value="legal">Llegal</option>
|
|
</select>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="checkbox" id="use_oauth">Store preferences?</td>
|
|
<td><button onclick="authorise()">Authorise</button></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3">No reason for this at the moment, but will be adding features which will need this.</td>
|
|
</tr>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<td> <button onclick="save_options()">Save</button></td>
|
|
<td></td>
|
|
<td><div id="status"> </div></td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</body>
|
|
</html>
|