dvm/templates/modern/praxisstelle/bewerbungen.html_mit_zusage
2022-11-28 10:27:30 +01:00

820 lines
24 KiB
Plaintext
Executable File

{if $action == ''}
<html>
<head>
<link type="text/css" rel="stylesheet" href="../templates/{$global_template}/css/styles_refill.css">
<!-- Add jQuery library -->
<script type="text/javascript" src="../fancybox-2.1.7/lib/jquery-1.10.2.min.js"></script>
<!-- Add mousewheel plugin (this is optional) -->
<script type="text/javascript" src="../fancybox-2.1.7/lib/jquery.mousewheel.pack.js?v=3.1.3"></script>
<!-- Add fancyBox main JS and CSS files -->
<script type="text/javascript" src="../fancybox-2.1.7/source/jquery.fancybox.pack.js?v=2.1.5"></script>
<link rel="stylesheet" type="text/css" href="../fancybox-2.1.7/source/jquery.fancybox.css?v=2.1.5" media="screen" />
<script type="text/javascript">
$(document).ready(function() {
$('.box').fancybox({
'width' : '100%',
'height' : '100%',
'autoScale' : true,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'type' : 'iframe',
helpers: {
overlay : {
closeClick: true
}
},
beforeClose: function () {
location.href = "?";
}
});
});
</script>
<link rel="stylesheet" href="../jquery/jquery-ui.css">
<link rel="stylesheet" href="../jquery/jquery.timepicker.min.css">
<!-- Entfernt, da die Fancybox nicht mehr ging
<script src="../jquery/jquery-1.12.4.js"></script>
-->
<script src="../jquery/jquery-ui.js"></script>
<script src="../jquery/globalize.js"></script>
<script src="../jquery/globalize.culture.de-DE.js"></script>
<script src="../jquery/jquery.mousewheel.js"></script>
<script src="../jquery/jquery.timepicker.min.js"></script>
<style type="text/css">
.spinner {
width: 112px;
height: 15px;
font-size: 12px !important;
}
</style>
<style>
.StandardTable thead th{
background: lightgray;
border: 1px solid #656565;
font-size:12px;
font-family:Arial;
padding-top:5px;
padding-bottom:5px;
padding-left:5px;
padding-right:5px;
}
textarea{
border: 1px solid #888;
height: 6.7em;
width: 48.5em;
}
select{
width:630px;
}
.row_0 {
background-color: #FFFFFF;
}
.row_1 {
background-color: #E1E8F1;
}
.ButtonAnzeigen {
box-shadow: 0px 10px 14px -7px #3e7327;
background:linear-gradient(to bottom, #77b55a 5%, #72b352 100%);
background-color:#77b55a;
border-radius:4px;
border:1px solid #4b8f29;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:Arial;
font-size:13px;
font-weight:bold;
padding:6px 12px;
text-decoration:none;
text-shadow:0px 1px 0px #5b8a3c;
}
.ButtonAnzeigen:hover {
background:linear-gradient(to bottom, #72b352 5%, #77b55a 100%);
background-color:#72b352;
}
.ButtonAnzeigen:active {
position:relative;
top:1px;
}
.ButtonCSV {
box-shadow: 0px 10px 14px -7px #276873;
background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
background-color:#599bb3;
border-radius:4px;
border:1px solid #29668f;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:Arial;
font-size:13px;
font-weight:bold;
padding:6px 12px;
text-decoration:none;
text-shadow:0px 1px 0px #3d768a;
}
.ButtonCSV:hover {
background:linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
background-color:#408c99;
}
.ButtonCSV:active {
position:relative;
top:1px;
}
.ButtonArchiv {
box-shadow: 0px 10px 14px -7px #3e7327;
background:linear-gradient(to bottom, #e4685d 5%, #eb675e 100%);
background-color:#e4685d;
border-radius:4px;
border:1px solid #98051D;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:Arial;
font-size:13px;
font-weight:bold;
padding:6px 12px;
text-decoration:none;
text-shadow:0px 1px 0px #b23e35;
}
.ButtonArchiv:hover {
background:linear-gradient(to bottom, #eb675e 5%, #e4685d 100%);
background-color:#eb675e;
}
.ButtonArchiv:active {
position:relative;
top:1px;
}
.btn_zusage {
box-shadow: 0px 10px 14px -7px #7a8eb9;
background:linear-gradient(to bottom, #637aad 5%, #5972a7 100%);
background-color:#637aad;
border-radius:4px;
border:1px solid #314179;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:Arial;
font-size:13px;
font-weight:bold;
padding:6px 12px;
text-decoration:none;
text-shadow:0px 1px 0px #7a8eb9;
}
.btn_zusage:hover {
background:linear-gradient(to bottom, #5972a7 5%, #637aad 100%);
background-color:#5972a7;
}
.btn_zusage:active {
position:relative;
top:1px;
}
</style>
</head>
<body>
<fieldset>
<legend>
<b>Bewerbungen</b>
</legend>
<br />
<br />
<table cellspacing="0" cellpadding="0" width="100%" border="0" class="StandardTable">
<tr>
<td width="10%">
<b>Bew. Nr.</b>
</td>
<td width="20%">
<b>Name</b>
</td>
<td width="10%">
<b>Testergebnis</b>
</td>
<td width="10%">
<b>Schwerbehinderung</b>
</td>
<td width="15%">
<b>Bewerbungsdatum</b>
</td>
<td width="15%">
<b>Zusage</b>
</td>
<td width="10%">
<b>Auswahl</b>
</td>
<td width="10%">
<b>Ausblenden</b>
</td>
</tr>
{section name=table_data1 loop=$table_data1}
<tr>
<td class="row_{$table_data1[table_data1].zaehler}" height='40'>
{$table_data1[table_data1].ka_id}
<!--{$smarty.section.table_data1.rownum}-->
</td>
<td class="row_{$table_data1[table_data1].zaehler}" height='40'>
{$table_data1[table_data1].nachname}, {$table_data1[table_data1].vorname} (<a href="mailto:{$table_data1[table_data1].mail}">{$table_data1[table_data1].mail}</a>)
</td>
<td class="row_{$table_data1[table_data1].zaehler}" height='40'>
{$table_data1[table_data1].testergebnis} / 133 Punkten
</td>
<td class="row_{$table_data1[table_data1].zaehler}" height='40'>
{if $table_data1[table_data1].behinderung == 'J'} Ja {else} Nein {/if}
</td>
<td class="row_{$table_data1[table_data1].zaehler}" height='40'>
{$table_data1[table_data1].datum_form}
</td>
<td class="row_{$table_data1[table_data1].zaehler}" height='40'>
{if $table_data1[table_data1].zusage == 'J'}
Zugesagt am {$table_data1[table_data1].zusage_dat_form}
{elseif $table_data1[table_data1].anderezusage == 'J'}
Der Bewerber wurde bereits von einer anderen Ausbildungsstele ausgewählt -> Bitte setzen Sie sich mit dem Bewerber in Verbindung.
{else}
<a class="aformlink box btn_zusage" title="Mitteilung über Zusage" href="?action=zusage1&ka_id={$table_data1[table_data1].ka_id}">Mitteilung über Zusage</a>
{/if}
</td>
<td class="row_{$table_data1[table_data1].zaehler}" height='40'>
{if $table_data1[table_data1].showfiles == 1}
<a href="?action=show&ka_id={$table_data1[table_data1].ka_id}" class="ButtonAnzeigen">Daten anzeigen</a>
{/if}
</td>
<td class="row_{$table_data1[table_data1].zaehler}" height='40'>
<a href="?action=archive&wu_id={$table_data1[table_data1].wu_id}" class="ButtonArchiv">Archivieren</a>
</td>
</tr>
{/section}
</table>
<br />
<p align='center'><a href="export_bewerber.php" class="ButtonCSV">CSV Export</a></p>
</fieldset>
<br />
<br />
</body>
</html>
{/if}
{if $action == 'show'}
<html>
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<title>Login der Praxisstellen DVM (Bachelor of Arts - Digitales Verwaltungsmanagement) der Hochschulen Ludwigsburg und Kehl.</title>
<link type="text/css" rel="stylesheet" href="../templates/{$global_template}/css/styles_refill.css">
<style>
.desc{
width:400px;
}
.StandardTable thead th{
background: lightgray;
border: 1px solid #656565;
font-size:12px;
font-family:Arial;
padding-top:5px;
padding-bottom:5px;
padding-left:5px;
padding-right:5px;
}
textarea{
border: 1px solid #888;
height: 6.7em;
width: 48.5em;
}
select{
width:630px;
}
.fieldset1 {
border: 1px solid red;
}
.fieldset2 {
border: ridge green;
display: block;
margin-left: 20px;
margin-right: 20px;
padding-top: 20px;
padding-bottom: 20px;
padding-left: 20px;
padding-right: 20px;
}
.legend1 {
display: block;
padding-left: 20px;
padding-right: 20px;
border: none;
font-size: 30px;
}
.button {
font: bold 11px Arial;
text-decoration: none;
background-color: #EEEEEE;
color: #333333;
padding: 2px 6px 2px 6px;
border-top: 1px solid #CCCCCC;
border-right: 1px solid #333333;
border-bottom: 1px solid #333333;
border-left: 1px solid #CCCCCC;
}
.ButtonBack {
box-shadow: 0px 10px 14px -7px #276873;
background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
background-color:#599bb3;
border-radius:8px;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:Arial;
font-size:20px;
font-weight:bold;
padding:13px 32px;
text-decoration:none;
text-shadow:0px 1px 0px #3d768a;
}
.ButtonBack:hover {
background:linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
background-color:#408c99;
}
.ButtonBack:active {
position:relative;
top:1px;
}
</style>
<link rel="stylesheet" type="text/css" href="css/component.css" />
<script type="text/javascript">
(function(e,t,n){
var r=e.querySelectorAll("html")[0];
r.className=r.className.replace(/(^|\s)no-js(\s|$)/,"$1js$2")
})
(document,window,0);
</script>
</head>
<body>
<fieldset class="fieldset2">
<legend class="legend1" align="center">
<b>Dokumentenportal</b>
</legend>
{if $index_error == '1'}
<table width="70%" class="errorTable" align="center">
<tr>
<td>
<img src="../templates/{$global_template}/images/pflichtfelder/achtung_gross.gif">
</td>
<td><b>Achtung!</b><br>
{$index_error_text}
</td>
</tr>
</table>
<br />
{/if}
<fieldset class="fieldset1">
<legend>
<b>Persönliche Angaben</b>
</legend>
{$dok_anrede}<br>
{$dok_vorname} {$dok_nachname}<br>
{$dok_str}<br>
{$dok_plz} {$dok_ort}<br>
<a href="mailto:{$dok_mail}">{$dok_mail}</a>
</fieldset>
<br>
<br>
<fieldset>
<legend>
<b>Verfügbare Dokumente</b>
</legend>
<form action=?action=stelle method="POST" name="stelle">
<table cellspacing="0" cellpadding="2" width="100%" border="1">
<tr>
<td width="50">
<b>Dok. Nr.</b>
</td>
<td>
<b>Datei</b>
</td>
<td>
<b>Dokumentenbeschreibung</b>
</td>
<td>
<b>Dokumentendatum</b>
</td>
<tr>
{section name=table_data1 loop=$table_data1}
{if $smarty.section.table_data1.rownum != ''}
<tr>
<td>
{$table_data1[table_data1].up_id}
<!--{$smarty.section.table_data1.rownum}-->
</td>
<td>
{if $table_data1[table_data1].exists == 1}
<a href='downpdf.php?file={$table_data1[table_data1].basename_link}'>{$table_data1[table_data1].basename}</a>
{else}
{$table_data1[table_data1].basename}
{/if}
</td>
<td>
{$table_data1[table_data1].beschreibung}
</td>
<td>
{$table_data1[table_data1].datum_form}
</td>
</tr>
{/if}
{/section}
</table>
</fieldset>
<br />
<br />
<p align='center'>
<a href="?" class="ButtonBack">zurück</a>
</p>
</fieldset>
</body>
</html>
{/if}
{if $action == 'zusage1'}
<html>
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<title>Zusageassistent</title>
<link type="text/css" rel="stylesheet" href="../templates/{$global_template}/css/styles_refill.css">
<style>
.desc{
width:400px;
}
.StandardTable thead th{
background: lightgray;
border: 1px solid #656565;
font-size:12px;
font-family:Arial;
padding-top:5px;
padding-bottom:5px;
padding-left:5px;
padding-right:5px;
}
textarea{
border: 1px solid #888;
height: 6.7em;
width: 48.5em;
}
select{
width:630px;
}
.fieldset1 {
border: 1px solid red;
}
.fieldset2 {
border: ridge green;
display: block;
margin-left: 20px;
margin-right: 20px;
padding-top: 20px;
padding-bottom: 20px;
padding-left: 20px;
padding-right: 20px;
}
.legend1 {
display: block;
padding-left: 20px;
padding-right: 20px;
border: none;
font-size: 30px;
}
.button {
font: bold 11px Arial;
text-decoration: none;
background-color: #EEEEEE;
color: #333333;
padding: 2px 6px 2px 6px;
border-top: 1px solid #CCCCCC;
border-right: 1px solid #333333;
border-bottom: 1px solid #333333;
border-left: 1px solid #CCCCCC;
}
.ButtonBack {
box-shadow: 0px 10px 14px -7px #276873;
background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
background-color:#599bb3;
border-radius:8px;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:Arial;
font-size:20px;
font-weight:bold;
padding:13px 32px;
text-decoration:none;
text-shadow:0px 1px 0px #3d768a;
}
.ButtonBack:hover {
background:linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
background-color:#408c99;
}
.ButtonBack:active {
position:relative;
top:1px;
}
.btn_ja {
background-color:#94c2a0;
border-radius:28px;
border:1px solid #18ab29;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:Arial;
font-size:17px;
padding:16px 31px;
text-decoration:none;
text-shadow:0px 1px 0px #2f6627;
}
.btn_ja:hover {
background-color:#5cbf2a;
}
.btn_ja:active {
position:relative;
top:1px;
}
.btn_nein {
box-shadow: 0px 0px 0px 0px #c73636;
background-color:#ff8585;
border-radius:28px;
border:1px solid #d44444;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:Arial;
font-size:17px;
padding:16px 31px;
text-decoration:none;
text-shadow:0px 1px 0px #f02222;
}
.btn_nein:hover {
background-color:#f51818;
}
.btn_nein:active {
position:relative;
top:1px;
}
</style>
<link rel="stylesheet" type="text/css" href="css/component.css" />
<script type="text/javascript">
(function(e,t,n){
var r=e.querySelectorAll("html")[0];
r.className=r.className.replace(/(^|\s)no-js(\s|$)/,"$1js$2")
})
(document,window,0);
</script>
</head>
<body>
<fieldset class="fieldset2">
<legend class="legend1" align="center">
<b>Zusageassistent</b>
</legend>
{if $index_error == '1'}
<table width="70%" class="errorTable" align="center">
<tr>
<td>
<img src="../templates/{$global_template}/images/pflichtfelder/achtung_gross.gif">
</td>
<td><b>Achtung!</b><br>
{$index_error_text}
</td>
</tr>
</table>
<br />
{/if}
<h1><p align="center">{$text_nachfrage}</p></h1>
<br>
<br>
<form action=?action=stelle method="POST" name="stelle">
<table cellspacing="0" cellpadding="2" width="100%" border="0">
<tr>
<td width="25%" align="center">
&nbsp;
</td>
<td width="25%" align="center">
<a href="?action=zusage2&ka_id={$ka_id}" class="btn_ja">Ja</a>
</td>
<td width="25%" align="center">
<a href="?action=zusage_holen&ka_id={$ka_id}" class="btn_nein">Nein</a>
</td>
<td width="25%" align="center">
&nbsp;
</td>
<tr>
</table>
<br />
<br />
</fieldset>
</body>
</html>
{/if}
{if $action == 'zusage_holen'}
<html>
<head>
<link type="text/css" rel="stylesheet" href="../templates/{$global_template}/css/styles_refill.css">
<script type='text/javascript' src='../ckeditor5/build/ckeditor.js'></script>
<style>
.ck-editor__editable {
min-height: 300px;
}
p {
margin: 0;
}
</style>
</head>
<body>
<fieldset>
<legend>
<b>Zusage einholen</b>
</legend>
<br />
<br />
<form action="?action=mailsenden" method='post' name='mailsenden'>
<table width="100%" border="1" cellspacing="0" cellpadding="0" rules="all">
<tr>
<td width="200" height="40" style="padding-left:5px">
Praxisstelle:
</td>
<td style="padding-left:5px">
{$dst_bez} &lt;{$dst_mail}&gt;
</td>
</tr>
<tr>
<td height="40" style="padding-left:5px">
Empfänger:
</td>
<td style="padding-left:5px">
{$bew_name} &lt;{$bew_mail}&gt;
</td>
</tr>
<tr>
<td height="40" style="padding-left:5px">
Betreff:
</td>
<td style="padding-left:5px">
<input type="text" id="betreff" name="betreff" value="{$mail_betreff}" size="80">
</td>
</tr>
<tr>
<td height="40" style="padding-left:5px">
Mailtext:
</td>
<td style="padding-left:5px">
<textarea id='text' name='text'>{$mail_text}</textarea>
{literal}
<script>ClassicEditor
.create( document.querySelector( '#text' ), {
toolbar: {
items: [
'heading',
'|',
'fontSize',
'fontFamily',
'fontBackgroundColor',
'fontColor',
'|',
'bold',
'italic',
'link',
'bulletedList',
'numberedList',
'|',
'alignment',
'indent',
'outdent',
'|',
'imageUpload',
'blockQuote',
'insertTable',
'mediaEmbed',
'undo',
'redo'
]
},
language: 'de',
image: {
toolbar: [
'imageTextAlternative',
'imageStyle:full',
'imageStyle:side'
]
},
table: {
contentToolbar: [
'tableColumn',
'tableRow',
'mergeTableCells',
'tableCellProperties',
'tableProperties'
]
},
licenseKey: '',
} )
.then( editor => {
window.editor = editor;
} )
.catch( error => {
console.error( error );
} );
</script>
{/literal}
<input type="hidden" name="bew_ka_id" id="bew_ka_id" size="101" value="{$bew_ka_id}">
</td>
</tr>
</table>
</p>
<br />
<br />
<p align='center'>
<input type='submit' name='senden' value="Mail senden">
</p>
<br />
</form>
</fieldset>
<br />
<br />
<br />
<br />
</body>
</html>
{/if}
{if $action == 'mailsenden'}
<html>
<head>
<link type="text/css" rel="stylesheet" href="../templates/{$global_template}/css/styles_refill.css">
</head>
<body>
<fieldset>
<legend>
<b>Ergebnis</b>
</legend>
<br />
<br />
{$mail_senderg}
<br>
<br>
Sie können das Fenster nun schließen.
</fieldset>
<br />
<br />
<br />
<br />
</body>
</html>
{/if}
{if $action == 'zusage2'}
<html>
<head>
<link type="text/css" rel="stylesheet" href="../templates/{$global_template}/css/styles_refill.css">
</head>
<body>
<fieldset>
<legend>
<b>Ergebnis</b>
</legend>
<br />
<br />
<table width="100%" border="1" cellspacing="0" cellpadding="2" rules="all">
<tr>
<td>
Status Praxisstelle:
</td>
<td>
{$mail_senderg_prx}
</td>
</tr>
<tr>
<td>
Status Bewerber:
</td>
<td>
{$mail_senderg_bew}
</td>
</tr>
<tr>
<td>
Status Hochschule:
</td>
<td>
{$mail_senderg_hs}
</td>
</tr>
</table>
<br>
<br>
Sie können das Fenster nun schließen.
</fieldset>
<br />
<br />
<br />
<br />
</body>
</html>
{/if}