-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpatch-viewer.html
More file actions
40 lines (40 loc) · 1.19 KB
/
patch-viewer.html
File metadata and controls
40 lines (40 loc) · 1.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Patch Viewer</title>
<link rel="stylesheet" href="patch-viewer.css">
</head>
<body>
<div id="viewer-container">
<h2>Patch Diff Viewer</h2>
<div id="patch-meta"></div>
<pre id="patch-content">Loading...</pre>
<div id="viewer-actions">
<button id="download-patch">Download Patch</button>
<button id="toggle-format">Toggle Format</button>
<button id="review-code">Review Code</button>
</div>
<div id="review-results" class="hidden">
<h3>Code Review</h3>
<div id="review-loading" class="hidden">Analyzing code... <span class="spinner"></span></div>
<div id="review-content">
<div id="review-summary"></div>
<div class="review-section">
<h4>Suggestions</h4>
<ul id="review-suggestions"></ul>
</div>
<div class="review-section">
<h4>Security Issues</h4>
<ul id="review-security"></ul>
</div>
<div class="review-section">
<h4>Best Practices</h4>
<ul id="review-practices"></ul>
</div>
</div>
</div>
</div>
<script src="patch-viewer.js"></script>
</body>
</html>