fix teacher and parent pages text font
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
<link rel="stylesheet" href="<?= base_url('assets/css/custom.css') ?>">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<?php $role = strtolower((string) (session()->get('role') ?? '')); ?>
|
||||
<body data-app-role="<?= esc($role) ?>">
|
||||
<!-- Navbar -->
|
||||
<?php include(__DIR__ . '/../partials/navbar.php'); ?>
|
||||
<?php
|
||||
|
||||
@@ -189,7 +189,7 @@ html, body { overflow-x: hidden; }
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body data-app-menu-mode="<?= esc($appMenuMode) ?>">
|
||||
<body data-app-menu-mode="<?= esc($appMenuMode) ?>" data-app-role="<?= esc($role) ?>">
|
||||
<?php include(__DIR__ . '/../partials/navbar.php'); ?>
|
||||
<?php
|
||||
$mainSchoolYearSelectorData = [];
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?= $this->extend('layout/main_layout') ?>
|
||||
<?= $this->section('content') ?>
|
||||
<div class="container my-5">
|
||||
<h3 class="text-center text-success" style="font-family: Arial, sans-serif;">Attendance Record</h2>
|
||||
<h3 class="text-center text-success">Attendance Record</h3>
|
||||
<?php if (!empty($selectedYear)): ?>
|
||||
<div class="text-center text-muted small">School Year: <?= esc($selectedYear) ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<?= $this->section('content') ?>
|
||||
<div class="container-xxl py-2">
|
||||
<div class="container">
|
||||
<h3 class="text-center text-danger mt-4 mb-3" style="font-family: Arial, sans-serif;">
|
||||
<h3 class="text-center text-danger mt-4 mb-3">
|
||||
Flip your phone for a zoomed out view of the calendar.
|
||||
</h3>
|
||||
|
||||
@@ -73,4 +73,4 @@
|
||||
window.calendar = calendar;
|
||||
});
|
||||
</script>
|
||||
<?= $this->endSection() ?>
|
||||
<?= $this->endSection() ?>
|
||||
|
||||
@@ -297,7 +297,7 @@ $studentCount = count($students ?? []);
|
||||
|
||||
<div class="container my-4">
|
||||
<div class="text-center mb-4">
|
||||
<h3 class="text-success" style="font-family: Arial, sans-serif;">Enroll in Classes</h3>
|
||||
<h3 class="text-success">Enroll in Classes</h3>
|
||||
<?php if (!empty($selectedYear)): ?>
|
||||
<div class="text-muted small">School Year: <?= esc($selectedYear) ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?= $this->extend('layout/main_layout') ?>
|
||||
<?= $this->section('content') ?>
|
||||
<div class="container my-5">
|
||||
<h3 class="text-center text-success" style="font-family: Arial, sans-serif;">Events
|
||||
<h3 class="text-center text-success">Events
|
||||
<span class="badge bg-info"><?= count($activeEvents) ?></span>
|
||||
</h3>
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ if (!function_exists('formatCalendarDateOnly')) {
|
||||
?>
|
||||
|
||||
<div class="container my-5">
|
||||
<h3 class="text-center text-success" style="font-family: Arial, sans-serif;">Invoices and Payments</h3>
|
||||
<h3 class="text-center text-success">Invoices and Payments</h3>
|
||||
<?php if (!empty($selectedYear)): ?>
|
||||
<div class="text-center text-muted small">School Year: <?= esc($selectedYear) ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -70,7 +70,7 @@ $disableEmergencyBtn = count($emergencies) >= $maxEmergency;
|
||||
<?= $this->endSection() ?>
|
||||
<?= $this->section('content') ?>
|
||||
<div class="container my-5">
|
||||
<h3 class="text-center text-success mb-3" style="font-family: Arial, sans-serif;">Student Registration</h3>
|
||||
<h3 class="text-center text-success mb-3">Student Registration</h3>
|
||||
<?php if ($selectedYear !== ''): ?>
|
||||
<div class="text-center text-muted mb-3">School year: <?= esc($selectedYear) ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<?= $this->section('content') ?>
|
||||
|
||||
<div class="container my-5" style="max-width: 880px;">
|
||||
<h3 class="text-center text-success mb-4" style="font-family: Arial, sans-serif;">
|
||||
<h3 class="text-center text-success mb-4">
|
||||
Report Absence/Late/Early Dismissal
|
||||
</h3>
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
<div class="container my-5">
|
||||
<div class="d-flex flex-wrap align-items-center justify-content-between gap-2 mb-3">
|
||||
<div>
|
||||
<h3 class="text-success mb-1" style="font-family: Arial, sans-serif;">Report Cards</h3>
|
||||
<h3 class="text-success mb-1">Report Cards</h3>
|
||||
<div class="text-muted small">
|
||||
<?= esc($schoolYear ?: 'N/A') ?> <?= $semester ? '• ' . esc($semester) . ' Semester' : '' ?>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<?= $this->section('content') ?>
|
||||
<div class="container my-5">
|
||||
<div class="d-flex flex-wrap align-items-center justify-content-between gap-2">
|
||||
<h3 class="text-success mb-0" style="font-family: Arial, sans-serif;">Scores</h3>
|
||||
<h3 class="text-success mb-0">Scores</h3>
|
||||
<?php if (!empty($selectedYear)): ?>
|
||||
<div class="text-muted small">School Year: <?= esc($selectedYear) ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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')): ?>
|
||||
|
||||
@@ -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')): ?>
|
||||
|
||||
@@ -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')): ?>
|
||||
|
||||
@@ -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')): ?>
|
||||
|
||||
@@ -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')): ?>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -8,6 +8,17 @@ body {
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
|
||||
body[data-app-role="parent"],
|
||||
body[data-app-role="teacher"],
|
||||
body[data-app-role="teacher_assistant"],
|
||||
body[data-app-role="parent"] :where(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6),
|
||||
body[data-app-role="teacher"] :where(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6),
|
||||
body[data-app-role="teacher_assistant"] :where(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;
|
||||
}
|
||||
|
||||
.content-wrapper {
|
||||
flex: 1;
|
||||
padding-bottom: 50px;
|
||||
|
||||
Reference in New Issue
Block a user