Skip to content

Commit

Permalink
Update index
Browse files Browse the repository at this point in the history
  • Loading branch information
rsierra committed Apr 16, 2020
1 parent c182215 commit 9c85e19
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ <h1>Files list in <b>'{{$data.CurrentFolder}}'</b></h1>
<ul>
{{range $folder := $data.Folders}}
<li>
{{.}}:
<a href="{{$data.CurrentFolder}}{{$folder}}"><i class="fa fa-folder"></i></a>
{{.}}
</li>
{{end}}
{{range $file := $data.Files}}
<li>
{{.}}:
<a href="/_app/files{{$data.CurrentFolder}}{{$file}}" download><i class="fa fa-download"></i></a>
<a href="/_app/files{{$data.CurrentFolder}}{{$file}}" class="qr-link"><i class="fa fa-qrcode"></i></a></li>
<a href="/_app/files{{$data.CurrentFolder}}{{$file}}" class="qr-link"><i class="fa fa-qrcode"></i></a>
{{.}}
<!-- <a href="/_app/files{{$data.CurrentFolder}}{{$file}}" download><i class="fa fa-download"></i></a> -->
</li>
{{end}}
</ul>
Expand Down

0 comments on commit 9c85e19

Please sign in to comment.