2015-08-23 22:38:18 +02:00
|
|
|
<div class="modal" id="aclModal">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
<h4 class="modal-title">{{$aclModalTitle}}</h4>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2015-11-15 19:51:39 +01:00
|
|
|
{{if $jotnets}}
|
|
|
|
<div class="jotnets-wrapper" role="tab" id="jotnets-wrapper">
|
2015-12-06 02:08:25 +01:00
|
|
|
<a data-toggle="collapse" class="btn btn-block btn-default" href="#jotnets-collapse" aria-expanded="false" aria-controls="jotnets-collapse">{{$jnetModalTitle}} <span class="caret"></span></a>
|
|
|
|
</div>
|
2015-11-15 19:51:39 +01:00
|
|
|
<div id="jotnets-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="acl-select">
|
2015-12-06 02:08:25 +01:00
|
|
|
{{$jotnets}}
|
|
|
|
<div class="clear"></div>
|
2015-11-15 19:51:39 +01:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2015-08-23 22:38:18 +02:00
|
|
|
<div id="acl-wrapper">
|
|
|
|
<button id="acl-showall" class="btn btn-block btn-default"><i class="icon-globe"></i> {{$showall}}</button>
|
|
|
|
<input type="text" id="acl-search" placeholder="">
|
2015-11-15 19:51:39 +01:00
|
|
|
|
2015-08-23 22:38:18 +02:00
|
|
|
<div id="acl-list">
|
|
|
|
<div id="acl-list-content"></div>
|
2015-11-15 19:51:39 +01:00
|
|
|
|
2015-08-23 22:38:18 +02:00
|
|
|
</div>
|
|
|
|
<span id="acl-fields"></span>
|
|
|
|
</div>
|
2015-11-15 19:51:39 +01:00
|
|
|
|
2015-08-23 22:38:18 +02:00
|
|
|
<div class="acl-list-item" rel="acl-template" style="display:none">
|
|
|
|
<img data-src="{0}"><p>{1}</p>
|
|
|
|
<button class="acl-button-hide btn btn-xs btn-default"><i class="icon-remove"></i> {{$hide}}</button>
|
|
|
|
<button class="acl-button-show btn btn-xs btn-default"><i class="icon-ok"></i> {{$show}}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer clear">
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">{{$aclModalDismiss}}</button>
|
|
|
|
</div>
|
|
|
|
</div><!-- /.modal-content -->
|
|
|
|
</div><!-- /.modal-dialog -->
|
|
|
|
</div><!-- /.modal -->
|
|
|
|
|
|
|
|
<script>
|
2015-12-06 02:08:25 +01:00
|
|
|
if(typeof acl=="undefined"){
|
|
|
|
acl = new ACL(
|
|
|
|
baseurl+"/acl",
|
|
|
|
[ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ]
|
|
|
|
);
|
|
|
|
}
|
2015-08-23 22:38:18 +02:00
|
|
|
</script>
|