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.
/assets/node_modules/
/assets/.yarn/
# Since we are building assets from assets/,
# 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,
zcashd_hostname: "localhost",
zcashd_port: "8232",
zcashd_username: "zcashrpc",
zcashd_password: "changeme",
zcashd_username: "nighthawkapps",
zcashd_password: "ffwf",
vk_cpus: "0.2",
vk_mem: "2048M",
vk_runnner_image: "nighthawkapps/vkrunner"

View File

@ -16,7 +16,7 @@
}
</script>
</head>
<body>
<body class="bg-gray-50 dark:bg-gray-900">
<%= @inner_content %>
</body>
</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">
<%= live_render(@conn, ZcashExplorerWeb.BlockChainInfoLive) %>
</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">
Broadcast Zcash Transaction
</h3>
<%= if get_flash(@conn, :error) do %>
<div class="rounded-md bg-red-50 p-4">
<div class="flex">
@ -78,10 +75,10 @@
<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>
<div class="pt-5 pb-5">
<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">
Broadcast transaction
</button>
@ -89,4 +86,4 @@
</div>
</div>
</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">
Payment Disclosure
@ -175,7 +175,7 @@
Paste the Zcash payment disclosure hexdata here to reveal details of a shielded payment.
</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">
<input type="hidden" value={@csrf_token} name="_csrf_token"/>
@ -195,4 +195,4 @@
</div>
</form>
</div>
</div>

View File

@ -5,4 +5,4 @@
</h3>
<%= live_render(@conn, ZcashExplorerWeb.RawMempoolLive) %>
</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">
<h3 class="text-lg leading-6 font-medium text-gray-500 py-2">
Network nodes connected to Zcash Block Explorer:
</h3>
<%= live_render(@conn, ZcashExplorerWeb.NodesLive) %>
</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">
<h3 class="text-lg leading-6 font-medium text-gray-500 py-2 dark:text-white">
Zcash Viewing Key
@ -31,7 +31,7 @@
</div>
</div>
<% end %>
<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!
</p>
@ -60,4 +60,4 @@
</div>
</form>
</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">
<h3 class="text-lg leading-6 font-medium text-gray-500 py-2">
Zcash Viewing Key
</h3>
<%= live_render(@conn, ZcashExplorerWeb.VkLive,session: %{"container_id" => @container_id}) %>
</div>
</main>
</main>