reconstruct job admin side
This commit is contained in:
@@ -20,6 +20,10 @@
|
||||
<label class="form-label" for="description">Description</label>
|
||||
<textarea id="description" name="description" class="form-control" rows="6"><?= esc(old('description', $item['description'] ?? '')) ?></textarea>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<label class="form-label" for="responsibilities">Responsibilities</label>
|
||||
<textarea id="responsibilities" name="responsibilities" class="form-control" rows="6"><?= esc(old('responsibilities', $item['responsibilities'] ?? '')) ?></textarea>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<label class="form-label" for="requirements">Requirements</label>
|
||||
<textarea id="requirements" name="requirements" class="form-control" rows="6"><?= esc(old('requirements', $item['requirements'] ?? '')) ?></textarea>
|
||||
|
||||
@@ -92,6 +92,8 @@ $renderPostingText = static function (?string $text): string {
|
||||
</p>
|
||||
<h2 class="h4 mt-4">Description</h2>
|
||||
<div><?= $renderPostingText($position['description'] ?? '') ?></div>
|
||||
<h2 class="h4 mt-4">Responsibilities</h2>
|
||||
<div><?= $renderPostingText($position['responsibilities'] ?? '') ?></div>
|
||||
<h2 class="h4 mt-4">Requirements</h2>
|
||||
<div><?= $renderPostingText($position['requirements'] ?? '') ?></div>
|
||||
</div>
|
||||
|
||||
@@ -245,6 +245,13 @@
|
||||
background-color: var(--mgmt-thead-bg) !important;
|
||||
box-shadow: 0 1px 0 rgba(0,0,0,0.06);
|
||||
}
|
||||
.content table.no-mgmt-sticky > thead > tr > th,
|
||||
.content table[data-no-mgmt-sticky] > thead > tr > th {
|
||||
position: static !important;
|
||||
top: auto !important;
|
||||
z-index: auto !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
/* Explicitly reset any sticky styles on FullCalendar tables */
|
||||
.content .fc table thead th { position: static !important; top: auto !important; z-index: auto !important; box-shadow: none !important; }
|
||||
/* Month-grid uses container-local stickiness */
|
||||
@@ -483,6 +490,8 @@
|
||||
// Make header sticky by default (opt-out available)
|
||||
if (!(t.classList.contains('no-mgmt-sticky') || t.hasAttribute('data-no-mgmt-sticky'))) {
|
||||
t.classList.add('mgmt-sticky');
|
||||
} else {
|
||||
t.classList.remove('mgmt-sticky');
|
||||
}
|
||||
|
||||
// Avoid double headers when DataTables FixedHeader is active; attach FH if DT is present
|
||||
|
||||
Reference in New Issue
Block a user