-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgh-index.html
36 lines (32 loc) · 1.21 KB
/
gh-index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="style.css" rel="stylesheet" type="text/css" media="all">
<title>github link shortener</title>
<script src="scripts/gh_index.js"></script>
</head>
<body>
<h1>github link shortener</h1>
<form onsubmit="redirectToUrl(event)">
<label for="username">username (required):</label><br>
<input type="text" id="username" required><br><br>
<label for="repo">repo (optional):</label><br>
<input type="text" id="repo"><br><br>
<label for="page">page (optional):</label><br>
<select id="page">
<option value=""> </option>
<option value="issues">issues</option>
<option value="pulls">pull requests</option>
<option value="wiki">wiki</option>
<option value="projects">projects</option>
<option value="actions">actions</option>
</select><br><br>
<button type="submit">GO!!!</button>
<button type="button" onclick="generateAndCopyLink()">copy to clipboard</button>
</form>
<p id="generatedUrl"></p>
</body>
</html>
<!--- hi --->