]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/threaded_conversation.tpl
Merge pull request #2710 from rabuzarus/0408-jquery_color
[friendica.git] / view / theme / frio / templates / threaded_conversation.tpl
1 <script type="text/javascript" src="view/theme/frio/frameworks/jquery-color/jquery.color.js"></script>
2
3 {{$live_update}}
4
5 {{foreach $threads as $thread}}
6 <hr class="sr-only" />
7 <div id="tread-wrapper-{{$thread.id}}" class="tread-wrapper {{if $thread.threaded}}threaded{{/if}} {{$thread.toplevel}} {{$thread.network}} {{if $thread.thread_level==1}}panel-default panel{{/if}} {{if $thread.thread_level!=1}}comment-wrapper{{/if}}" style="{{if $item.thread_level>2}}margin-left: -15px; margin-right:-16px; margin-bottom:-16px;{{/if}}"><!-- panel -->
8
9                 {{* {{if $thread.type == tag}}
10                         {{include file="wall_item_tag.tpl" item=$thread}}
11                 {{else}}
12                         {{include file="{{$thread.template}}" item=$thread}}
13                 {{/if}} *}} {{include file="{{$thread.template}}" item=$thread}}
14
15 </div><!--./tread-wrapper-->
16 {{/foreach}}
17
18 <div id="conversation-end"></div>
19
20 {{if $dropping}}
21 <a id="item-delete-selected" class="" href="#" title="{{$dropping}}" onclick="deleteCheckedItems();return false;" data-toggle="tooltip">
22         <i class="fa fa-trash" aria-hidden="true"></i>
23 </a>
24 <img id="item-delete-selected-rotator" class="like-rotator" src="images/rotator.gif" style="display: none;" />
25 {{/if}}
26
27 <script>
28     var colWhite = {backgroundColor:'#F5F5F5'};
29     var colShiny = {backgroundColor:'#FFF176'};
30 </script>
31
32 {{if $mode == display}}
33 <script>
34     var id = window.location.pathname.split("/").pop();
35     $(window).scrollTop($('#item-'+id).position().top);
36     $('#item-'+id).animate(colWhite, 1000).animate(colShiny).animate(colWhite, 2000);   
37 </script>
38 {{/if}}
39