From 038e7c892376f51f81a2b9769a5a0b69cc17571a Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 5 Nov 2014 18:39:10 -0800 Subject: crude skeleton for location manager and the UI sucks but at least it's on a webpage and you don't have to do it by hand. --- view/css/mod_locs.css | 3 +++ view/tpl/locmanage.tpl | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 view/css/mod_locs.css create mode 100644 view/tpl/locmanage.tpl (limited to 'view') diff --git a/view/css/mod_locs.css b/view/css/mod_locs.css new file mode 100644 index 000000000..95aee6aef --- /dev/null +++ b/view/css/mod_locs.css @@ -0,0 +1,3 @@ +td { +padding: 10px; +} diff --git a/view/tpl/locmanage.tpl b/view/tpl/locmanage.tpl new file mode 100644 index 000000000..5a25850a1 --- /dev/null +++ b/view/tpl/locmanage.tpl @@ -0,0 +1,26 @@ +

{{$header}}

+ + + + + +{{foreach $hubs as $hub}} + + + + +{{/foreach}} +
{{$loc}}{{$mkprm}}{{$drop}}
+{{if $hub.deleted}}{{/if}} +{{$hub.hubloc_url}} ({{$hub.hubloc_addr}}){{if $hub.deleted}}{{/if}} + +{{if $hub.primary}}{{else}}{{/if}} +{{if $hub.primary}}{{else}}{{if ! $hub.deleted}}{{/if}}{{/if}}
+ -- cgit v1.2.3