diff options
author | friendica <info@friendica.com> | 2014-03-03 20:05:23 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-03 20:05:23 -0800 |
commit | cdd2e9cd953394adfd6331c946466f3165606e29 (patch) | |
tree | 648e3d82189d1a462beee7868d1682594cc0e180 /view | |
parent | bfd9f5ec87ed0b21e278ea5c94016623c9985850 (diff) | |
download | volse-hubzilla-cdd2e9cd953394adfd6331c946466f3165606e29.tar.gz volse-hubzilla-cdd2e9cd953394adfd6331c946466f3165606e29.tar.bz2 volse-hubzilla-cdd2e9cd953394adfd6331c946466f3165606e29.zip |
layout export to file
Diffstat (limited to 'view')
-rw-r--r-- | view/js/icon_translate.js | 1 | ||||
-rw-r--r-- | view/tpl/layoutlist.tpl | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/view/js/icon_translate.js b/view/js/icon_translate.js index 45deef05b..930d3b265 100644 --- a/view/js/icon_translate.js +++ b/view/js/icon_translate.js @@ -53,4 +53,5 @@ $(document).ready(function() { $('.icon-circle').addClass(''); $('.icon-bookmark').addClass(''); $('.icon-fullscreen').addClass(''); + $('.icon-share').addClass(''); });
\ No newline at end of file diff --git a/view/tpl/layoutlist.tpl b/view/tpl/layoutlist.tpl new file mode 100644 index 000000000..96c692c1c --- /dev/null +++ b/view/tpl/layoutlist.tpl @@ -0,0 +1,19 @@ +{{if $pages}} + + <div id="pagelist-content-wrapper" class="generic-content-wrapper"> + {{foreach $pages as $key => $items}} + {{foreach $items as $item}} + <div class="page-list-item"> + {{if $edit}}<a href="{{$baseurl}}/{{$item.url}}" title="{{$edit}}"><i class="icon-pencil design-icons design-edit-icon"></i></a> {{/if}} + {{if $view}}<a href="page/{{$channel}}/{{$item.title}}" title="{{$view}}"><i class="icon-external-link design-icons design-view-icon"></i></a> {{/if}} + {{if $share}}<a href="layouts/{{$channel}}/share/{{$item.mid}}" title="{{$share}}"><i class="icon-share design-icons"></i></a> {{/if}} + {{if $preview}}<a href="page/{{$channel}}/{{$item.title}}?iframe=true&width=80%&height=80%" title="{{$preview}}" class="webpage-preview" ><i class="icon-eye-open design-icons design-preview-icon"></i></a> {{/if}} + {{$item.title}} + </div> + {{/foreach}} + {{/foreach}} + </div> + + <div class="clear"></div> + +{{/if}} |