aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/sharedwithme.tpl
blob: 7f37726a7e5e7deacfb2bed87adf2b000f79de05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<div class="generic-content-wrapper">
	<div class="section-title-wrapper">
		<a href="/sharedwithme/dropall" onclick="return confirmDelete();" class="btn btn-sm btn-outline-secondary float-end"><i class="bi bi-trash"></i>&nbsp;{{$dropall}}</a>
		<h2>{{$header}}</h2>
	</div>
	<div class="section-content-wrapper-np">
		<table id="cloud-index">
			<tr>
				<th width="1%"></th>
				<th width="92%">{{$name}}</th>
				<th width="1%"></th>
				<th width="1%" class="d-none d-md-table-cell">{{$size}}</th>
				<th width="1%" class="d-none d-md-table-cell">{{$lastmod}}</th>
			</tr>
		{{foreach $items as $item}}
			<tr id="cloud-index-{{$item.id}}">
				<td><i class="bi {{$item.objfiletypeclass}}" title="{{$item.objfiletype}}"></i></td>
				<td><a href="{{$item.objurl}}">{{$item.objfilename}}</a>{{if $item.unseen}}&nbsp;<span class="badge badge-pill badge-success">{{$label_new}}</span>{{/if}}</td>
				<td class="cloud-index-tool"><a href="#" title="{{$drop}}" onclick="dropItem('/sharedwithme/{{$item.id}}/drop', '#cloud-index-{{$item.id}}'); return false;"><i class="bi bi-trash drop-icons"></i></a></td>
				<td class="d-none d-md-table-cell">{{$item.objfilesize}}</td>
				<td class="d-none d-md-table-cell">{{$item.objedited}}</td>
			</tr>
		{{/foreach}}
		</table>
	</div>
</div>