Notenupload
This commit is contained in:
145
templates/modern/dashboard/notenupload.html
Normal file
145
templates/modern/dashboard/notenupload.html
Normal file
@ -0,0 +1,145 @@
|
||||
{if $action == ''}
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="description" content="Scrollable tab for Bootstrap 5">
|
||||
<meta name="keywords" content="Bootstrap, Bootstrap 5, Tabs">
|
||||
<meta name="author" content="Federico Navarrete">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<script src="../bootstrap/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<!-- nochmals bootstrap.css mit Erweiterungen vom Dashboard -->
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<!-- icons in nav-->
|
||||
<script src="js/all.js" crossorigin="anonymous"></script>
|
||||
<link rel="stylesheet" href="../bootstrap/node_modules/bootstrap-icons/font/bootstrap-icons.css">
|
||||
<script src="../jquery/jquery-3.4.1.min.js"></script>
|
||||
<!-- jQuery UI CSS
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
|
||||
-->
|
||||
<script src="../jquery/jquery-ui.js"></script>
|
||||
<!--<script type="text/javascript" charset="utf-8" language="javascript" src="../js/file_upload/DT_bootstrap.js"></script>-->
|
||||
<script type="text/javascript" src="../js/file_upload/vpb_uploader.js"></script>
|
||||
<script type="text/javascript">$(document).ready(function()
|
||||
{
|
||||
// Call the main function
|
||||
new vpb_multiple_file_uploader
|
||||
({
|
||||
vpb_form_id: "form_id", // Form ID
|
||||
autoSubmit: true,
|
||||
vpb_server_url: "../controller/admin_notenupload.php"
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<style>
|
||||
body {
|
||||
font-family:Verdana, Geneva, sans-serif;
|
||||
}
|
||||
span{
|
||||
color:red;
|
||||
cursor:pointer;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
{literal}
|
||||
function keysave(ele) {
|
||||
if(event.key === 'Enter') {
|
||||
rollesave();
|
||||
}
|
||||
}
|
||||
{/literal}
|
||||
</script>
|
||||
</head>
|
||||
<!--<body onload="if(document.erfassen)document.erfassen.{$umfrageerf_focus}.focus();return false;">-->
|
||||
<body class="sb-nav-fixed">
|
||||
<div id="navtop"></div>
|
||||
{literal}
|
||||
<script>
|
||||
$(function(){
|
||||
// im Navbar muss der toggle in der Callbackfunktion definiert werden. Sonst findet jquery getelementbyID nicht
|
||||
$("#navtop").load('navtop.php', null, function(){$.getScript('js/scripts.js');});
|
||||
$("#navleft").load("nav.php");
|
||||
$("#footer").load("footer.php");
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
<div id="layoutSidenav">
|
||||
<!-- Navigation left -->
|
||||
<div id="navleft"></div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<div class="container-fluid">
|
||||
<form name="form_id" id="form_id" action="javascript:void(0);" enctype="multipart/form-data">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-edit me-1"></i>
|
||||
Notenupload
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Titel:</div>
|
||||
<div class="col-12 col-md-8">
|
||||
<input type="text" id="titel" class="form-control rounded-right" required onkeydown="keysave(this)">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Verlag:</div>
|
||||
<div class="col-12 col-md-8">
|
||||
<input type="text" id="verlag" class="form-control rounded-right" required onkeydown="keysave(this)">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Anzahl Lizenzen:</div>
|
||||
<div class="col-12 col-md-8">
|
||||
<input type="text" id="anz_lizenzen" class="form-control rounded-right" required onkeydown="keysave(this)">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-8 col-md-4">Streamlizenz vorhanden:</div>
|
||||
<div class="col-4 col-md-8">
|
||||
<input class="form-check-input" type="checkbox" name="streamlizenz" id="streamlizenz" value="1">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<label for="formFile" class="form-label">
|
||||
<div class="col-12 col-md-4">PDF:</div>
|
||||
<div class="col-12col-md-8">
|
||||
<input class="form-control" type="file" name="vasplus_multiple_files" id="vasplus_multiple_files" multiple="multiple">
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
<table class="table table-striped table-bordered" id="add_files">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="color:blue; text-align:center;">Datei</th>
|
||||
<th style="color:blue; text-align:center;">Status</th>
|
||||
<th style="color:blue; text-align:center;">Größe</th>
|
||||
<th style="color:blue; text-align:center;">Aktion</th>
|
||||
<tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
<p align='center'>
|
||||
<button class="col-6 btn btn-primary btn-sm mt-3" id="save">Speichern</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="msg"></div>
|
||||
</form>
|
||||
</center>
|
||||
</main>
|
||||
<!-- footer -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
{/if}
|
Reference in New Issue
Block a user