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 photo and attachment mode">
20 <button type="button" class="btn btn-default" data-mode="photo" aria-label="Photo Mode"><i class="fa fa-picture-o" aria-hidden="true"></i></button>
21 <button type="button" class="btn btn-default" data-mode="attachment" aria-label="Attachment Mode"><i class="fa fa-file-o" aria-hidden="true"></i></button>
26 <button id="upload-{{$type}}" type="button" class="btn btn-primary">{{$upload}}</button>
31 {{* List of photo albums *}}
33 <div class="folders media-left" role="navigation" aria-label="Album Navigation">
35 {{foreach $folders as $folder}}
36 <li role="presentation">
37 <button type="button" data-folder="{{$folder}}" role="menuitem">{{$folder}}</button>
44 {{* The main content (images or files) *}}
45 <div class="list {{$type}} media-body" role="main" aria-label="Browser Content">
46 <div class="fbrowser-content-container">
47 {{foreach $files as $f}}
48 <div class="photo-album-image-wrapper">
49 <a href="#" class="photo-album-photo-link" data-link="{{$f.0}}" data-filename="{{$f.1}}" data-img="{{$f.2}}" data-alt="{{$f.3}}">
50 <img src="{{$f.2}}" alt="{{$f.1}}">
61 {{* This part contains the content loader icon which is visible when new content is loaded *}}
62 <div class="profile-rotator-wrapper" aria-hidden="true" style="display: none;">
63 <i class="fa fa-circle-o-notch fa-spin" aria-hidden="true"></i>