From 71e0e55b0b5bc1746cb481056b027e76c1821ef7 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 30 Oct 2017 18:49:18 -0700 Subject: provide a 'tile' view (view only) mode to mod_cloud --- view/tpl/cloud_directory.tpl | 35 +++++++++++++++++++++++++++++++++++ view/tpl/cloud_header.tpl | 1 + 2 files changed, 36 insertions(+) (limited to 'view/tpl') diff --git a/view/tpl/cloud_directory.tpl b/view/tpl/cloud_directory.tpl index e8ae6a590..3beeb4f8a 100644 --- a/view/tpl/cloud_directory.tpl +++ b/view/tpl/cloud_directory.tpl @@ -1,4 +1,38 @@
+ {{if $tiles}} + + {{if $parentpath}} +
+ +
.. +
+
+ {{/if}} + + {{foreach $entries as $item}} + + {{/foreach}} +
+ {{else}} @@ -42,4 +76,5 @@ {{/foreach}}
+ {{/if}}
diff --git a/view/tpl/cloud_header.tpl b/view/tpl/cloud_header.tpl index c1e589341..468f2febc 100644 --- a/view/tpl/cloud_header.tpl +++ b/view/tpl/cloud_header.tpl @@ -1,6 +1,7 @@
{{if $actionspanel}}
+ {{if $is_owner}}  {{$shared}} {{/if}} -- cgit v1.2.3 From 16a2bfa95b5ba487825213239e759e23893cf7ab Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 30 Oct 2017 21:00:17 -0700 Subject: move tile styles to theme instead of template file --- view/tpl/cloud_directory.tpl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/cloud_directory.tpl b/view/tpl/cloud_directory.tpl index 3beeb4f8a..40278661f 100644 --- a/view/tpl/cloud_directory.tpl +++ b/view/tpl/cloud_directory.tpl @@ -2,27 +2,27 @@ {{if $tiles}} {{if $parentpath}} -
+
-
.. +
{{/if}} {{foreach $entries as $item}} -
+
-
+ -- cgit v1.2.3 From 6efef3922b9fe6864c0855e6407b77ca54af70c5 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 31 Oct 2017 15:41:44 -0700 Subject: add another delivery control parameter (force queue threshold) --- view/tpl/admin_site.tpl | 1 + 1 file changed, 1 insertion(+) (limited to 'view/tpl') diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl index d6ff34f93..6b39e844a 100755 --- a/view/tpl/admin_site.tpl +++ b/view/tpl/admin_site.tpl @@ -88,6 +88,7 @@ {{include file="field_input.tpl" field=$timeout}} {{include file="field_input.tpl" field=$delivery_interval}} {{include file="field_input.tpl" field=$delivery_batch_count}} + {{include file="field_input.tpl" field=$force_queue}} {{include file="field_input.tpl" field=$poll_interval}} {{include file="field_input.tpl" field=$maxloadavg}} {{include file="field_input.tpl" field=$abandon_days}} -- cgit v1.2.3 From bff1e215cce27706fabe9f1764bce5c5a5b3b434 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 31 Oct 2017 18:04:01 -0700 Subject: pdledit - show original/system layout text for comparison --- view/tpl/pdledit.tpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'view/tpl') diff --git a/view/tpl/pdledit.tpl b/view/tpl/pdledit.tpl index 2ea89b6c1..66b8209c9 100644 --- a/view/tpl/pdledit.tpl +++ b/view/tpl/pdledit.tpl @@ -11,7 +11,10 @@

+
{{$original}}
+
{{$src}}
+
-- cgit v1.2.3 From 98b53801e062f1fe1b5ae16c6e30635b21ebef91 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 31 Oct 2017 19:56:14 -0700 Subject: provide personal config for channel_menu; the site can set an initial site-wide value but this but there isn't a corresponding admin setting currently and can only be set by manual config --- view/tpl/settings_display.tpl | 1 + 1 file changed, 1 insertion(+) (limited to 'view/tpl') diff --git a/view/tpl/settings_display.tpl b/view/tpl/settings_display.tpl index d8c1ac7aa..d1e6e0609 100755 --- a/view/tpl/settings_display.tpl +++ b/view/tpl/settings_display.tpl @@ -64,6 +64,7 @@ {{include file="field_input.tpl" field=$channel_divmore_height}} {{include file="field_input.tpl" field=$network_divmore_height}} {{include file="field_checkbox.tpl" field=$nosmile}} + {{include file="field_checkbox.tpl" field=$channel_menu}} {{include file="field_checkbox.tpl" field=$title_tosource}} {{include file="field_checkbox.tpl" field=$channel_list_mode}} {{include file="field_checkbox.tpl" field=$network_list_mode}} -- cgit v1.2.3 From 22d45a8d1ecfa0a0a2b8429ec3233e7099e84b66 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 1 Nov 2017 02:53:12 -0700 Subject: support for netselect query --- view/tpl/build_query.tpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view/tpl') diff --git a/view/tpl/build_query.tpl b/view/tpl/build_query.tpl index a76d4e549..bfe5c8a08 100755 --- a/view/tpl/build_query.tpl +++ b/view/tpl/build_query.tpl @@ -29,6 +29,7 @@ var bParam_dbegin = "{{$dbegin}}"; var bParam_mid = "{{$mid}}"; var bParam_verb = "{{$verb}}"; + var bParam_net = "{{$net}}"; function buildCmd() { var udargs = ((page_load) ? "/load" : ""); @@ -57,6 +58,7 @@ if(bParam_dbegin != "") bCmd = bCmd + "&dbegin=" + bParam_dbegin; if(bParam_mid != "") bCmd = bCmd + "&mid=" + bParam_mid; if(bParam_verb != "") bCmd = bCmd + "&verb=" + bParam_verb; + if(bParam_net != "") bCmd = bCmd + "&net=" + bParam_net; if(bParam_page != 1) bCmd = bCmd + "&page=" + bParam_page; return(bCmd); } -- cgit v1.2.3