Add candidate and employer templates, application form, and new password functionality

- Created 'dla-kandydata.php' template for candidates with job offers and registration options.
- Developed 'dla-pracodawcy.php' template for employers detailing how Globelus works and registration for new employers.
- Implemented 'advert-apply.php' for job applications, including form validation and file upload for CVs.
- Added 'new-password.php' for users to set a new password with validation for password strength and matching.
This commit is contained in:
2025-05-24 11:51:42 +02:00
parent 4fdd906b81
commit 905c0f0d89
59 changed files with 1987 additions and 791 deletions

View File

@@ -4,18 +4,10 @@
<?= \Tpl::view( 'globelus/firms/_partials/menu', [
'active' => 'proponowani-kandydaci'
] );?>
<!--<div class="form-group row">
<label form="sex" class="col-12" style="text-align: left;">Wybierz ogłoszenie:</label>
<div class="col-12">
<select class="form-control" onchange="document.location.href='/panel-pracodawcy/proponowani-kandydaci?aid=' + $( this ).val();">
<option value="0">--- wszystkie ogłoszenia ---</option>
<? foreach ( $this -> adverts as $advert ):?>
<option value="<?= $advert['id'];?>" <? if ( $this -> current_advert == $advert['id'] ):?>selected="selected"<? endif;?>><?= $advert['title'];?></option>
<? endforeach;?>
</select>
</div>
</div>-->
<div class="mini-box fluid">
<div class="mini-box fluid mb15">
<div class="title">Potencjalni kandydaci</div>
</div>
<div class="mini-box fluid" style="background: none; padding: 0;">
<?
if ( is_array( $this -> candidates ) and count( $this -> candidates ) ):
foreach ( $this -> candidates as $candidate_id ):