mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
18 lines
508 B
Cheetah
18 lines
508 B
Cheetah
{{ define "item" }}
|
|
<div ondragstart="listing.itemDragStart(event)"
|
|
{{ if .IsDir}}ondragover="listing.itemDragOver(event)" ondrop="listing.itemDrop(event)"{{ end }}
|
|
|
|
onclick="listing.selectItem(event)"
|
|
ondblclick="listing.openItem(event)"
|
|
data-dir="{{ .IsDir }}"
|
|
data-url="{{ .URL }}">
|
|
|
|
<div>
|
|
|
|
<p class="modified">
|
|
<time datetime="{{.HumanModTime "2006-01-02T15:04:05Z"}}">{{.HumanModTime "2 Jan 2006 03:04 PM"}}</time>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
{{ end }}
|