bpm/templates/modern/admin/dokverw.html
2022-11-28 10:24:23 +01:00

184 lines
6.4 KiB
HTML
Executable File

{if $action == ''}
<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>
<!-- 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
}
}
});
});
</script>
<style>
.ck-editor__editable {
min-height: 300px;
}
p {
margin: 0;
}
.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:0px 20px;
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;
}
.ButtonDel {
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;
}
.ButtonDel:hover {
background:linear-gradient(to bottom, #eb675e 5%, #e4685d 100%);
background-color:#eb675e;
}
.ButtonDel:active {
position:relative;
top:1px;
}
</style>
</head>
<body>
{if $news_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>
{$news_error_text}
</td>
</tr>
</table>
<br />
{/if}
<fieldset>
<legend>
<b>Dokumentenverwaltung</b>
</legend>
<br />
<br />
<h2>Dateien, die in der Datenbank sind, werden werden geprüft, ob sie auf dem Server vorhanden sind</h2>
<table width="100%" border="1" cellspacing="0" cellpadding="0" rules="all">
<tr>
<td height="40" style="padding-left:5px" width='20%'>
<b>Name</b>
</td>
<td height="40" style="padding-left:5px" width='60%'>
<b>Datei</b>
</td>
<td height="40" style="padding-left:5px" width='20%'>
<b>Existenz (Anzahl: {$dokverw_anzdb})</b>
</td>
</tr>
{section name=table_data1 loop=$table_data1}
<tr>
<td height="40" style="padding-left:5px" width='20%'>
{$table_data1[table_data1].nachname}, {$table_data1[table_data1].vorname}
</td>
<td height="40" style="padding-left:5px" width='60%'>
{$table_data1[table_data1].file}
</td>
<td height="40" style="padding-left:5px" width='20%'>
{if $table_data1[table_data1].exists == 0}
<a href="?action=deldb&up_id={$table_data1[table_data1].up_id}" class="ButtonDel">Auf DB löschen</a>
{/if}
{if $table_data1[table_data1].exists == 1}
vorhanden
{/if}
</td>
</tr>
{/section}
</table>
</p>
<h2>Dateien, die auf dem Server liegen, werden geprüft, ob sie in der Datenbank bekannt sind</h2>
<table width="100%" border="1" cellspacing="0" cellpadding="0" rules="all">
<tr>
<td height="40" style="padding-left:5px" width='20%'>
<b>Name</b>
</td>
<td height="40" style="padding-left:5px" width='60%'>
<b>Datei</b>
</td>
<td height="40" style="padding-left:5px" width='20%'>
<b>Existenz (Anzahl: {$dokverw_anzserver})</b>
</td>
</tr>
{section name=table_data2 loop=$table_data2}
<tr>
<td height="40" style="padding-left:5px" width='20%'>
{$table_data2[table_data2].nachname}, {$table_data2[table_data2].vorname}
</td>
<td height="40" style="padding-left:5px" width='60%'>
{$table_data2[table_data2].file}
</td>
<td height="40" style="padding-left:5px" width='20%'>
{if $table_data2[table_data2].exists == 0}
<a href="?action=delserver&file={$table_data2[table_data2].file}" class="ButtonDel">Auf Server löschen</a>
{/if}
{if $table_data2[table_data2].exists == 1}
vorhanden
{/if}
</td>
</tr>
{/section}
</table>
<br />
<br />
</fieldset>
<br />
<br />
</body>
</html>
{/if}