-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
46 lines (44 loc) · 1.26 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<title>Timesheet Extension</title>
<style>
body {
min-width: 200px;
padding: 10px;
font-family: Arial, sans-serif;
}
button {
display: block;
width: 100%;
margin: 5px 0;
padding: 10px;
font-size: 14px;
}
#timesheetDisplay {
margin-top: 10px;
max-height: 300px;
overflow-y: auto;
border: 1px solid #ccc;
padding: 5px;
background-color: #f9f9f9;
/* Ensure the editable area has consistent styling */
white-space: pre-wrap;
}
/* Style the editable area when focused */
#timesheetDisplay:focus {
outline: 2px solid #66afe9;
outline-offset: -2px;
}
</style>
</head>
<body>
<button id="expand">Expand Timesheet</button>
<button id="extract">Extract Timesheet</button>
<button id="write">Write Timesheet</button>
<button id="reset">Reset Timesheet</button>
<!-- Editable container to display and edit the extracted timesheet -->
<div id="timesheetDisplay" contenteditable="true"></div>
<script src="popup.js"></script>
</body>
</html>