Server implementation. (#90)
* Server implementation. - Share the content of a folder as a magnet file. - Web interface with all data needed for sharing data. - New configuration to add several servers - Every time the content of the server folder is changed, the magnet file will be generated again. Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com> * Update dependencies Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com> * Use boltdb piece completion storage. Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
This commit is contained in:
parent
5d4e48f0f9
commit
ddda39b22a
15 changed files with 541 additions and 67 deletions
templates
|
@ -37,6 +37,16 @@
|
|||
<span class="nav-text">Routes</span>
|
||||
</a>
|
||||
</li>
|
||||
{{if eq . "served-folders"}}
|
||||
<li class="active">
|
||||
{{else}}
|
||||
<li>
|
||||
{{end}}
|
||||
<a class="sidenav-item-link" href="/servers">
|
||||
<i class="mdi mdi-folder-upload-outline"></i>
|
||||
<span class="nav-text">Served Folders</span>
|
||||
</a>
|
||||
</li>
|
||||
{{if eq . "logs"}}
|
||||
<li class="active">
|
||||
{{else}}
|
||||
|
@ -47,16 +57,6 @@
|
|||
<span class="nav-text">Logs</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- {{if eq . "watched-folders"}}
|
||||
<li class="active">
|
||||
{{else}}
|
||||
<li>
|
||||
{{end}}
|
||||
<a class="sidenav-item-link" href="/watched">
|
||||
<i class="mdi mdi-folder-upload-outline"></i>
|
||||
<span class="nav-text">Watched Folders</span>
|
||||
</a>
|
||||
</li> -->
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue