]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/filebrowser.tpl
Merge branch 'bug/phpinfo-accessible-hotfix' into develop
[friendica.git] / view / theme / frio / templates / filebrowser.tpl
1 <!--
2         This is the template used by mod/fbrowser.php
3 -->
4 <div id="filebrowser" class="fbrowser {{$type}}" data-nickname="{{$nickname}}" data-type="{{$type}}">
5         <div class="fbrowser-content">
6                 <div class="error hidden">
7                         <span></span> <button type="button" class="btn btn-link close" aria-label="Close">X</button>
8                 </div>
9
10                 {{* The breadcrumb navigation *}}
11                 <ol class="path breadcrumb" aria-label="Breadcrumb" role="navigation">
12                 {{foreach $path as $folder => $name}}
13                         <li role="presentation"><a href="#" data-folder="{{$folder}}">{{$name}}</a></li>
14                 {{/foreach}}
15
16                         {{* Switch between image and file mode *}}
17                         <div class="fbswitcher btn-group btn-group-xs pull-right" aria-label="Switch between image and file mode">
18                                 <button type="button" class="btn btn-default" data-mode="image" aria-label="Image Mode"><i class="fa fa-picture-o" aria-hidden="true"></i></button>
19                                 <button type="button" class="btn btn-default" data-mode="file" aria-label="File Mode"><i class="fa fa-file-o" aria-hidden="true"></i></button>
20                         </div>
21                 </ol>
22
23                 <div class="media">
24
25                         {{* List of photo albums *}}
26                         {{if $folders }}
27                         <div class="folders media-left" role="navigation" aria-label="Album Navigation">
28                                 <ul role="menu">
29                                         {{foreach $folders as $folder}}
30                                         <li role="presentation">
31                                                 <a href="#" data-folder="{{$folder}}" role="menuitem">{{$folder}}</a>
32                                         </li>
33                                         {{/foreach}}
34                                 </ul>
35                         </div>
36                         {{/if}}
37
38                         {{* The main content (images or files) *}}
39                         <div class="list {{$type}} media-body" role="main" aria-label="Browser Content">
40                                 <div class="fbrowser-content-container">
41                                         {{foreach $files as $f}}
42                                         <div class="photo-album-image-wrapper">
43                                                 <a href="#" class="photo-album-photo-link" data-link="{{$f.0}}" data-filename="{{$f.1}}" data-img="{{$f.2}}">
44                                                         <img src="{{$f.2}}" alt="{{$f.1}}">
45                                                         <p>{{$f.1}}</p>
46                                                 </a>
47                                         </div>
48                                         {{/foreach}}
49                                 </div>
50                         </div>
51                 </div>
52
53                 <div class="upload">
54                         <button id="upload-{{$type}}" type="button" class="btn btn-primary">{{$upload}}</button>
55                 </div>
56         </div>
57
58         {{* This part contains the conent loader icon which is visible when new conent is loaded *}}
59         <div class="profile-rotator-wrapper" aria-hidden="true" style="display: none;">
60                 <i class="fa fa-circle-o-notch fa-spin" aria-hidden="true"></i>
61         </div>
62 </div>