|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title>Git Branch Comparison</title> |
| 7 | + <link rel="stylesheet" href="styles.css"> |
| 8 | + <script src="https://d3js.org/d3.v7.min.js"></script> |
| 9 | +</head> |
| 10 | +<body> |
| 11 | + <header> |
| 12 | + <h1>Git Branch Comparison</h1> |
| 13 | + <p>Visualizing differences between main and release branches</p> |
| 14 | + </header> |
| 15 | + |
| 16 | + <main> |
| 17 | + <section class="date-selector"> |
| 18 | + <h2>Analysis Date</h2> |
| 19 | + <div class="date-control"> |
| 20 | + <input type="date" id="analysis-date" name="analysis-date"> |
| 21 | + <button id="update-date-button">Update Analysis</button> |
| 22 | + </div> |
| 23 | + <div class="date-info"> |
| 24 | + <p>Current analysis: <span id="current-date">Latest</span></p> |
| 25 | + <p class="date-help">Select a date to see branch status as of that date</p> |
| 26 | + </div> |
| 27 | + </section> |
| 28 | + |
| 29 | + <section class="overview"> |
| 30 | + <h2>Branch Overview</h2> |
| 31 | + <div class="branch-stats"> |
| 32 | + <div class="stat-card"> |
| 33 | + <h3>Main Branch</h3> |
| 34 | + <p>Total merged branches: <span id="main-count">0</span></p> |
| 35 | + </div> |
| 36 | + <div class="stat-card"> |
| 37 | + <h3>Release Branch</h3> |
| 38 | + <p>Total merged branches: <span id="release-count">0</span></p> |
| 39 | + </div> |
| 40 | + <div class="stat-card"> |
| 41 | + <h3>Common Branches</h3> |
| 42 | + <p>Branches in both: <span id="common-count">0</span></p> |
| 43 | + </div> |
| 44 | + </div> |
| 45 | + </section> |
| 46 | + |
| 47 | + <section class="visualization"> |
| 48 | + <h2>Branch Visualization</h2> |
| 49 | + <div id="venn-diagram"></div> |
| 50 | + </section> |
| 51 | + |
| 52 | + <section class="branch-details"> |
| 53 | + <h2>Branch Details</h2> |
| 54 | + |
| 55 | + <div class="branch-list"> |
| 56 | + <div class="branch-column"> |
| 57 | + <h3>Main Branch</h3> |
| 58 | + <ul id="main-branches"> |
| 59 | + <!-- Will be populated dynamically --> |
| 60 | + </ul> |
| 61 | + </div> |
| 62 | + |
| 63 | + <div class="branch-column"> |
| 64 | + <h3>Release Branch</h3> |
| 65 | + <ul id="release-branches"> |
| 66 | + <!-- Will be populated dynamically --> |
| 67 | + </ul> |
| 68 | + </div> |
| 69 | + </div> |
| 70 | + </section> |
| 71 | + |
| 72 | + <section class="unique-branches"> |
| 73 | + <h2>Unique Branches</h2> |
| 74 | + |
| 75 | + <div class="branch-list"> |
| 76 | + <div class="branch-column"> |
| 77 | + <h3>Only in Main</h3> |
| 78 | + <ul id="main-only"> |
| 79 | + <!-- Will be populated dynamically --> |
| 80 | + </ul> |
| 81 | + </div> |
| 82 | + |
| 83 | + <div class="branch-column"> |
| 84 | + <h3>Only in Release</h3> |
| 85 | + <ul id="release-only"> |
| 86 | + <!-- Will be populated dynamically --> |
| 87 | + </ul> |
| 88 | + </div> |
| 89 | + </div> |
| 90 | + </section> |
| 91 | + |
| 92 | + <section class="common-branches"> |
| 93 | + <h2>Common Branches</h2> |
| 94 | + <ul id="common-branches"> |
| 95 | + <!-- Will be populated dynamically --> |
| 96 | + </ul> |
| 97 | + </section> |
| 98 | + |
| 99 | + <section class="history-view" id="history-section"> |
| 100 | + <h2>Historical Analysis</h2> |
| 101 | + <div class="history-controls"> |
| 102 | + <button id="show-history-button">Show History</button> |
| 103 | + <div id="history-dates" class="history-dates"> |
| 104 | + <!-- Will be populated dynamically --> |
| 105 | + </div> |
| 106 | + </div> |
| 107 | + <div id="history-chart" class="history-chart"> |
| 108 | + <!-- Will be populated dynamically --> |
| 109 | + </div> |
| 110 | + </section> |
| 111 | + </main> |
| 112 | + |
| 113 | + <footer> |
| 114 | + <p>Created with ❤️ by Manus AI</p> |
| 115 | + <p class="update-info">Last updated: <span id="last-updated">Loading...</span></p> |
| 116 | + </footer> |
| 117 | + |
| 118 | + <script src="script.js"></script> |
| 119 | + <script src="timeline.js"></script> |
| 120 | +</body> |
| 121 | +</html> |
0 commit comments