From 2c223dc1aa74a6682b1220d3311ecbedf848c811 Mon Sep 17 00:00:00 2001 From: Kitteh Date: Sun, 18 Apr 2021 10:51:52 +0100 Subject: [PATCH] Add description to cubbyhole k/v view, closes #8. --- src/pages/KeyValue/KeyValueView.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pages/KeyValue/KeyValueView.js b/src/pages/KeyValue/KeyValueView.js index a2465a1..31ec46c 100644 --- a/src/pages/KeyValue/KeyValueView.js +++ b/src/pages/KeyValue/KeyValueView.js @@ -20,6 +20,12 @@ export class KeyValueViewPage extends Page { setTitleElement(pageState); + pageContent.appendChild(makeElement({ + tag: "p", + condition: pageState.currentMountType == "cubbyhole", + text: "In cubbyhole, secrets can be stored as long as the lease of your token is valid. They will be deleted when lease is expired and can only be viewed by your current token.", + })); + let newButton = makeElement({ tag: "button", text: "New",