aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-08-20 21:08:15 -0400
committerAndrew Manning <tamanning@zoho.com>2016-08-20 21:08:15 -0400
commit1c61e316b477460f05b263b9a01cc5d37b5e8cb6 (patch)
treefc151860f3899135ec1d5303c21e31e0618b911f /view
parent2d42d587388aeaedf8b53b2b56b3b4ccda37af03 (diff)
downloadvolse-hubzilla-1c61e316b477460f05b263b9a01cc5d37b5e8cb6.tar.gz
volse-hubzilla-1c61e316b477460f05b263b9a01cc5d37b5e8cb6.tar.bz2
volse-hubzilla-1c61e316b477460f05b263b9a01cc5d37b5e8cb6.zip
Block export and re-import works. Fixed bug where layout content was not being imported properly.
Diffstat (limited to 'view')
-rw-r--r--view/tpl/webpage_export_list.tpl36
1 files changed, 36 insertions, 0 deletions
diff --git a/view/tpl/webpage_export_list.tpl b/view/tpl/webpage_export_list.tpl
index faffbf8c6..1df4586b0 100644
--- a/view/tpl/webpage_export_list.tpl
+++ b/view/tpl/webpage_export_list.tpl
@@ -82,6 +82,42 @@
{{/foreach}}
</table>
</div>
+
+ <div class="clear"></div>
+ <h4>Blocks</h4>
+ <div>
+ <table class="table-striped table-responsive table-hover" style="width: 100%;">
+ <thead>
+ <tr><th>Export?</th><th>Block Title</th><th>Block Name</th><th>Type</th></tr>
+ </thead>
+ {{foreach $blocks as $block}}
+ <tr>
+ <td>
+ <div class='squaredThree'>
+ <input type="checkbox" id="block_{{$block.mid}}" name="block[]" value="{{$block.mid}}">
+ <label for="block_{{$block.mid}}"></label>
+ </div>
+ </td>
+ <td>
+ <div class="desc">
+ {{$block.title}}<br>
+ </div>
+ </td>
+ <td>
+ <div class='desc'>
+ {{$block.name}}<br>
+ </div>
+ </td>
+ <td>
+ <div class='desc'>
+ {{$block.mimetype}}<br>
+ </div>
+ </td>
+ </tr>
+ {{/foreach}}
+ </table>
+ </div>
+
</div>
</form>
</div>