From b3278511fba91e54898fab600340f49421ecc4bc Mon Sep 17 00:00:00 2001 From: Joxit Date: Wed, 25 Jan 2023 21:59:43 +0100 Subject: [PATCH 1/2] feat(dockerfile): add button for Dockerfile dialog --- src/components/tag-history/tag-history.riot | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/components/tag-history/tag-history.riot b/src/components/tag-history/tag-history.riot index f38e5465..78ee07e9 100644 --- a/src/components/tag-history/tag-history.riot +++ b/src/components/tag-history/tag-history.riot @@ -29,6 +29,16 @@ along with this program. If not, see . arrow_back

History of { props.image }:{ props.tag } history

+ + Dockerfile +
@@ -238,4 +248,12 @@ along with this program. If not, see . return res; }; + From c3fa2c91d722781875cfca0a20d66478f6ee2610 Mon Sep 17 00:00:00 2001 From: Joxit Date: Thu, 26 Jan 2023 00:13:08 +0100 Subject: [PATCH 2/2] feat(dockerfile): create dockerfile dialog with styled content --- src/components/dialogs/dockerfile.riot | 68 +++++++++++++++++++++ src/components/tag-history/tag-history.riot | 64 ++++++++++++++----- 2 files changed, 116 insertions(+), 16 deletions(-) create mode 100644 src/components/dialogs/dockerfile.riot diff --git a/src/components/dialogs/dockerfile.riot b/src/components/dialogs/dockerfile.riot new file mode 100644 index 00000000..83f8a521 --- /dev/null +++ b/src/components/dialogs/dockerfile.riot @@ -0,0 +1,68 @@ + + + +
Dockerfile
+
+ +
+
+ + Close + +
+
+ +
diff --git a/src/components/tag-history/tag-history.riot b/src/components/tag-history/tag-history.riot index 78ee07e9..be0f2d4c 100644 --- a/src/components/tag-history/tag-history.riot +++ b/src/components/tag-history/tag-history.riot @@ -36,6 +36,7 @@ along with this program. If not, see . waves-center="true" rounded="true" outlined + onClick="{ showDockerfile }" > Dockerfile @@ -44,6 +45,11 @@ along with this program. If not, see .
+ .