add open position system
This commit is contained in:
+30
-40
@@ -329,45 +329,35 @@
|
||||
<p class="mb-0">Review the available roles below and apply by creating an account.</p>
|
||||
</div>
|
||||
<div class="row g-4">
|
||||
<div class="col-lg-4">
|
||||
<article class="opening-card">
|
||||
<h3>Volunteer Teacher</h3>
|
||||
<div class="opening-meta">Instruction · Chelmsford, MA · Part-time volunteer</div>
|
||||
<p>Lead Quran, Arabic or Islamic Studies lessons in a warm classroom environment.</p>
|
||||
<ul class="opening-list">
|
||||
<li>Prepare weekly lessons and classroom activities.</li>
|
||||
<li>Guide students with patience and clear communication.</li>
|
||||
<li>Partner with school administration and families when needed.</li>
|
||||
</ul>
|
||||
<a class="btn-brand-sm" href="<?= base_url('/register') ?>">Apply Now <i class="fa fa-arrow-right"></i></a>
|
||||
</article>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<article class="opening-card">
|
||||
<h3>Teacher Assistant</h3>
|
||||
<div class="opening-meta">Classroom Support · Chelmsford, MA · Part-time volunteer</div>
|
||||
<p>Support teachers and help students stay engaged throughout Sunday classes.</p>
|
||||
<ul class="opening-list">
|
||||
<li>Assist with activities, materials and classroom routines.</li>
|
||||
<li>Provide individual support to students during lessons.</li>
|
||||
<li>Help maintain a respectful and focused learning environment.</li>
|
||||
</ul>
|
||||
<a class="btn-brand-sm" href="<?= base_url('/register') ?>">Apply Now <i class="fa fa-arrow-right"></i></a>
|
||||
</article>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<article class="opening-card">
|
||||
<h3>Administrative Volunteer</h3>
|
||||
<div class="opening-meta">Operations · Chelmsford, MA · Part-time volunteer</div>
|
||||
<p>Help the school operate smoothly through weekly administrative and event support.</p>
|
||||
<ul class="opening-list">
|
||||
<li>Support communications, supplies and weekly coordination.</li>
|
||||
<li>Help organize school events and program logistics.</li>
|
||||
<li>Assist staff with structured tasks before or during Sunday school.</li>
|
||||
</ul>
|
||||
<a class="btn-brand-sm" href="<?= base_url('/register') ?>">Apply Now <i class="fa fa-arrow-right"></i></a>
|
||||
</article>
|
||||
</div>
|
||||
<?php if (!empty($positions)): ?>
|
||||
<?php foreach ($positions as $position): ?>
|
||||
<div class="col-lg-4">
|
||||
<article class="opening-card">
|
||||
<h3><?= esc($position['title']) ?></h3>
|
||||
<div class="opening-meta">
|
||||
<?= esc($position['department'] ?? '') ?>
|
||||
<?php if (!empty($position['location'])): ?> · <?= esc($position['location']) ?><?php endif; ?>
|
||||
<?php if (!empty($position['employment_type'])): ?> · <?= esc($position['employment_type']) ?><?php endif; ?>
|
||||
</div>
|
||||
<?php if (!empty($position['requirements'])): ?>
|
||||
<ul class="opening-list">
|
||||
<?php foreach (array_slice(array_filter(preg_split('/\r\n|\r|\n/', (string) $position['requirements'])), 0, 3) as $requirement): ?>
|
||||
<li><?= esc(preg_replace('/^\s*-\s*/', '', $requirement)) ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<a class="btn-brand-sm" href="<?= site_url('careers/' . $position['position_id']) ?>">View Details <i class="fa fa-arrow-right"></i></a>
|
||||
</article>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php else: ?>
|
||||
<div class="col-lg-8 mx-auto">
|
||||
<article class="opening-card text-center">
|
||||
<h3>No open positions right now</h3>
|
||||
<p class="mb-0">Please check back for future opportunities to serve with Al Rahma Sunday School.</p>
|
||||
</article>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -379,4 +369,4 @@
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user