2 This is the template used by mod/fbrowser.php
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>
10 {{* The breadcrumb navigation *}}
11 <ol class="path breadcrumb" aria-label="Breadcrumb" role="menu">
12 {{foreach $path as $folder => $name}}
13 <li role="presentation">
14 <button type="button" class="btn btn-link" data-folder="{{$folder}}" role="menuitem">{{$name}}</button>
18 {{* Switch between image and file mode *}}
19 <div class="fbswitcher btn-group btn-group-xs pull-right" aria-label="Switch between image and file mode">
20 <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>
21 <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>
27 {{* List of photo albums *}}
29 <div class="folders media-left" role="navigation" aria-label="Album Navigation">
31 {{foreach $folders as $folder}}
32 <li role="presentation">
33 <button type="button" data-folder="{{$folder}}" role="menuitem">{{$folder}}</button>
40 {{* The main content (images or files) *}}
41 <div class="list {{$type}} media-body" role="main" aria-label="Browser Content">
42 <div class="fbrowser-content-container">
43 {{foreach $files as $f}}
44 <div class="photo-album-image-wrapper">
45 <a href="#" class="photo-album-photo-link" data-link="{{$f.0}}" data-filename="{{$f.1}}" data-img="{{$f.2}}" data-alt="{{$f.3}}">
46 <img src="{{$f.2}}" alt="{{$f.1}}">
56 <button id="upload-{{$type}}" type="button" class="btn btn-primary">{{$upload}}</button>
60 {{* This part contains the conent loader icon which is visible when new conent is loaded *}}
61 <div class="profile-rotator-wrapper" aria-hidden="true" style="display: none;">
62 <i class="fa fa-circle-o-notch fa-spin" aria-hidden="true"></i>