diff options
Diffstat (limited to 'view/tpl/locmanage.tpl')
-rw-r--r-- | view/tpl/locmanage.tpl | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/view/tpl/locmanage.tpl b/view/tpl/locmanage.tpl index 40f91a8bb..c94cf60a7 100644 --- a/view/tpl/locmanage.tpl +++ b/view/tpl/locmanage.tpl @@ -1,3 +1,4 @@ +<div class="generic-content-wrapper-styled"> <h2>{{$header}}</h2> <script> @@ -9,18 +10,29 @@ function drophub(id) { } </script> +<div class="descriptive-text">{{$sync_text}}</div> +<br /> +<div class="descriptive-text">{{$drop_text}}</div> +<div class="descriptive-text">{{$last_resort}}</div> +<br /> + + + + <table> <tr><td>{{$loc}}</td><td>{{$mkprm}}</td><td>{{$drop}}</td></tr> {{foreach $hubs as $hub}} +{{if ! $hub.deleted }} <tr><td> -{{if $hub.deleted}}<strike>{{/if}} -{{$hub.hubloc_url}} ({{$hub.hubloc_addr}}){{if $hub.deleted}}</strike>{{/if}}</td> +{{$hub.hubloc_url}} ({{$hub.hubloc_addr}})</td> <td> - -{{if $hub.primary}}<i class="icon-check"></i>{{else}}<button class="btn btn-std" onclick="primehub({{$hub.hubloc_id}}); return false;" ><i class="icon-check-empty" ></i></button>{{/if}} +{{if $hub.primary}}<button class="btn btn-std"><i class="icon-check"></i></button>{{else}}<button class="btn btn-std" onclick="primehub({{$hub.hubloc_id}}); return false;" ><i class="icon-check-empty" ></i></button>{{/if}} </td> -<td>{{if $hub.primary}}{{else}}{{if ! $hub.deleted}}<button class="btn btn-std" onclick="drophub({{$hub.hubloc_id}}); return false;"><i class="icon-trash"></i></button>{{/if}}{{/if}}</td> +<td><button class="btn btn-std" onclick="drophub({{$hub.hubloc_id}}); return false;"><i class="icon-trash"></i></button></td> </tr> +{{/if}} {{/foreach}} </table> - +</div> +<div class="clear"></div> +<button class="btn btn-std" onclick="window.location.href='/locs/f=&sync=1'; return false;">{{$sync}}</button> |