feat: on-page Download PDF opens Letter-size printable Study Load; drop pdf-lib/background path
This commit is contained in:
+1
-27
@@ -16,12 +16,7 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<nav class="tabs">
|
||||
<button data-tab="login" class="active">Auto-Login</button>
|
||||
<button data-tab="studyload">Study Load</button>
|
||||
</nav>
|
||||
|
||||
<section id="tab-login" class="tab">
|
||||
<section class="tab">
|
||||
<h2>Profiles</h2>
|
||||
<ul id="profileList" class="profile-list"></ul>
|
||||
<button id="addProfile" class="btn">+ Add Profile</button>
|
||||
@@ -37,27 +32,6 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="tab-studyload" class="tab" hidden>
|
||||
<h2>Study Load PDF</h2>
|
||||
<button id="loadFromPortal" class="btn primary">Load from portal</button>
|
||||
<div id="studyLoadForm" class="form" hidden>
|
||||
<h3>Header</h3>
|
||||
<input id="hFullName" placeholder="Full name">
|
||||
<input id="hStudentId" placeholder="Student ID">
|
||||
<input id="hProgram" placeholder="Program">
|
||||
<input id="hYearLevel" placeholder="Year level">
|
||||
<input id="hSemester" placeholder="Semester">
|
||||
<input id="hDateEnrolled" placeholder="Date enrolled">
|
||||
<input id="hDateRange" placeholder="Date range (e.g. AUGUST - JANUARY)">
|
||||
<h3>Courses</h3>
|
||||
<div id="coursesEditor"></div>
|
||||
<button id="addCourse" class="btn">+ Add course</button>
|
||||
<input id="totalUnits" placeholder="Total units">
|
||||
<button id="generatePdf" class="btn primary">Generate PDF</button>
|
||||
</div>
|
||||
<div id="status" class="status"></div>
|
||||
</section>
|
||||
|
||||
<script src="popup.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user