fix - empty space after footer on some pages

This commit is contained in:
Vamsi Krishna B 2023-02-20 08:40:13 +05:30
parent 284ca3d35a
commit 0074ab4021
12 changed files with 8461 additions and 5973 deletions

1
.gitignore vendored
View File

@ -27,6 +27,7 @@ npm-debug.log
# The directory NPM downloads your dependencies sources to. # The directory NPM downloads your dependencies sources to.
/assets/node_modules/ /assets/node_modules/
/assets/.yarn/
# Since we are building assets from assets/, # Since we are building assets from assets/,
# we ignore priv/static. You may want to comment # we ignore priv/static. You may want to comment

1
assets/.yarnrc.yml Normal file
View File

@ -0,0 +1 @@
nodeLinker: node-modules

File diff suppressed because it is too large Load Diff

View File

@ -34,8 +34,8 @@ config :zcash_explorer, ZcashExplorerWeb.Endpoint,
config :zcash_explorer, Zcashex, config :zcash_explorer, Zcashex,
zcashd_hostname: "localhost", zcashd_hostname: "localhost",
zcashd_port: "8232", zcashd_port: "8232",
zcashd_username: "zcashrpc", zcashd_username: "nighthawkapps",
zcashd_password: "changeme", zcashd_password: "ffwf",
vk_cpus: "0.2", vk_cpus: "0.2",
vk_mem: "2048M", vk_mem: "2048M",
vk_runnner_image: "nighthawkapps/vkrunner" vk_runnner_image: "nighthawkapps/vkrunner"

View File

@ -16,7 +16,7 @@
} }
</script> </script>
</head> </head>
<body> <body class="bg-gray-50 dark:bg-gray-900">
<%= @inner_content %> <%= @inner_content %>
</body> </body>
</html> </html>

View File

@ -1,5 +1,5 @@
<main class="py-4 h-screen"> <main class="py-4">
<div class="grid grid-cols-1 mx-8"> <div class="grid grid-cols-1 mx-8">
<%= live_render(@conn, ZcashExplorerWeb.BlockChainInfoLive) %> <%= live_render(@conn, ZcashExplorerWeb.BlockChainInfoLive) %>
</div> </div>
</main> </main>

View File

@ -1,10 +1,7 @@
<div class="mx-8 h-screen"> <div class="mx-8">
<h3 class="text-lg leading-6 font-medium text-gray-900 py-3 dark:text-white"> <h3 class="text-lg leading-6 font-medium text-gray-900 py-3 dark:text-white">
Broadcast Zcash Transaction Broadcast Zcash Transaction
</h3> </h3>
<%= if get_flash(@conn, :error) do %> <%= if get_flash(@conn, :error) do %>
<div class="rounded-md bg-red-50 p-4"> <div class="rounded-md bg-red-50 p-4">
<div class="flex"> <div class="flex">
@ -78,10 +75,10 @@
<input type="hidden" value={@csrf_token} name="_csrf_token"/> <input type="hidden" value={@csrf_token} name="_csrf_token"/>
<textarea id="broadcast" name="tx-hex" rows="22" class="w-full shadow-sm bg-slate-400/5 sm:text-sm border border-gray-300 rounded-md font-mono text-green-400 "> <textarea id="broadcast" name="tx-hex" rows="22" class="w-full shadow-sm bg-slate-400/5 sm:text-sm border border-gray-300 rounded-md font-mono text-green-400 ">
</textarea> </textarea>
<div class="pt-5 pb-5"> <div class="pt-5 pb-5">
<div class="flex justify-center"> <div class="flex justify-center">
<button type="submit" class="flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"> <button type="submit" class="flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
Broadcast transaction Broadcast transaction
</button> </button>
@ -89,4 +86,4 @@
</div> </div>
</div> </div>
</form> </form>
</div> </div>

View File

@ -1,4 +1,4 @@
<div class="mx-8 h-screen"> <div class="mx-8">
<h3 class="text-lg leading-6 font-medium text-gray-900 py-3 dark:text-white"> <h3 class="text-lg leading-6 font-medium text-gray-900 py-3 dark:text-white">
Payment Disclosure Payment Disclosure
@ -175,7 +175,7 @@
Paste the Zcash payment disclosure hexdata here to reveal details of a shielded payment. Paste the Zcash payment disclosure hexdata here to reveal details of a shielded payment.
</p> </p>
<form class="space-y-8" action="/payment-disclosure" method="post"> <form class="space-y-8" action="/payment-disclosure" method="post">
<div class="space-y-8 sm:space-y-5"> <div class="space-y-8 sm:space-y-5">
<input type="hidden" value={@csrf_token} name="_csrf_token"/> <input type="hidden" value={@csrf_token} name="_csrf_token"/>
@ -195,4 +195,4 @@
</div> </div>
</form> </form>
</div> </div>

View File

@ -5,4 +5,4 @@
</h3> </h3>
<%= live_render(@conn, ZcashExplorerWeb.RawMempoolLive) %> <%= live_render(@conn, ZcashExplorerWeb.RawMempoolLive) %>
</div> </div>
</main> </main>

View File

@ -1,8 +1,8 @@
<main class="py-4 h-screen"> <main class="py-4">
<div class="grid grid-cols-1 mx-8"> <div class="grid grid-cols-1 mx-8">
<h3 class="text-lg leading-6 font-medium text-gray-500 py-2"> <h3 class="text-lg leading-6 font-medium text-gray-500 py-2">
Network nodes connected to Zcash Block Explorer: Network nodes connected to Zcash Block Explorer:
</h3> </h3>
<%= live_render(@conn, ZcashExplorerWeb.NodesLive) %> <%= live_render(@conn, ZcashExplorerWeb.NodesLive) %>
</div> </div>
</main> </main>

View File

@ -1,4 +1,4 @@
<main class="py-4 h-screen"> <main class="py-4">
<div class="grid grid-cols-1 mx-8"> <div class="grid grid-cols-1 mx-8">
<h3 class="text-lg leading-6 font-medium text-gray-500 py-2 dark:text-white"> <h3 class="text-lg leading-6 font-medium text-gray-500 py-2 dark:text-white">
Zcash Viewing Key Zcash Viewing Key
@ -31,7 +31,7 @@
</div> </div>
</div> </div>
<% end %> <% end %>
<p class="mt-1 mb-2 max-w-2xl text-sm text-gray-600 dark:text-slate-50"> <p class="mt-1 mb-2 max-w-2xl text-sm text-gray-600 dark:text-slate-50">
Paste the viewing key, click on the "Start Importing" button and grab a coffee! Paste the viewing key, click on the "Start Importing" button and grab a coffee!
</p> </p>
@ -60,4 +60,4 @@
</div> </div>
</form> </form>
</div> </div>
</main> </main>

View File

@ -1,8 +1,8 @@
<main class="py-4 h-screen"> <main class="py-4">
<div class="grid grid-cols-1 mx-8"> <div class="grid grid-cols-1 mx-8">
<h3 class="text-lg leading-6 font-medium text-gray-500 py-2"> <h3 class="text-lg leading-6 font-medium text-gray-500 py-2">
Zcash Viewing Key Zcash Viewing Key
</h3> </h3>
<%= live_render(@conn, ZcashExplorerWeb.VkLive,session: %{"container_id" => @container_id}) %> <%= live_render(@conn, ZcashExplorerWeb.VkLive,session: %{"container_id" => @container_id}) %>
</div> </div>
</main> </main>