added build, and added side menu to webserver

This commit is contained in:
arnaucode
2018-04-15 14:20:15 +02:00
parent 3e0ef09e55
commit 9bd5a48bcc
23 changed files with 266 additions and 122 deletions

View File

@@ -0,0 +1,18 @@
<ul class="list-group">
{{range .Items}} {{if .IsDir}}
<br><br>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item active" aria-current="page">
<a href="{{.Path}}">
<i class="fas fa-folder"></i> {{.Name}}
</a>
</li>
</ol>
</nav>
{{else}}
<a href="{{.Path}}" class="list-group-item">
<i class="fas fa-file-alt"></i> {{.Name}}
</a> {{end}} {{end}}
</ul>