From 32366284a8372a4d5c7798b3ee3b238a614915ab Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Sat, 30 Jul 2016 09:56:47 -0400 Subject: Import element selection page added to allow selective importing. --- view/tpl/webpage_import.tpl | 188 +++++++++++++++++++++++++++----------------- 1 file changed, 116 insertions(+), 72 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/webpage_import.tpl b/view/tpl/webpage_import.tpl index 524460408..b047ee6f9 100644 --- a/view/tpl/webpage_import.tpl +++ b/view/tpl/webpage_import.tpl @@ -1,76 +1,120 @@
-
- {{if $editor}} -
- +
+ +
+
+ +
+

{{$title}}

+
+
+
+
+ +
+
+

Scanned Pages

+
+ + + {{foreach $pages as $page}} + + + + + + {{/foreach}} +
Import?PageExisting Page
+
+ + +
+
+
+ Page Link: {{$page.pagelink}}
+ Layout: {{$page.layout}}
+ Title: {{$page.title}}
+ Content File: {{$page.contentfile}}
+ Type: {{$page.type}}
+
+
+
+ Name: {{$page.curpage.pagelink}}
+ Layout: {{$page.curpage.layout}}
+ Title: {{$page.curpage.title}}
+ Last edit: {{$page.curpage.edited}}
+ Type: {{$page.curpage.type}}
+
+
+
+ + +

Scanned Layouts

+
+ + + {{foreach $layouts as $layout}} + + + + + + {{/foreach}} +
Import?LayoutExisting Layout
+
+ + +
+
+
+ Name: {{$layout.name}}
+ Description: {{$layout.description}}
+ Content File: {{$layout.contentfile}}
+
+
+
+ Name: {{$layout.curblock.name}}
+ Title: {{$layout.curblock.description}}
+ Last edit: {{$layout.curblock.edited}}
+
+
+
+ +

Scanned Blocks

+
+ + + {{foreach $blocks as $block}} + + + + + + {{/foreach}} +
Import?BlockExisting Block
+
+ + +
+
+
+ Name: {{$block.name}}
+ Title: {{$block.title}}
+ Content File: {{$block.contentfile}}
+ Type: {{$block.type}}
+
+
+
+ Name: {{$block.curblock.name}}
+ Title: {{$block.curblock.title}}
+ Last edit: {{$block.curblock.edited}}
+ Type: {{$block.curblock.type}}
+
+
+
+
- {{/if}} -

{{$listtitle}}

-
- {{if $editor}} -
- {{$editor}} -
- {{/if}} - {{if $pages}} -
- - - - - - - - - - - - {{foreach $pages as $key => $items}} - {{foreach $items as $item}} - - - - - - - - - - - {{/foreach}} - {{/foreach}} -
{{$pagelink_txt}}{{$title_txt}}
- {{if $view}} - {{$item.pagetitle}} - {{else}} - {{$item.pagetitle}} - {{/if}} - - {{$item.title}} - - {{if $edit}} - - {{/if}} - - {{if $item.bb_element}} - - {{/if}} - - {{if $edit}} - - {{/if}} -
-
- {{/if}} -
+
+ -- cgit v1.2.3