2016-03-26 17:43:38 +00:00
|
|
|
<div class="generic-content-wrapper">
|
|
|
|
<div class="section-title-wrapper">
|
|
|
|
<script>
|
|
|
|
function primehub(id) {
|
|
|
|
$.post(baseurl + '/locs','primary='+id,function(data) { window.location.href=window.location.href; });
|
|
|
|
}
|
|
|
|
function drophub(id) {
|
|
|
|
$.post(baseurl + '/locs','drop='+id,function(data) { window.location.href=window.location.href; });
|
|
|
|
}
|
|
|
|
</script>
|
2016-04-30 19:59:02 +00:00
|
|
|
<button class="btn btn-success btn-xs pull-right" onclick="window.location.href='/locs/f=&sync=1'; return false;"><i class="fa fa-refresh"></i> {{$sync}}</button>
|
2016-03-26 17:43:38 +00:00
|
|
|
<h2>{{$header}}</h2>
|
|
|
|
</div>
|
|
|
|
<div class="section-content-wrapper-np">
|
|
|
|
<div class="section-content-warning-wrapper">
|
|
|
|
{{$sync_text}}
|
|
|
|
</div>
|
|
|
|
<div class="section-content-info-wrapper">
|
|
|
|
{{$drop_text}}<br>
|
|
|
|
{{$last_resort}}
|
|
|
|
</div>
|
|
|
|
<table id="locs-index">
|
|
|
|
<tr>
|
|
|
|
<th>{{$addr}}</th>
|
2017-01-24 09:25:31 +00:00
|
|
|
<th class="hidden-xs hidden-sm">{{$loc}}</th>
|
2016-03-26 17:43:38 +00:00
|
|
|
<th>{{$mkprm}}</th>
|
|
|
|
<th>{{$drop}}</th>
|
|
|
|
</tr>
|
|
|
|
{{foreach $hubs as $hub}}
|
|
|
|
{{if ! $hub.deleted }}
|
2016-03-27 20:37:07 +00:00
|
|
|
<tr class="locs-index-row">
|
2016-03-26 17:43:38 +00:00
|
|
|
<td>{{$hub.hubloc_addr}}</td>
|
2017-01-24 09:25:31 +00:00
|
|
|
<td class="hidden-xs hidden-sm">{{$hub.hubloc_url}}</td>
|
2016-04-30 19:59:02 +00:00
|
|
|
<td>{{if $hub.primary}}<i class="fa fa-check-square-o"></i>{{else}}<i class="fa fa-square-o primehub" onclick="primehub({{$hub.hubloc_id}}); return false;"></i>{{/if}}</td>
|
|
|
|
<td><i class="fa fa-trash-o drophub" onclick="drophub({{$hub.hubloc_id}}); return false;"></i></td>
|
2016-03-26 17:43:38 +00:00
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
{{/foreach}}
|
|
|
|
</table>
|
|
|
|
</div>
|
2015-10-27 21:52:54 +00:00
|
|
|
</div>
|