CodeIgniter 3 app for dinbestehjelper.no. Excludes vendor/, local backup folders (new/, archive/, archived/) and DB dumps (*.sql) via .gitignore. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P16ttGUge8zj91dm6WrmEb
75 lines
2.6 KiB
PHP
75 lines
2.6 KiB
PHP
<div class="tableContainer">
|
|
<form method="post" action="">
|
|
|
|
<div class="tableTitle">Felhasználó szintű jogosultságok</div>
|
|
<!--<input type="text" class="formInputBox" style="margin-bottom:20px;padding:5px;font-size:15px;color:gray;max-width:350px;" onfocus="this.value=''" onfocusout="this.value='felhasználó keresés...'" value="felhasználó keresés...">-->
|
|
<table class="tableClass">
|
|
<tr class="tableHeader" style="position: sticky;">
|
|
<td>#</td>
|
|
<td style="text-align:left">Név</td>
|
|
<td style="text-align:left;width:270px;">Felhasználói név</td>
|
|
<?php
|
|
foreach($modules as $moduleItem){
|
|
echo '<td>'.$moduleItem->module_name.'</td>';
|
|
}
|
|
?>
|
|
</tr>
|
|
<?php
|
|
echo $usersPrivilegesView;
|
|
?>
|
|
</table>
|
|
|
|
<div class="tableTitle">Csoport szintű jogosultságok</div>
|
|
<table class="tableClass">
|
|
<tr class="tableHeader" style="position: sticky; top: 87px;">
|
|
<td>#</td>
|
|
<td style="text-align:left">Csoport szint</td>
|
|
<?php
|
|
foreach($modules as $moduleItem){
|
|
echo '<td>'.$moduleItem->module_name.'</td>';
|
|
}
|
|
?>
|
|
</tr>
|
|
<?php
|
|
echo $groupModuleView;
|
|
?>
|
|
</table>
|
|
|
|
<input type="submit" name="updatePermission" class="submitButton" value="Mentés">
|
|
</form>
|
|
|
|
<button style="
|
|
display: none;
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 30px;
|
|
z-index: 99;
|
|
border: none;
|
|
outline: none;
|
|
background-color: #222260;
|
|
color: white;
|
|
cursor: pointer;
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
font-size: 18px"
|
|
class="goToTopButton" onclick="topFunction()" id="myTopBtn" title="Go to top">Ugrás az oldal tetejére</button>
|
|
</div>
|
|
|
|
<script>
|
|
//go to top button
|
|
let myTopBtn = document.getElementById("myTopBtn");
|
|
window.onscroll = function() {scrollFunction()};
|
|
|
|
function scrollFunction() {
|
|
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
|
|
myTopBtn.style.display = "block";
|
|
} else {
|
|
myTopBtn.style.display = "none";
|
|
}
|
|
}
|
|
|
|
function topFunction() {
|
|
document.body.scrollTop = 0;
|
|
document.documentElement.scrollTop = 0;
|
|
}
|
|
</script>
|