-
Notifications
You must be signed in to change notification settings - Fork 10
/
popup.html
48 lines (46 loc) · 1.3 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
47
48
<!DOCTYPE html>
<html>
<head class="bg-dark rounded-5">
<title>ALX README Maker Extension</title>
<meta charset="UTF-8" />
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous"
/>
<style>
body {
width: 300px;
height: 175px;
background-color: #343a40;
}
#popup {
width: 100%;
display: none;
position: fixed;
right: 0px;
bottom: 14px;
padding: 10px 10px;
border-radius: 5px;
z-index: 1000;
}
</style>
</head>
<body class="text-white p-3">
<div class="rounded-3">
<h5 class="bold mb-4">ALX README Maker 💻</h5>
<p class="small">
Would you like to copy README.md file text or download it?
</p>
<div class="d-flex justify-content-between">
<button id="copyButton" class="btn btn-success px-4">Copy</button>
<button id="downloadButton" class="btn btn-primary rounded">
Download
</button>
</div>
</div>
<div id="popup" class="bg-danger text-white fs-6 text-center"></div>
<script src="background.js"></script>
</body>
</html>