From b696b2965dd8112d8982e7b144f542921811a7fd Mon Sep 17 00:00:00 2001 From: Prateeksha Singh Date: Thu, 23 Aug 2018 21:25:53 +0530 Subject: [PATCH] [hub][vue] add empty state and dynamic publish button --- .../public/js/hub/components/EmptyState.vue | 23 ++++++++ .../js/hub/components/ItemCardsContainer.vue | 20 ++++++- .../js/hub/components/NotificationMessage.vue | 20 +++++++ .../public/js/hub/components/PublishPage.vue | 54 +++++++++++++++++-- erpnext/public/js/hub/pages/publish.js | 2 + erpnext/public/less/hub.less | 5 +- 6 files changed, 116 insertions(+), 8 deletions(-) create mode 100644 erpnext/public/js/hub/components/EmptyState.vue create mode 100644 erpnext/public/js/hub/components/NotificationMessage.vue diff --git a/erpnext/public/js/hub/components/EmptyState.vue b/erpnext/public/js/hub/components/EmptyState.vue new file mode 100644 index 00000000000..3e0cb0ea169 --- /dev/null +++ b/erpnext/public/js/hub/components/EmptyState.vue @@ -0,0 +1,23 @@ + + + + + diff --git a/erpnext/public/js/hub/components/ItemCardsContainer.vue b/erpnext/public/js/hub/components/ItemCardsContainer.vue index 4ccb9dcc0e5..01fd01eb9df 100644 --- a/erpnext/public/js/hub/components/ItemCardsContainer.vue +++ b/erpnext/public/js/hub/components/ItemCardsContainer.vue @@ -1,5 +1,12 @@