Rollen/Rechte
This commit is contained in:
@ -19,153 +19,12 @@
|
||||
<script type="text/javascript" src="../bootstrap/data-table/jquery.dataTables.min.js"></script>
|
||||
<script type="text/javascript" src="../bootstrap/data-table/dataTables.rowReorder.min.js"></script>
|
||||
<script type="text/javascript" src="../bootstrap/data-table/dataTables.bootstrap5.min.js"></script>
|
||||
<link rel="stylesheet" href="../bootstrap/data-table/jumistyle.css"></style>
|
||||
|
||||
<script src="js/all.js" crossorigin="anonymous"></script>
|
||||
<script src="../jquery/jquery-3.4.1.min.js"></script>
|
||||
<link rel="stylesheet" href="../bootstrap/node_modules/bootstrap-icons/font/bootstrap-icons.css">
|
||||
<style>
|
||||
.table-responsive {
|
||||
margin: 30px 0;
|
||||
}
|
||||
.table-wrapper {
|
||||
min-width: 1000px;
|
||||
background: #fff;
|
||||
padding: 20px 25px;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,.05);
|
||||
}
|
||||
.table-title {
|
||||
padding-bottom: 15px;
|
||||
background: #299be4;
|
||||
color: #fff;
|
||||
padding: 16px 30px;
|
||||
margin: -20px -25px 10px;
|
||||
border-radius: 3px 3px 0 0;
|
||||
}
|
||||
.table-title h2 {
|
||||
margin: 5px 0 0;
|
||||
font-size: 24px;
|
||||
}
|
||||
.table-title .btn {
|
||||
color: #566787;
|
||||
float: right;
|
||||
font-size: 13px;
|
||||
background: #fff;
|
||||
border: none;
|
||||
min-width: 50px;
|
||||
border-radius: 2px;
|
||||
border: none;
|
||||
outline: none !important;
|
||||
margin-left: 10px;
|
||||
}
|
||||
.table-title .btn:hover, .table-title .btn:focus {
|
||||
color: #566787;
|
||||
background: #f2f2f2;
|
||||
}
|
||||
.table-title .btn i {
|
||||
float: left;
|
||||
font-size: 21px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.table-title .btn span {
|
||||
float: left;
|
||||
margin-top: 2px;
|
||||
}
|
||||
table.table tr th, table.table tr td {
|
||||
border-color: #e9e9e9;
|
||||
padding: 12px 15px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
table.table tr th:first-child {
|
||||
width: 60px;
|
||||
}
|
||||
table.table tr th:last-child {
|
||||
width: 100px;
|
||||
}
|
||||
table.table-striped tbody tr:nth-of-type(odd) {
|
||||
background-color: #fcfcfc;
|
||||
}
|
||||
table.table-striped.table-hover tbody tr:hover {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
table.table th i {
|
||||
font-size: 13px;
|
||||
margin: 0 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
table.table td:last-child i {
|
||||
opacity: 0.9;
|
||||
font-size: 22px;
|
||||
margin: 0 5px;
|
||||
}
|
||||
table.table td a {
|
||||
font-weight: bold;
|
||||
color: #566787;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
}
|
||||
table.table td a:hover {
|
||||
color: #2196F3;
|
||||
}
|
||||
table.table td a.settings {
|
||||
color: #2196F3;
|
||||
}
|
||||
table.table td a.delete {
|
||||
color: #F44336;
|
||||
}
|
||||
table.table td i {
|
||||
font-size: 19px;
|
||||
}
|
||||
table.table .avatar {
|
||||
border-radius: 50%;
|
||||
vertical-align: middle;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.status {
|
||||
font-size: 30px;
|
||||
margin: 2px 2px 0 0;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
line-height: 10px;
|
||||
}
|
||||
.pagination {
|
||||
float: right;
|
||||
margin: 0 0 5px;
|
||||
}
|
||||
.pagination li a {
|
||||
border: none;
|
||||
font-size: 13px;
|
||||
min-width: 30px;
|
||||
min-height: 30px;
|
||||
color: #999;
|
||||
margin: 0 2px;
|
||||
line-height: 30px;
|
||||
border-radius: 2px !important;
|
||||
text-align: center;
|
||||
padding: 0 6px;
|
||||
}
|
||||
.pagination li a:hover {
|
||||
color: #666;
|
||||
}
|
||||
.pagination li.active a, .pagination li.active a.page-link {
|
||||
background: #03A9F4;
|
||||
}
|
||||
.pagination li.active a:hover {
|
||||
background: #0397d6;
|
||||
}
|
||||
.pagination li.disabled i {
|
||||
color: #ccc;
|
||||
}
|
||||
.pagination li i {
|
||||
font-size: 16px;
|
||||
padding-top: 6px
|
||||
}
|
||||
.hint-text {
|
||||
float: left;
|
||||
margin-top: 10px;
|
||||
font-size: 13px;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body class="sb-nav-fixed">
|
||||
<div id="navtop"></div>
|
||||
|
166
templates/modern/dashboard/rollen.html
Normal file
166
templates/modern/dashboard/rollen.html
Normal file
@ -0,0 +1,166 @@
|
||||
{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>
|
||||
<style>
|
||||
.btn-group > .btn{
|
||||
margin-bottom:20px;
|
||||
border-radius:20px !important;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
{literal}
|
||||
function keysave(ele) {
|
||||
if(event.key === 'Enter') {
|
||||
rollesave();
|
||||
}
|
||||
}
|
||||
{/literal}
|
||||
</script>
|
||||
<style type="text/css">
|
||||
.ui-sortable tr {
|
||||
cursor:pointer;
|
||||
}
|
||||
.ui-sortable tr:hover {
|
||||
background:rgba(244,251,17,0.45);
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('[data-toggle="popover"]').popover();
|
||||
});
|
||||
</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>
|
||||
<!--Anwendung-->
|
||||
<script src="../js/components/admin_rollen.js"></script>
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table me-1"></i>
|
||||
Rollen erfassen
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-1 mb-0 mb-sm-1">
|
||||
<div class="col-12 col-md-4">Rollenname:</div>
|
||||
<div class="col-12 col-md-8"><input class="form-control" type="text" name="rollenname" id="rollenname" value="{$umfrageerf_value_frage}" size="60" onkeydown="keysave(this)"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="row col-3"></div>
|
||||
<div class="row col-6"><button class="btn btn-primary btn-sm mt-3" id="save" onclick="rollesave();">Speichern</button></div>
|
||||
<div class="row col-3"></div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table me-1"></i>
|
||||
Vorhandene Rollen
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row mt-0 mt-sm-1 mb-0 mb-sm-1">
|
||||
<div class="row mt-0 mb-0">
|
||||
<div class="d-none col-md-10 d-md-block"><b>Rolle</b></div>
|
||||
<div class="d-none col-md-2 d-md-block"><b>Aktion</b></div>
|
||||
</div>
|
||||
{section name=table_data loop=$table_data}
|
||||
<div class="row mt-0 mt-sm-1 mb-0 mb-sm-1">
|
||||
<div class="col-8 col-md-10">{$table_data[table_data].bezeichnung}</div>
|
||||
<div class="col-4 col-md-2">
|
||||
<a class="btn btn-success btn-rounded btn-icon btn-sm" data-bs-toggle="modal" value="{$table_data[table_data].rid}|rollenzuordnung.php" onclick="ShowZuordnung(this)" data-bs-target="#ZuordnungModal"><i class="fa fa-eye" style="width:18px;"></i></a>
|
||||
<a class="btn btn-success btn-rounded btn-icon btn-sm" data-bs-toggle="modal" value="{$table_data[table_data].rid}|userzuordnung.php" onclick="ShowZuordnung(this)" data-bs-target="#ZuordnungModal"><i class="fa fa-user" style="width:18px;"></i></a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{/section}
|
||||
<!-- Modal -->
|
||||
<div class="modal" id="ZuordnungModal" tabindex="-1" aria-labelledby="ZuordnungModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-xl">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="ZuordnungModalLabel">Rollenübersicht</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
||||
<!--<button type="button" class="btn btn-primary">Save changes</button>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Lösen Sie das Modal mit einem Button aus -->
|
||||
{literal}
|
||||
<script>
|
||||
function ShowZuordnung(a){
|
||||
let receive = a.getAttribute("value");
|
||||
var a = receive.split('|');
|
||||
var value = a[0];
|
||||
var file = a[1];
|
||||
|
||||
$( '.modal-body' ).load( file+'?edit='+value , function () {
|
||||
$( '#ZuordnungModal' ).modal({show: true });
|
||||
});
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="msg"></div>
|
||||
</main>
|
||||
<!--
|
||||
<button type="button" class="btn btn-primary" data-bs-toggle="popover" title="Popover Header" data-bs-content="Some content inside the popover">
|
||||
Toggle popover
|
||||
</button>
|
||||
-->
|
||||
<!-- footer -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
<script>
|
||||
var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'))
|
||||
var popoverList = popoverTriggerList.map(function (popoverTriggerEl) {
|
||||
return new bootstrap.Popover(popoverTriggerEl)
|
||||
})
|
||||
</script>
|
||||
-->
|
||||
</body>
|
||||
</html>
|
||||
{/if}
|
||||
|
93
templates/modern/dashboard/rollenzuordnung.html
Normal file
93
templates/modern/dashboard/rollenzuordnung.html
Normal file
@ -0,0 +1,93 @@
|
||||
{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>
|
||||
<style>
|
||||
.btn-group > .btn{
|
||||
margin-bottom:20px;
|
||||
border-radius:20px !important;
|
||||
}
|
||||
</style>
|
||||
<style type="text/css">
|
||||
.ui-sortable tr {
|
||||
cursor:pointer;
|
||||
}
|
||||
.ui-sortable tr:hover {
|
||||
background:rgba(244,251,17,0.45);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<!--<body onload="if(document.erfassen)document.erfassen.{$umfrageerf_focus}.focus();return false;">-->
|
||||
<body class="sb-nav-fixed">
|
||||
<main>
|
||||
<!--Anwendung-->
|
||||
<script src="../js/components/admin_rollen.js"></script>
|
||||
<p class="text-center"><b>{$rollenzuordnung_bezeichnung}</b></p>
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table me-1"></i>
|
||||
Nicht zugewiesene Rechte
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row mt-0 mt-sm-1 mb-0 mb-sm-1">
|
||||
<div class="row mt-0 mb-0">
|
||||
<div class="d-none col-md-10 d-md-block"><b>Recht</b></div>
|
||||
<div class="d-none col-md-2 d-md-block"><b>Aktion</b></div>
|
||||
</div>
|
||||
{section name=table_data loop=$table_data}
|
||||
<div class="row mt-0 mt-sm-1 mb-0 mb-sm-1">
|
||||
<div class="col-10 col-md-10">{$table_data[table_data].headline}</div>
|
||||
<div class="col-2 col-md-2"><a class="btn btn-success btn-rounded btn-icon btn-sm" onclick="erfzuordnung('{$table_data[table_data].meid}|{$rollen_edit}')"><i class="fa-solid fa-plus" style="width:18px;"></i></a></div>
|
||||
</div>
|
||||
{/section}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table me-1"></i>
|
||||
Zugewiesene Rechte
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row mt-0 mt-sm-1 mb-0 mb-sm-1">
|
||||
<div class="row mt-0 mb-0">
|
||||
<div class="d-none col-md-10 d-md-block"><b>Recht</b></div>
|
||||
<div class="d-none col-md-2 d-md-block"><b>Aktion</b></div>
|
||||
</div>
|
||||
{section name=table_data1 loop=$table_data1}
|
||||
<div class="row mt-0 mt-sm-1 mb-0 mb-sm-1">
|
||||
<div class="col-10 col-md-10">{$table_data1[table_data1].headline}</div>
|
||||
<div class="col-2 col-md-2"><a class="btn btn-danger btn-rounded btn-icon btn-sm" onclick="delzuordnung('{$table_data1[table_data1].meid}|{$rollen_edit}')"><i class="fa-solid fa-minus" style="width:18px;"></i></a></div>
|
||||
</div>
|
||||
{/section}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="msg"></div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../bootstrap/node_modules/move-js/move.js"></script>
|
||||
<link href="../bootstrap/dist/scrollable-tabs.min.css" rel="stylesheet">
|
||||
<script src="../bootstrap/dist/scrollable-tabs.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
{/if}
|
@ -41,7 +41,7 @@
|
||||
<p class="card-text">Herzlich willkommen zur Administration von Jugendchor & Miteinander.<br><br>
|
||||
</p>
|
||||
|
||||
|
||||
<!--
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xl-3 col-md-6">
|
||||
@ -77,7 +77,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
-->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
149
templates/modern/dashboard/userzuordnung.html
Normal file
149
templates/modern/dashboard/userzuordnung.html
Normal file
@ -0,0 +1,149 @@
|
||||
{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>
|
||||
|
||||
<!-- data Table: https://datatables.net/ -->
|
||||
<script src="../bootstrap/data-table/jquery.min.js"></script>
|
||||
<link rel="stylesheet" href="../bootstrap/data-table/dataTables.bootstrap5.min.css"></style>
|
||||
<link rel="stylesheet" href="../bootstrap/data-table/rowReorder.dataTables.min.css"></style>
|
||||
<script type="text/javascript" src="../bootstrap/data-table/jquery.dataTables.min.js"></script>
|
||||
<script type="text/javascript" src="../bootstrap/data-table/dataTables.rowReorder.min.js"></script>
|
||||
<script type="text/javascript" src="../bootstrap/data-table/dataTables.bootstrap5.min.js"></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>
|
||||
<style>
|
||||
.btn-group > .btn{
|
||||
margin-bottom:20px;
|
||||
border-radius:20px !important;
|
||||
}
|
||||
|
||||
.ui-sortable tr {
|
||||
cursor:pointer;
|
||||
}
|
||||
.ui-sortable tr:hover {
|
||||
background:rgba(244,251,17,0.45);
|
||||
}
|
||||
.table>:not(caption)>*>* {
|
||||
padding: 0.1rem 0.1rem;
|
||||
}
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<!--<body onload="if(document.erfassen)document.erfassen.{$umfrageerf_focus}.focus();return false;">-->
|
||||
<body class="sb-nav-fixed">
|
||||
<main>
|
||||
<!--Anwendung-->
|
||||
<script src="../js/components/admin_rollen.js"></script>
|
||||
<p class="text-center"><b>{$rollenzuordnung_bezeichnung}</b></p>
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table me-1"></i>
|
||||
Nicht zugewiesene Rechte
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<table id="notassigned" class="table table-striped table-bordered table-responsive table-hover" >
|
||||
<thead class="d-none">
|
||||
<tr>
|
||||
<th>Vorname</th>
|
||||
<th>Nachname</th>
|
||||
<th>Aktion</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{section name=table_data loop=$table_data}
|
||||
<tr>
|
||||
<td>{$table_data[table_data].vorname}</td>
|
||||
<td>{$table_data[table_data].nachname}</td>
|
||||
<td>
|
||||
<p class="text-center">
|
||||
<a class="btn btn-success btn-rounded btn-icon btn-sm" onclick="erfuser('{$table_data[table_data].uid}|{$rollen_edit}')"><i class="fa-solid fa-plus" style="width:18px;"></i></a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table me-1"></i>
|
||||
Zugewiesene Rechte
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<table id="assigned" class="table table-striped table-bordered table-responsive table-hover" >
|
||||
<thead class="d-none">
|
||||
<tr>
|
||||
<th>Vorname</th>
|
||||
<th>Nachname</th>
|
||||
<th>Aktion</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{section name=table_data1 loop=$table_data1}
|
||||
<tr>
|
||||
<td>{$table_data1[table_data1].vorname}</td>
|
||||
<td>{$table_data1[table_data1].nachname}</td>
|
||||
<td>
|
||||
<p class="text-center">
|
||||
<a class="btn btn-danger btn-rounded btn-icon btn-sm" onclick="deluser('{$table_data1[table_data1].uid}|{$rollen_edit}')"><i class="fa-solid fa-minus" style="width:18px;"></i></a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div id="msg"></div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../bootstrap/node_modules/move-js/move.js"></script>
|
||||
<link href="../bootstrap/dist/scrollable-tabs.min.css" rel="stylesheet">
|
||||
<script src="../bootstrap/dist/scrollable-tabs.min.js"></script>
|
||||
</body>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
var table = new DataTable('#notassigned', {
|
||||
rowReorder: true,
|
||||
pageLength: 5,
|
||||
language: {
|
||||
url: '//cdn.datatables.net/plug-ins/1.13.4/i18n/de-DE.json',
|
||||
},
|
||||
});
|
||||
|
||||
var table2 = new DataTable('#assigned', {
|
||||
rowReorder: true,
|
||||
pageLength: 5,
|
||||
language: {
|
||||
url: '//cdn.datatables.net/plug-ins/1.13.4/i18n/de-DE.json',
|
||||
},
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
{/if}
|
Reference in New Issue
Block a user