From 4c839e0f30fad9e5df29f1f0682380581c582713 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Thu, 20 Aug 2020 00:14:27 +0200 Subject: viewer: information panel with markdown github: resolves #214 github: resolves #37 --- viewer/src/components/LdInformation.vue | 59 ++++++++++++++++++++++++++++----- viewer/src/locales/en.json | 3 +- viewer/src/views/PanelLeft.vue | 9 ++--- 3 files changed, 58 insertions(+), 13 deletions(-) (limited to 'viewer') diff --git a/viewer/src/components/LdInformation.vue b/viewer/src/components/LdInformation.vue index ac526d5..29bd1be 100644 --- a/viewer/src/components/LdInformation.vue +++ b/viewer/src/components/LdInformation.vue @@ -18,24 +18,67 @@ --> - diff --git a/viewer/src/locales/en.json b/viewer/src/locales/en.json index 824064e..0bbc2cc 100644 --- a/viewer/src/locales/en.json +++ b/viewer/src/locales/en.json @@ -15,5 +15,6 @@ "command.back": "Go back", "command.parent": "Go to parent directory", "directory.no-results": "Empty directory", - "panelLeft.propositions.other": "other filters" + "panelLeft.propositions.other": "other filters", + "panelLeft.information.title": "Information" } diff --git a/viewer/src/views/PanelLeft.vue b/viewer/src/views/PanelLeft.vue index 6341beb..f8d6faf 100644 --- a/viewer/src/views/PanelLeft.vue +++ b/viewer/src/views/PanelLeft.vue @@ -38,9 +38,9 @@ /> -

- Informations - +

+ {{ $t("panelLeft.information.title") }} +

@@ -105,7 +105,8 @@ export default class PanelLeft extends Vue { user-select: none; > svg { color: $link; - } + margin-top: 2px; // Fixes a vertical centering issue with the carret + } } } -- cgit v1.2.3