fix teacher and parent pages text font
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 48s
Tests / PHPUnit (push) Successful in 1m18s

This commit is contained in:
root
2026-08-26 21:43:37 -04:00
parent 9676261d65
commit 7b86cf5218
25 changed files with 66 additions and 34 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<div class="container-xxl py-5">
<div class="container">
<div class="text-center mx-auto mb-4" style="max-width:700px;">
<h4 class="text-dark" style="font-family:Arial,sans-serif;">TimeOff Request</h4>
<h4 class="text-dark">TimeOff Request</h4>
<div class="text-muted">Logged in as: <strong><?= esc($teacher_name ?? 'Teacher') ?></strong></div>
<?php if (!empty($semester) && !empty($schoolYear)): ?>
<div class="small text-muted">Term: <?= esc($semester) ?> — <?= esc($schoolYear) ?></div>
+1 -1
View File
@@ -4,7 +4,7 @@
<div class="container">
<div class="text-center mx-auto mb-5 wow fadeInUp" data-wow-delay="0.1s" style="max-width: 600px;">
<br>
<h2 class="text-dark" style="font-family: Arial, sans-serif;">Final Exam Scores</h2>
<h2 class="text-dark">Final Exam Scores</h2>
</div>
<?php if (session()->get('status')): ?>
+1 -1
View File
@@ -4,7 +4,7 @@
<div class="container">
<div class="text-center mx-auto mb-5 wow fadeInUp" data-wow-delay="0.1s" style="max-width: 600px;">
<br>
<h2 class="text-dark" style="font-family: Arial, sans-serif;">Add Midterm Exam Scores</h2>
<h2 class="text-dark">Add Midterm Exam Scores</h2>
</div>
<?php if (session()->get('status')): ?>
+1 -1
View File
@@ -4,7 +4,7 @@
<div class="container">
<div class="text-center mx-auto mb-5 wow fadeInUp" data-wow-delay="0.1s" style="max-width: 600px;">
<br>
<h2 class="text-dark" style="font-family: Arial, sans-serif;">Add Participation Scores</h2>
<h2 class="text-dark">Add Participation Scores</h2>
</div>
<?php if (session()->get('status')): ?>
+1 -1
View File
@@ -3,7 +3,7 @@
<div class="container-fluid py-5">
<div class="container-fluid">
<div class="text-center mx-auto mb-5 mt-4" style="max-width: 600px;">
<h2 class="text-dark" style="font-family: Arial, sans-serif;">Update Project Scores</h2>
<h2 class="text-dark">Update Project Scores</h2>
</div>
<?php if (session()->get('status')): ?>
+1 -1
View File
@@ -4,7 +4,7 @@
<div class="container-fluid">
<div class="text-center mx-auto mb-5 wow fadeInUp" data-wow-delay="0.1s" style="max-width: 600px;">
<br>
<h2 class="text-dark" style="font-family: Arial, sans-serif;">Update Quiz Scores</h2>
<h2 class="text-dark">Update Quiz Scores</h2>
</div>
<?php if (session()->get('status')): ?>
+4 -5
View File
@@ -29,7 +29,6 @@
th, td {
vertical-align: middle !important;
font-family: Arial, sans-serif;
}
.table thead th {
@@ -53,18 +52,18 @@
<div class="fullwidth-wrap px-3 px-md-4 mb-5 class-block <?= ((int)$sectionId === $activeClassId) ? '' : 'd-none'; ?>"
data-class-section-id="<?= (int)$sectionId; ?>">
<div class="class-header text-center mx-auto mb-4">
<h4 class="text-dark" style="font-family: Arial, sans-serif;">Students Class List</h4>
<h4 class="text-dark">Students Class List</h4>
<?php if (!empty($mains)): ?>
<h5 class="text-dark" style="font-family: Arial, sans-serif; margin-bottom: 5px;">
<h5 class="text-dark" style="margin-bottom: 5px;">
Teachers: <?= esc(implode(', ', $mains)); ?>
</h5>
<?php endif; ?>
<?php if (!empty($tas)): ?>
<h5 class="text-dark" style="font-family: Arial, sans-serif; margin-bottom: 5px;">
<h5 class="text-dark" style="margin-bottom: 5px;">
Teacher Assistants: <?= esc(implode(', ', $tas)); ?>
</h5>
<?php endif; ?>
<h5 class="text-dark" style="font-family: Arial, sans-serif; margin-bottom: 5px;">
<h5 class="text-dark" style="margin-bottom: 5px;">
Grade-Section: <?= esc($class['class_section_name']); ?>
</h5>
</div>
@@ -4,7 +4,7 @@
<div class="w-100 py-3 px-3">
<div class="d-flex flex-wrap justify-content-between align-items-center mb-3">
<div>
<h4 class="mb-1" style="font-family: Arial, sans-serif;">Competition Scores</h4>
<h4 class="mb-1">Competition Scores</h4>
<div class="text-muted">Enter scores for your class competitions.</div>
</div>
<div class="text-end">
@@ -4,7 +4,7 @@
<div class="w-100 py-3 px-3">
<div class="d-flex flex-wrap justify-content-between align-items-center mb-2">
<div>
<h4 class="mb-1" style="font-family: Arial, sans-serif;">Enter Competition Scores</h4>
<h4 class="mb-1">Enter Competition Scores</h4>
<div class="text-muted"><?= esc($competition['title'] ?? 'Competition') ?></div>
</div>
<a class="btn btn-outline-secondary" href="<?= base_url('/teacher/competition-scores') ?>">Back</a>
-4
View File
@@ -13,10 +13,6 @@ $maxUploadBytes = $maxUploadBytes ?? (12 * 1024 * 1024);
$isSchoolYearReadonly = (bool) ($isSchoolYearReadonly ?? false);
?>
<style>
.teacher-drafts-page,
.teacher-drafts-page * {
font-family: Arial, sans-serif !important;
}
.teacher-drafts-table {
table-layout: auto;
width: max-content;
+4 -4
View File
@@ -79,14 +79,14 @@
<input type="hidden" name="selected_semester" value="<?= esc($selectedSemester ?? ($activeSemester ?? '')) ?>">
<input type="hidden" name="school_year" value="<?= esc($schoolYear ?? '') ?>">
<div class="text-center mb-3 w-100">
<h4 class="text-dark mb-1" style="font-family: Arial, sans-serif;">Students Class Scores</h4>
<h4 class="text-dark mb-1">Students Class Scores</h4>
<?php if (!empty($mainsText ?? '')): ?>
<h5 class="mb-0" style="font-family: Arial, sans-serif;">Teachers: <?= esc($mainsText) ?></h5>
<h5 class="mb-0">Teachers: <?= esc($mainsText) ?></h5>
<?php else: ?>
<h5 class="mb-0" style="font-family: Arial, sans-serif;">Teacher: <?= esc($teacher_name); ?></h5>
<h5 class="mb-0">Teacher: <?= esc($teacher_name); ?></h5>
<?php endif; ?>
<?php if (!empty($tasText ?? '')): ?>
<h6 class="mb-0 mt-1" style="font-family: Arial, sans-serif;">Teacher Assistants: <?= esc($tasText) ?></h6>
<h6 class="mb-0 mt-1">Teacher Assistants: <?= esc($tasText) ?></h6>
<?php endif; ?>
<?php if (!empty($activeSemester ?? '')): ?>
<p class="text-muted mb-0" style="font-size: 0.9rem;">Current semester: <?= esc(ucfirst($activeSemester)) ?></p>
+1 -1
View File
@@ -9,7 +9,7 @@
<div class="container-xxl py-5">
<div class="container">
<div class="text-center mx-auto mb-5" style="max-width:600px;">
<h4 class="text-dark" style="font-family:Arial,sans-serif;">Class Attendance</h4>
<h4 class="text-dark">Class Attendance</h4>
</div>
<?php
+25
View File
@@ -28,6 +28,31 @@
<!-- Template Stylesheet -->
<link href="<?= base_url('css/style.css') ?>" rel="stylesheet">
<style>
body,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
font-family: Arial, sans-serif !important;
font-style: normal;
letter-spacing: 0;
}
</style>
</head>
<body>