mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 20:35:12 +00:00
c97222c2fc
it really needs to be re-worked for bootstrap but in any event the words "show" and "don't show" make a mess of it. We should probably just use icons (with a bit of padding) that people can select with a touchscreen and reformat the box accordingly.
28 lines
623 B
Smarty
Executable file
28 lines
623 B
Smarty
Executable file
<div id="acl-wrapper">
|
|
<input id="acl-search">
|
|
<a href="#" id="acl-showall">{{$showall}}</a>
|
|
<div id="acl-list">
|
|
<div id="acl-list-content">
|
|
</div>
|
|
</div>
|
|
<span id="acl-fields"></span>
|
|
</div>
|
|
|
|
<div class="acl-list-item" rel="acl-template" style="display:none">
|
|
<img src="{0}"><p>{1}</p>
|
|
<a href="#" class='acl-button-show'></a>
|
|
<a href="#" class='acl-button-hide'></a>
|
|
</div>
|
|
|
|
<script>
|
|
$(document).ready(function() {
|
|
setTimeout( function () {
|
|
if(typeof acl=="undefined"){
|
|
acl = new ACL(
|
|
baseurl+"/acl",
|
|
[ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ]
|
|
);
|
|
}
|
|
}, 5000 );
|
|
});
|
|
</script>
|