-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoptions.html
64 lines (61 loc) · 2.6 KB
/
options.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Extension Options</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
/* Add your custom CSS styles here */
</style>
<link rel="stylesheet" href="styles/options.css">
</head>
<body>
<div id="appArea" class="appArea">
<h1>Extension Options</h1>
<form><div class="optionsForm">
<p>Customize the chart appearance and data:</p>
<label for="chartTitle">Chart Title:</label>
<input type="text" id="chartTitle" name="chartTitle">
<br>
<label for="showTitle">Show Title:</label>
<input type="checkbox" id="showTitle" name="showTitle" checked>
<br>
<label for="showAxisLabels">Show Axis Labels:</label>
<input type="checkbox" id="showAxisLabels" name="showAxisLabels" checked>
<br>
<label for="showValues">Show Values:</label>
<input type="checkbox" id="showValues" name="showValues" checked>
<br>
<label for="showTickmarks">Show Tickmarks:</label>
<input type="checkbox" id="showTickmarks" name="showTickmarks" checked>
<br>
<label for="chartType">Chart Type:</label>
<select id="chartType" name="chartType">
<option value="line">Line Chart</option>
<option value="bar">Bar Chart</option>
<option value="pie">Pie Chart</option>
</select>
<br>
<label for="chartColor">Chart Color:</label>
<input type="color" id="chartColor" name="chartColor">
<br>
<label for="timeMeasure">Time Measure:</label>
<select id="timeMeasure" name="timeMeasure">
<option value="month">Month</option>
<option value="quarter">Quarter</option>
<option value="year">Year</option>
</select>
<br>
<button type="submit" id="saveOptionsButton">Save</button>
<button type="reset" id="resetButton">Reset</button>
</form></div>
<div id="statusLog" class="optionsLog">
<textarea class="statusLog"></textarea>
</div>
</div>
<script src="scripts/options.js"></script>
<script>
document.getElementById('saveOptionsButton').addEventListener('click', save_options);
</script>
</body>
</html>