aboutsummaryrefslogtreecommitdiff
path: root/templates/garage_website_inspect.html
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-06-24 08:44:22 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-06-24 08:44:22 +0200
commit9cd06c95eba491bce1a60f7d1b2fef320aec1124 (patch)
tree728b48b066bceda167d8d5b57e92d720766ba6eb /templates/garage_website_inspect.html
parent793cb2d3c20d47f3a74f385c4b9aeadf2e2297b0 (diff)
downloadguichet-9cd06c95eba491bce1a60f7d1b2fef320aec1124.tar.gz
guichet-9cd06c95eba491bce1a60f7d1b2fef320aec1124.zip
don't display the global key anymore
Diffstat (limited to 'templates/garage_website_inspect.html')
-rw-r--r--templates/garage_website_inspect.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/garage_website_inspect.html b/templates/garage_website_inspect.html
index a8f463d..af87955 100644
--- a/templates/garage_website_inspect.html
+++ b/templates/garage_website_inspect.html
@@ -59,10 +59,44 @@
{{ end }}
</p>
+ <h5 class="mt-3">Informations de connexion</h5>
+ <table class="table mt-4">
+ <tbody>
+ <tr>
+ <th scope="row" class="col-md-2">Identifiant de clé</th>
+ <td>{{ .View.AccessKeyId }}</td>
+ </tr>
+ <tr>
+ <th scope="row">Clé secrète</th>
+ <td>
+ <a href="#" onclick="document.getElementById('secret_key').style.display='inline'; this.style.display='none'">Cliquer pour afficher la clé secrète</a>
+ <span id="secret_key" style="display: none">{{ .View.SecretAccessKey }}</span>
+ </td>
+ </tr>
+ <tr>
+ <th scope="row">Région</th>
+ <td>garage</td>
+ </tr>
+ <tr>
+ <th scope="row">Endpoint URL</th>
+ <td>https://garage.deuxfleurs.fr</td>
+ </tr>
+ <tr>
+ <th scope="row">Type d'URL</th>
+ <td>DNS et chemin (préférer chemin)</td>
+ </tr>
+ <tr>
+ <th scope="row">Signature</th>
+ <td>Version 4</td>
+ </tr>
+ </tbody>
+ </table>
+
<h5 class="mt-3">Actions</h5>
<form action="" method="post">
<div class="btn-group" role="group" aria-label="Actions sur le site web">
<button class="btn btn-secondary" name="action" value="increase_quota">Augmenter le quota</button>
+ <button class="btn btn-secondary" name="action" value="rotate_key">Rotation de la clé</button>
<a class="btn btn-secondary" href="/website/vhost/{{ .View.Name.Pretty }}">Changer le nom de domaine</a>
<button class="btn btn-danger" name="action" value="delete_bucket">Supprimer</button>
</div>