From d54e3dfc5ad81b97923534d4d321d2e040501b19 Mon Sep 17 00:00:00 2001 From: Seth Ladygo Date: Fri, 17 May 2019 02:07:30 -0700 Subject: [PATCH] CatalogContents: nicer list tiles --- cateditor/src/components/CatalogContents.vue | 62 ++++++++++++++++++-- 1 file changed, 56 insertions(+), 6 deletions(-) diff --git a/cateditor/src/components/CatalogContents.vue b/cateditor/src/components/CatalogContents.vue index 32dd8e7..4b02b25 100644 --- a/cateditor/src/components/CatalogContents.vue +++ b/cateditor/src/components/CatalogContents.vue @@ -19,10 +19,31 @@ :class="sectionListItemClasses(item.id, hover)" @click="selectSection(item.id)" > + + + {{sectionModelCount(item.id)}} {{sectionModelCount(item.id) | pluralize('model') }} + + + + + + info + + + delete + + + + @@ -42,7 +63,26 @@ :class="modelListItemClasses(item.model, hover)" @click="selectModel(item.model)" > - + + + + {{item.ids.length}} {{item.ids.length | pluralize('material') }} + + + + + + + info + + + delete + + + + @@ -61,7 +101,21 @@ slot-scope="{ hover }" :class="materialListItemClasses(item.id, hover)" > - + + {{ item.id }} {{ item.name }} + + + + + + + info + + + delete + + + @@ -70,10 +124,6 @@ - - - -