aboutsummaryrefslogtreecommitdiff
path: root/templates/garage_website_list.html
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-09-25 19:07:07 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-09-25 19:07:07 +0200
commitbc368943a4c0853718b8a53b1caadc297412ef32 (patch)
tree36a6510319ed137c602a3dce6eb98f1a85e4ef97 /templates/garage_website_list.html
parentbe97a1be587f42a4688825244b025b06172c442a (diff)
downloadguichet-bc368943a4c0853718b8a53b1caadc297412ef32.tar.gz
guichet-bc368943a4c0853718b8a53b1caadc297412ef32.zip
heavy refactor in progress
Diffstat (limited to 'templates/garage_website_list.html')
-rw-r--r--templates/garage_website_list.html38
1 files changed, 0 insertions, 38 deletions
diff --git a/templates/garage_website_list.html b/templates/garage_website_list.html
deleted file mode 100644
index 0f4a3b3..0000000
--- a/templates/garage_website_list.html
+++ /dev/null
@@ -1,38 +0,0 @@
-{{define "title"}}Sites webs |{{end}}
-
-{{define "body"}}
-
-<div class="d-flex">
- <h4>Sites webs</h4>
- <a class="ml-auto btn btn-link" href="/garage/key">Mes identifiants</a>
- <a class="ml-4 btn btn-success" href="/garage/website/new">Nouveau site web</a>
- <a class="ml-4 btn btn-info" href="/">Menu principal</a>
-</div>
-
-<table class="table mt-4">
- <thead>
- <th scope="col">ID</th>
- <th scope="col">URLs</th>
- </thead>
- <tbody>
- {{ range $buck := .S3KeyInfo.Buckets }}
- {{ if $buck.GlobalAliases }}
- <tr>
- <td>
- <a href="/garage/website/b/{{$buck.Id}}">{{$buck.Id}}</a>
- </td>
- <td>
- {{ range $alias := $buck.GlobalAliases }}
- {{ if contains $alias "." }}
- https://{{ $alias }}
- {{ else }}
- https://{{ $alias }}.web.deuxfleurs.fr
- {{ end }}
- {{ end }}
- </td>
- </tr>
- {{ end }}
- {{ end }}
- </tbody>
-</table>
-{{end}}