[TASK] Unify element- and linkbrowser styling
[Packages/TYPO3.CMS.git] / typo3 / sysext / recordlist / Resources / Private / Templates / LinkBrowser / File.html
1 <div class="element-browser-panel element-browser-main">
2 <div class="element-browser-main-sidebar">
3 <div class="element-browser-body">
4 <h3><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_browse_links.xlf:folderTree" /></h3>
5 {tree -> f:format.raw()}
6 </div>
7 </div>
8 <div class="element-browser-main-content">
9 <div class="element-browser-body">
10 <f:if condition="{selectedFolder}">
11 <h3><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_browse_links.xlf:files" /></h3>
12 <span title="{selectedFolder.identifier}">
13 {selectedFolderIcon -> f:format.raw()} {selectedFolderTitle}
14 </span>
15 <f:if condition="{itemsInSelectedFolder}">
16 <ul class="list-tree">
17 <f:for each="{itemsInSelectedFolder}" as="file">
18 <li{f:if(condition: '{file.uid} == {currentIdentifier}', then: ' class="active"')}>
19 <span class="list-tree-group">
20 <a href="{file.url}" class="t3js-fileLink list-tree-group" title="{file.name}">
21 <span class="list-tree-icon">
22 <span title="{file.name} ({file.size})">{file.icon -> f:format.raw()}</span>
23 </span>
24 <span class="list-tree-title">{file.title}</span>
25 </a>
26 </span>
27 </li>
28 </f:for>
29 </ul>
30 </f:if>
31 </f:if>
32 {uploadFileForm -> f:format.raw()}
33 {createFolderForm -> f:format.raw()}
34 </div>
35 </div>
36 </div>