2016-06-14 19:33:59 +00:00
|
|
|
{{ define "actions" }}
|
2016-06-22 21:18:21 +00:00
|
|
|
<div class="action" id="open">
|
2016-08-02 18:50:53 +00:00
|
|
|
<i class="material-icons" title="See raw">open_in_new</i> <span>See raw</span>
|
2016-06-22 21:18:21 +00:00
|
|
|
</div>
|
|
|
|
{{ if .IsDir }}
|
|
|
|
<div class="action" id="rename">
|
2016-08-02 18:50:53 +00:00
|
|
|
<i class="material-icons" title="Edit">mode_edit</i>
|
2016-06-22 21:18:21 +00:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
<div class="action" id="download">
|
2016-08-02 18:50:53 +00:00
|
|
|
<i class="material-icons" title="Download">file_download</i> <span>Download</span>
|
2016-06-22 21:18:21 +00:00
|
|
|
</div>
|
|
|
|
<div class="action" id="delete">
|
2016-08-02 18:50:53 +00:00
|
|
|
<i class="material-icons" title="Delete">delete</i> <span>Delete</span>
|
2016-06-22 21:18:21 +00:00
|
|
|
</div>
|
2016-06-14 19:33:59 +00:00
|
|
|
{{ end }}
|