-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathPopup.html
More file actions
74 lines (74 loc) · 1.95 KB
/
Popup.html
File metadata and controls
74 lines (74 loc) · 1.95 KB
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
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html>
<!--
This HTML file serves as the popup page for the Youtube Transcript Summarizer Chrome extension.
It includes a button that users can click to summarize the transcript of a YouTube video.
The file also contains styling to make the popup visually appealing.
-->
<head>
<title>Youtube Transcript Summarizer</title>
<style>
h1 {
text-align: center;
}
body {
width: max-content;
max-width: 800px;
}
button {
background-color: red;
color: white;
border-radius: 8px;
width: max-content;
height: max-content;
padding: 10px;
font-size: large;
margin: auto;
display: block;
border-color: coral;
}
button[disabled] {
background-color: lightcoral;
color: white;
border-radius: 8px;
width: max-content;
height: max-content;
padding: 10px;
font-size: large;
margin: auto;
display: block;
border-color: lightpink;
}
p {
font-size: medium;
}
</style>
</head>
<body>
<h1>
Youtube Transcript Summarizer
</h1>
<label
for="max_length">
Max Length:
</label>
<input
type="number"
id="max_length"
name="max_length"
value="150">
<br><br>
<button
id="summarize"
type="button">
Summarize
</button>
<br/>
<p
id="output">
</p>
<script
src="Popup.js">
</script>
</body>
</html>