filebrowser/assets/embed/templates/actions.tmpl

17 lines
466 B
Cheetah

{{ define "actions" }}
<div class="action" id="open">
<i class="material-icons">open_in_new</i> <span>See raw</span>
</div>
{{ if .IsDir }}
<div class="action" id="rename">
<i class="material-icons">mode_edit</i>
</div>
{{ end }}
<div class="action" id="download">
<i class="material-icons">file_download</i> <span>Download</span>
</div>
<div class="action" id="delete">
<i class="material-icons">delete</i> <span>Delete</span>
</div>
{{ end }}