separate remaining pages logic

pull/2944/head
Max Alekseenko 5 years ago
parent e8896c2840
commit c418a70a95
  1. 4
      apps/block_scout_web/assets/js/app.js
  2. 3
      apps/block_scout_web/assets/webpack.config.js
  3. 2
      apps/block_scout_web/lib/block_scout_web/templates/address_contract_verification/new.html.eex
  4. 1
      apps/block_scout_web/lib/block_scout_web/templates/admin/dashboard/index.html.eex
  5. 1
      apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex

@ -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'

@ -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: {

@ -279,5 +279,5 @@
</div>
<% end %>
</div>
<script defer data-cfasync="false" src="<%= static_path(@conn, "/js/verification-form.js") %>"></script>
</section>

@ -33,4 +33,5 @@
</div>
</div>
</div>
<script defer data-cfasync="false" src="<%= static_path(@conn, "/js/admin-tasks.js") %>"></script>
</div>

@ -96,6 +96,7 @@
</div>
</div>
<% end %>
<script defer data-cfasync="false" src="<%= static_path(@conn, "/js/token-counters.js") %>"></script>
</section>
<!-- Modal -->
<div class="modal fade" id="qrModal" tabindex="-1" role="dialog" aria-labelledby="qrModalLabel" aria-hidden="true">

Loading…
Cancel
Save