mirror of
https://github.com/arnaucube/padArchiver.git
synced 2026-02-06 19:26:48 +01:00
added build, and added side menu to webserver
This commit is contained in:
18
build/templates/menuTemplate.html
Normal file
18
build/templates/menuTemplate.html
Normal 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>
|
||||
Reference in New Issue
Block a user