From f72e030dad3720cea40bee9002f53f63dcf23b0e Mon Sep 17 00:00:00 2001 From: Joxit Date: Mon, 2 May 2016 23:49:35 +0200 Subject: [PATCH] [taglist] Add taglist card tag --- catalog.tag | 4 +-- index.html | 2 ++ script.js | 5 ++-- style.css | 2 +- taglist.tag | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 89 insertions(+), 5 deletions(-) create mode 100644 taglist.tag diff --git a/catalog.tag b/catalog.tag index f7ac4f8..8d460c4 100644 --- a/catalog.tag +++ b/catalog.tag @@ -16,7 +16,7 @@ --> -
+

Repositories of { registryUI.url() }

@@ -25,7 +25,7 @@ class="mdl-spinner mdl-js-spinner is-active section-centerd">
diff --git a/index.html b/index.html index 9d2fe80..660f360 100644 --- a/index.html +++ b/index.html @@ -51,6 +51,7 @@
+
@@ -64,6 +65,7 @@
+ diff --git a/script.js b/script.js index 2e82ee0..671bc11 100644 --- a/script.js +++ b/script.js @@ -19,6 +19,7 @@ registryUI.url = function () { return localStorage.getItem('registryServer'); } var catalog = {}; - - +registryUI.taglist = {}; +registryUI.content = 'catalog'; riot.mount('catalog'); +riot.mount('taglist'); diff --git a/style.css b/style.css index 1682244..d23225e 100644 --- a/style.css +++ b/style.css @@ -19,7 +19,7 @@ padding-bottom: 8px; } -.catalog { +.catalog, .taglist { padding: 16px; } diff --git a/taglist.tag b/taglist.tag new file mode 100644 index 0000000..3014f65 --- /dev/null +++ b/taglist.tag @@ -0,0 +1,81 @@ + + + +
+
+
+

Tags of { registryUI.url() + '/' + registryUI.taglist.name }

+
+
+
    +
  • + { item } +
  • +
+
+
+
+ +
+
+ + + +