feat: Add Command-line clients link and web page
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
ff92e30232
commit
70d3892b15
7 changed files with 166 additions and 30 deletions
62
src/server/templates/clients.html
Normal file
62
src/server/templates/clients.html
Normal file
|
@ -0,0 +1,62 @@
|
|||
{{define "clients"}}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="light">
|
||||
|
||||
{{block "head" .}}{{end}}
|
||||
|
||||
<body>
|
||||
{{block "header" .}}{{end}}
|
||||
<div class="container mb-4">
|
||||
<p class="fs-4">Command-line clients</p>
|
||||
</div>
|
||||
|
||||
<div class="container mb-4">
|
||||
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Name</th>
|
||||
<th scope="col">Docs</th>
|
||||
<th scope="col">OS</th>
|
||||
<th scope="col">Arch</th>
|
||||
<th scope="col">Download</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row" rowspan="2">coller</th>
|
||||
<td rowspan="2"><a
|
||||
href="https://git.riou.xyz/jriou/coller/src/{{if .Version}}tag/{{.Version}}{{else}}branch/main{{end}}/src/cmd/coller/README.md">📄</a>
|
||||
</td>
|
||||
<td>Linux</td>
|
||||
<td>x86-64</td>
|
||||
<td><a href="/clients/linux-amd64/coller">💾</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>macOS</td>
|
||||
<td>ARM64</td>
|
||||
<td><a href="/clients/darwin-arm64/coller">💾</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" rowspan="2">copier</th>
|
||||
<td rowspan="2"><a
|
||||
href="https://git.riou.xyz/jriou/coller/src/{{if .Version}}tag/{{.Version}}{{else}}branch/main{{end}}/src/cmd/copier/README.md">📄</a>
|
||||
</td>
|
||||
<td>Linux</td>
|
||||
<td>x86-64</td>
|
||||
<td><a href="/clients/linux-amd64/copier">💾</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>macOS</td>
|
||||
<td>ARM64</td>
|
||||
<td><a href="/clients/darwin-arm64/copier">💾</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{{block "footer" .}}{{end}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
{{end}}
|
|
@ -5,6 +5,11 @@
|
|||
<a class="d-flex mb-3 mb-md-0 me-md-auto text-dark text-decoration-none" id="titleHeader" href="/">
|
||||
<span class="fs-3">{{.Title}}</span>
|
||||
</a>
|
||||
<ul class="nav nav-pills align-items-center">
|
||||
<li class="nav-item px-2">
|
||||
<a href="/clients.html">Command-line clients</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="nav nav-pills align-items-center">
|
||||
<li class="nav-item">
|
||||
<div class="form-check form-switch"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue