86 lines
3.4 KiB
HTML
86 lines
3.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>ZyBook Auto Solver</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<header>
|
|
<h1>🚀 ZyBook Auto Solver</h1>
|
|
<p>Automated ZyBook assignment completion tool</p>
|
|
</header>
|
|
|
|
<!-- Login Section -->
|
|
<div id="login-section" class="section">
|
|
<h2>Login to ZyBooks</h2>
|
|
<form id="login-form">
|
|
<div class="form-group">
|
|
<label for="email">Email:</label>
|
|
<input type="email" id="email" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="password">Password:</label>
|
|
<input type="password" id="password" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Login</button>
|
|
</form>
|
|
</div>
|
|
|
|
<!-- Books Section -->
|
|
<div id="books-section" class="section hidden">
|
|
<h2>Select Book</h2>
|
|
<div id="books-list" class="list-container"></div>
|
|
</div>
|
|
|
|
<!-- Chapters Section -->
|
|
<div id="chapters-section" class="section hidden">
|
|
<h2>Select Chapters</h2>
|
|
<div class="back-btn" onclick="showSection('books-section')">← Back to Books</div>
|
|
|
|
<div class="batch-controls">
|
|
<button class="btn btn-secondary" onclick="selectAllChapters(true)">Select All</button>
|
|
<button class="btn btn-secondary" onclick="selectAllChapters(false)">Deselect All</button>
|
|
<button class="btn btn-primary" onclick="executeSelectedChapters()">Execute Selected Chapters</button>
|
|
</div>
|
|
|
|
<div id="chapters-list" class="list-container"></div>
|
|
</div>
|
|
|
|
<!-- Sections Section -->
|
|
<div id="sections-section" class="section hidden">
|
|
<h2>Select Sections</h2>
|
|
<div class="back-btn" onclick="showSection('chapters-section')">← Back to Chapters</div>
|
|
|
|
<div class="batch-controls">
|
|
<button class="btn btn-secondary" onclick="selectAllSections(true)">Select All</button>
|
|
<button class="btn btn-secondary" onclick="selectAllSections(false)">Deselect All</button>
|
|
<button class="btn btn-primary" onclick="executeSelectedSections()">Execute Selected Sections</button>
|
|
</div>
|
|
|
|
<div id="sections-list" class="list-container"></div>
|
|
</div>
|
|
|
|
<!-- Progress Section -->
|
|
<div id="progress-section" class="section hidden">
|
|
<h2>Progress</h2>
|
|
<div class="progress-bar">
|
|
<div id="progress-fill" class="progress-fill"></div>
|
|
</div>
|
|
<div id="progress-text">Ready to start...</div>
|
|
<div id="results-log" class="results-log"></div>
|
|
<button class="btn btn-secondary" onclick="goHome()" style="margin-top: 20px;">Back to Home</button>
|
|
</div>
|
|
|
|
<!-- Loading Animation -->
|
|
<div id="loading" class="loading hidden">
|
|
<div class="spinner"></div>
|
|
<p>Processing...</p>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html> |