-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
47 lines (40 loc) · 2.02 KB
/
index.html
File metadata and controls
47 lines (40 loc) · 2.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitHub Label Copier</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1>GitHub Label Copier</h1>
<p>Copy issue labels between repositories and organizations.</p>
<div class="form-group">
<label for="token">GitHub Personal Access Token</label>
<input type="password" id="token" placeholder="Requires 'repo' scope" autocomplete="off">
<p class="help-text">Your token is used only in your browser and never stored. <a href="https://github.com/settings/tokens/new?scopes=repo&description=Label%20Copier" target="_blank" rel="noopener">Create a token here</a>.</p>
</div>
<div class="form-group">
<label for="source-repo">Source (Repository or Organization)</label>
<input type="text" id="source-repo" placeholder="e.g., facebook/react | my-org">
<p class="help-text">Use <code>owner/repo</code> for a repository, or just <code>org-name</code> for organization-level labels.</p>
</div>
<div class="form-group">
<label for="target-repo">Target (Repository or Organization)</label>
<input type="text" id="target-repo" placeholder="e.g., YourUsername/my-project | my-org">
<p class="help-text">Use <code>owner/repo</code> for a repository, or just <code>org-name</code> for organization-level labels.</p>
</div>
<div class="form-group-checkbox">
<input type="checkbox" id="delete-labels">
<label for="delete-labels">Delete existing labels in the target that are not in the source.</label>
</div>
<button id="copy-button">Copy Labels</button>
<div id="status-container">
<h3>Log</h3>
<pre id="log-output">Awaiting instructions...</pre>
</div>
</div>
<script src="script.js"></script>
</body>
</html>