Spaces:
Runtime error
Runtime error
Update index.html
Browse files- index.html +13 -12
index.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
<html lang="en">
|
3 |
<head>
|
4 |
<meta charset="UTF-8">
|
@@ -61,49 +61,50 @@ v<!DOCTYPE html>
|
|
61 |
<div class="card bg-gray-800 p-8 shadow-lg rounded-xl">
|
62 |
<div class="mb-4">
|
63 |
<label for="github-token" class="block text-gray-300 font-bold mb-2">GitHub Token</label>
|
64 |
-
<input placeholder="Enter your GitHub Personal Access Token" class="w-full bg-gray-700 text-white
|
65 |
</div>
|
66 |
<div class="mb-4">
|
67 |
<label for="repo-url" class="block text-gray-300 font-bold mb-2">Repository URL</label>
|
68 |
-
<input placeholder="Enter the full GitHub repository URL" class="w-full bg-gray-700 text-white
|
69 |
</div>
|
70 |
-
<button class="
|
71 |
</div>
|
72 |
|
73 |
<div class="card bg-gray-800 p-8 shadow-lg rounded-xl mt-4">
|
74 |
<div class="flex justify-between mb-4">
|
75 |
<div>
|
76 |
<label for="issue-dropdown" class="block text-gray-300 font-bold mb-2">Issue</label>
|
77 |
-
<select class="select
|
78 |
<option disabled selected>Select an Issue</option>
|
79 |
</select>
|
80 |
</div>
|
81 |
-
<button class="
|
82 |
</div>
|
83 |
<div id="issue-details-container" class="hidden">
|
|
|
84 |
<div class="mb-4">
|
85 |
<label for="resolution-textarea" class="block text-gray-300 font-bold mb-2">Resolution</label>
|
86 |
-
<textarea placeholder="Enter the resolution details" class="w-full bg-gray-700 text-white
|
87 |
</div>
|
88 |
<div class="mb-4">
|
89 |
<label for="forked-repo-url" class="block text-gray-300 font-bold mb-2">Forked Repository URL (Optional)</label>
|
90 |
-
<input placeholder="URL to your forked repository" class="w-full bg-gray-700 text-white
|
91 |
</div>
|
92 |
-
<button class="
|
93 |
</div>
|
94 |
</div>
|
95 |
|
96 |
<div class="card bg-gray-800 p-8 shadow-lg rounded-xl mt-4">
|
97 |
<label for="output-textarea" class="block text-gray-300 font-bold mb-2">Output</label>
|
98 |
-
<textarea class="w-full bg-gray-700 text-white
|
99 |
</div>
|
100 |
|
101 |
<div class="card bg-gray-800 p-8 shadow-lg rounded-xl mt-4">
|
102 |
<div class="mb-4">
|
103 |
<label for="url-textbox" class="block text-gray-300 font-bold mb-2">URL</label>
|
104 |
-
<input placeholder="Enter a URL to extract information" class="w-full bg-gray-700 text-white
|
105 |
</div>
|
106 |
-
<button class="
|
107 |
</div>
|
108 |
</div>
|
109 |
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
<head>
|
4 |
<meta charset="UTF-8">
|
|
|
61 |
<div class="card bg-gray-800 p-8 shadow-lg rounded-xl">
|
62 |
<div class="mb-4">
|
63 |
<label for="github-token" class="block text-gray-300 font-bold mb-2">GitHub Token</label>
|
64 |
+
<input placeholder="Enter your GitHub Personal Access Token" class="input w-full bg-gray-700 text-white" type="password" id="github-token">
|
65 |
</div>
|
66 |
<div class="mb-4">
|
67 |
<label for="repo-url" class="block text-gray-300 font-bold mb-2">Repository URL</label>
|
68 |
+
<input placeholder="Enter the full GitHub repository URL" class="input w-full bg-gray-700 text-white" type="text" id="repo-url">
|
69 |
</div>
|
70 |
+
<button class="btn btn-primary w-full" id="fetch-issues">Fetch Issues</button>
|
71 |
</div>
|
72 |
|
73 |
<div class="card bg-gray-800 p-8 shadow-lg rounded-xl mt-4">
|
74 |
<div class="flex justify-between mb-4">
|
75 |
<div>
|
76 |
<label for="issue-dropdown" class="block text-gray-300 font-bold mb-2">Issue</label>
|
77 |
+
<select class="select w-full max-w-xs bg-gray-700 text-white" id="issue-dropdown">
|
78 |
<option disabled selected>Select an Issue</option>
|
79 |
</select>
|
80 |
</div>
|
81 |
+
<button class="btn btn-primary" id="show-issue-details">Show Issue Details</button>
|
82 |
</div>
|
83 |
<div id="issue-details-container" class="hidden">
|
84 |
+
<input type="hidden" id="repo-url-hidden" name="repo_url">
|
85 |
<div class="mb-4">
|
86 |
<label for="resolution-textarea" class="block text-gray-300 font-bold mb-2">Resolution</label>
|
87 |
+
<textarea placeholder="Enter the resolution details" class="textarea w-full bg-gray-700 text-white h-32 resize-y" id="resolution-textarea"></textarea>
|
88 |
</div>
|
89 |
<div class="mb-4">
|
90 |
<label for="forked-repo-url" class="block text-gray-300 font-bold mb-2">Forked Repository URL (Optional)</label>
|
91 |
+
<input placeholder="URL to your forked repository" class="input w-full bg-gray-700 text-white" type="text" id="forked-repo-url">
|
92 |
</div>
|
93 |
+
<button class="btn btn-success w-full" id="resolve-issue">Resolve Issue</button>
|
94 |
</div>
|
95 |
</div>
|
96 |
|
97 |
<div class="card bg-gray-800 p-8 shadow-lg rounded-xl mt-4">
|
98 |
<label for="output-textarea" class="block text-gray-300 font-bold mb-2">Output</label>
|
99 |
+
<textarea class="textarea w-full bg-gray-700 text-white h-48 resize-y" readonly="" id="output-textarea"></textarea>
|
100 |
</div>
|
101 |
|
102 |
<div class="card bg-gray-800 p-8 shadow-lg rounded-xl mt-4">
|
103 |
<div class="mb-4">
|
104 |
<label for="url-textbox" class="block text-gray-300 font-bold mb-2">URL</label>
|
105 |
+
<input placeholder="Enter a URL to extract information" class="input w-full bg-gray-700 text-white" type="text" id="url-textbox">
|
106 |
</div>
|
107 |
+
<button class="btn btn-primary w-full" id="extract-info">Extract Info</button>
|
108 |
</div>
|
109 |
</div>
|
110 |
|