]> BookStack Code Mirror - api-scripts/blob - chrome-extension-google-search-results/options.html
Added php-generate-tree script
[api-scripts] / chrome-extension-google-search-results / options.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4     <meta charset="UTF-8">
5     <meta http-equiv="X-UA-Compatible" content="IE=edge">
6     <meta name="viewport" content="width=device-width, initial-scale=1.0">
7     <title>Options</title>
8
9     <style>
10         form > div {
11             margin-bottom: 1rem;
12         }
13         form p {
14             margin: 0;
15         }
16         label {
17             display: block;
18             font-weight: bold;
19             margin-bottom: 0.2rem;
20         }
21     </style>
22 </head>
23 <body>
24
25     <!-- This is a very simplistic options page to capture BookStack instance API details -->
26
27     <form>
28
29         <div>
30             <label for="base-url">BookStack Base URL</label>
31             <input id="base-url" name="baseUrl" type="text">
32             <p>(No trailing slashes, Do not include '/api/' in URL, Must start with https:// or http://)</p>
33         </div>
34
35         <div>
36             <label for="token-id">API Token ID</label>
37             <input id="token-id" name="tokenId" type="text">
38         </div>
39
40         <div>
41             <label for="token-secret">API Token Secret</label>
42             <input id="token-secret" name="tokenSecret" type="text">
43         </div>
44
45         <button>Save</button>
46
47         <p id="message"></p>
48
49     </form>
50
51
52     <script src="options.js"></script>
53     
54 </body>
55 </html>