first commit
This commit is contained in:
commit
b71ea45681
898 changed files with 138202 additions and 0 deletions
1
static/assets/js/modal-add-role.js
Normal file
1
static/assets/js/modal-add-role.js
Normal file
|
@ -0,0 +1 @@
|
|||
"use strict";document.addEventListener("DOMContentLoaded",function(e){{FormValidation.formValidation(document.getElementById("addRoleForm"),{fields:{modalRoleName:{validators:{notEmpty:{message:"Please enter role name"}}}},plugins:{trigger:new FormValidation.plugins.Trigger,bootstrap5:new FormValidation.plugins.Bootstrap5({eleValidClass:"",rowSelector:".col-12"}),submitButton:new FormValidation.plugins.SubmitButton,autoFocus:new FormValidation.plugins.AutoFocus}});const t=document.querySelector("#selectAll"),o=document.querySelectorAll('[type="checkbox"]');t.addEventListener("change",t=>{o.forEach(e=>{e.checked=t.target.checked})})}});
|
Loading…
Add table
Add a link
Reference in a new issue