View file File name : history.html Content :<!DOCTYPE html> <html lang="ar" dir="rtl"> <head> <meta charset="UTF-8"> <title>سجل الكوميت</title> <link rel="stylesheet" href="style.css"> </head> <body> <div class="container"> <h1>عرض سجل الكوميت</h1> <form id="historyForm"> <div class="form-group"> <label for="repoUrl">رابط المستودع (GitHub Repository URL)</label> <input type="text" id="repoUrl" required placeholder="https://github.com/user/repo"> </div> <div class="form-group"> <label for="token">GitHub Token</label> <input type="password" id="token" required placeholder="أدخل التوكن هنا"> </div> <div class="form-group"> <label for="commitHash">الهاش الخاص بالكوميت</label> <input type="text" id="commitHash" required placeholder="a1b2c3d..."> </div> <button type="submit">عرض الرسالة</button> </form> <div id="loader" class="hidden"> <div class="spinner"></div> <p>جاري تحميل سجل الكوميت...</p> </div> <div id="output" class="hidden"> <h2>السجل</h2> <pre id="outputText"></pre> </div> </div> <script src="history.js"></script> </body> </html>