From cf883cbfc7ec71827c892c32c1b09e013508672c Mon Sep 17 00:00:00 2001 From: Lennart Blom Date: Sat, 1 Dec 2018 20:49:59 +0100 Subject: [PATCH] Optimize routing and code format --- src/tags/tag-history-button.tag | 18 +-- src/tags/tag-history.tag | 196 ++++++++++++++++---------------- 2 files changed, 108 insertions(+), 106 deletions(-) diff --git a/src/tags/tag-history-button.tag b/src/tags/tag-history-button.tag index a492c70..5bf59da 100644 --- a/src/tags/tag-history-button.tag +++ b/src/tags/tag-history-button.tag @@ -15,15 +15,15 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . --> - - history - + + history + - + \ No newline at end of file diff --git a/src/tags/tag-history.tag b/src/tags/tag-history.tag index e2965db..6e1ce79 100644 --- a/src/tags/tag-history.tag +++ b/src/tags/tag-history.tag @@ -15,117 +15,119 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . --> - -
- - arrow_back - -

History of Image Tag | { registryUI.taghistory.image }:{ registryUI.taghistory.tag } history

-
-
- + +
+ + arrow_back + +

+ History of Image Tag | + { registryUI.taghistory.image }:{ registryUI.taghistory.tag } history +

+
+
+ +
+ +
+ + +
+
+

{ entry.key }

+
{ entry.value }
-
+ +
- -
-

{ entry.key }

-
{ entry.value }
-
+
-
-
+ + }); + console.log("Trying to create GET call with image='" + registryUI.taghistory.image + "' and tag='" + registryUI.taghistory.tag + "'") + oReq.open('GET', registryUI.url() + '/v2/' + registryUI.taghistory.image + '/manifests/' + registryUI.taghistory.tag); + oReq.send(); + }; + + + registryUI.taghistory.display(); + registryUI.taghistory.instance.update(); + \ No newline at end of file