From c418a70a95129be1e3e1bca32983111213f8655e Mon Sep 17 00:00:00 2001 From: Max Alekseenko Date: Thu, 9 Jan 2020 14:52:30 +0300 Subject: [PATCH] separate remaining pages logic --- apps/block_scout_web/assets/js/app.js | 4 ---- apps/block_scout_web/assets/webpack.config.js | 3 +++ .../templates/address_contract_verification/new.html.eex | 2 +- .../block_scout_web/templates/admin/dashboard/index.html.eex | 1 + .../templates/tokens/overview/_details.html.eex | 1 + 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/block_scout_web/assets/js/app.js b/apps/block_scout_web/assets/js/app.js index 6df3c96830..6c38421050 100644 --- a/apps/block_scout_web/assets/js/app.js +++ b/apps/block_scout_web/assets/js/app.js @@ -21,12 +21,8 @@ import 'bootstrap' import './locale' import './pages/layout' -import './pages/verification_form' -import './pages/token_counters' import './pages/dark-mode-switcher' -import './pages/admin/tasks.js' - import './lib/clipboard_buttons' import './lib/currency' import './lib/from_now' diff --git a/apps/block_scout_web/assets/webpack.config.js b/apps/block_scout_web/assets/webpack.config.js index 44dcf841c4..53cd26f2c3 100644 --- a/apps/block_scout_web/assets/webpack.config.js +++ b/apps/block_scout_web/assets/webpack.config.js @@ -87,6 +87,9 @@ const appJs = 'validated-transactions': './js/pages/transactions.js', 'pending-transactions': './js/pages/pending_transactions.js', 'transaction': './js/pages/transaction.js', + 'verification-form': './js/pages/verification_form.js', + 'token-counters': './js/pages/token_counters.js', + 'admin-tasks': './js/pages/admin/tasks.js', 'non-critical': './css/non-critical.scss' }, output: { diff --git a/apps/block_scout_web/lib/block_scout_web/templates/address_contract_verification/new.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/address_contract_verification/new.html.eex index ddaa85a18b..462292a73a 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/address_contract_verification/new.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/address_contract_verification/new.html.eex @@ -279,5 +279,5 @@ <% end %> - + diff --git a/apps/block_scout_web/lib/block_scout_web/templates/admin/dashboard/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/admin/dashboard/index.html.eex index 40fb11a06a..bd18d6596e 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/admin/dashboard/index.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/admin/dashboard/index.html.eex @@ -33,4 +33,5 @@ + diff --git a/apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex index d46dbb25ac..c005db9a12 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex @@ -96,6 +96,7 @@ <% end %> +