first commit
This commit is contained in:
142
templates/modern/admin/kand_del.html
Executable file
142
templates/modern/admin/kand_del.html
Executable file
@ -0,0 +1,142 @@
|
||||
{if $action == ''}
|
||||
<html>
|
||||
<head>
|
||||
<link type="text/css" rel="stylesheet" href="../templates/{$global_template}/css/styles_refill.css">
|
||||
<script src="../jquery/jquery-1.12.4.js"></script>
|
||||
<script src="../jquery/bootstrap.min.js"></script>
|
||||
<link href="../jquery/bootstrap.min.css" rel="stylesheet" />
|
||||
<style>
|
||||
select{
|
||||
width:450px;
|
||||
}
|
||||
#inner {
|
||||
display: table;
|
||||
margin: 0 auto;
|
||||
width:330px;
|
||||
}
|
||||
#outer {
|
||||
width:100%
|
||||
}
|
||||
</style>
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
load_data();
|
||||
function load_data(query)
|
||||
{
|
||||
$.ajax({
|
||||
url:"fetch.php",
|
||||
method:"post",
|
||||
data:{query:query,
|
||||
script:"kand_del"},
|
||||
success:function(data)
|
||||
{
|
||||
/* $('#result').html(data);*/
|
||||
/* console.log(data); */
|
||||
$("#user").empty().append(data);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$('#search_text').keyup(function(){
|
||||
var search = $(this).val();
|
||||
if(search != '')
|
||||
{
|
||||
load_data(search);
|
||||
}
|
||||
else
|
||||
{
|
||||
load_data();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
</head>
|
||||
<body onload="if(document.nachfrage)document.nachfrage.search_text.focus();return false;">
|
||||
|
||||
<form action="?action=nachfrage" method='post' name='nachfrage'>
|
||||
|
||||
{if $termine_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>
|
||||
{$termine_error_text}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
{/if}
|
||||
<fieldset>
|
||||
<legend>
|
||||
<b>Kandidat löschen</b>
|
||||
</legend>
|
||||
<br />
|
||||
<br />
|
||||
<p align='center'>Kandidaten können gelöscht werden, solange sie noch nicht am Test teilgenommen haben.</p>
|
||||
<p align="center">
|
||||
<div id="outer">
|
||||
<div id="inner">
|
||||
<div class="form-group">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon">Suche</span>
|
||||
<input type="text" name="search_text" id="search_text" placeholder="Kandidaten suchen" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<p align="center">
|
||||
<select id="user" name="user" size=15>
|
||||
{section name=table_data1 loop=$table_data1}
|
||||
<option value="{$table_data1[table_data1].ka_id}">{$table_data1[table_data1].nachname}, {$table_data1[table_data1].vorname} ({$table_data1[table_data1].geb_format})</option>
|
||||
{/section}
|
||||
</select>
|
||||
</p>
|
||||
<br />
|
||||
<p align='center'>
|
||||
<input type='submit' name='senden' value="Kandidat löschen">
|
||||
</p>
|
||||
<br />
|
||||
</fieldset>
|
||||
</form>
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
</body>
|
||||
</html>
|
||||
{/if}
|
||||
|
||||
{if $action == 'nachfrage'}
|
||||
<html>
|
||||
<head>
|
||||
<link type="text/css" rel="stylesheet" href="../templates/{$global_template}/css/styles_refill.css">
|
||||
</head>
|
||||
<body>
|
||||
<fieldset>
|
||||
<legend>
|
||||
<b>Löschbestätigung</b>
|
||||
</legend>
|
||||
<br />
|
||||
<br />
|
||||
<p align="center">
|
||||
Möchten sie Kandidat/in <b><u>{$kand_name}</u></b> wirklich löschen?<br><br>
|
||||
<a href="?"><img title = "Nein" border="0" src="../templates/{$global_template}/images/nein.gif"></a>
|
||||
|
||||
<a href="?action=delkand&ka_id={$kand_ka_id}"><img title = "Dokument löschen"border="0" src="../templates/{$global_template}/images/ja.gif"></a>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
</fieldset>
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
</body>
|
||||
</html>
|
||||
{/if}
|
Reference in New Issue
Block a user