From be18dfaf47ecbd52bdfd8089cf8d8ba1efe9d83a Mon Sep 17 00:00:00 2001 From: Aki Wu Date: Tue, 14 Nov 2023 13:04:46 +0800 Subject: [PATCH] update --- app/views/layouts/application.html.erb | 4 +- public/404.html | 68 +------------------------- 2 files changed, 3 insertions(+), 69 deletions(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 583ff24..27c02a9 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -22,9 +22,9 @@ Darwinia Messages Explorer <%= render "messages/messages_count", messages_count: @messages_count %> -
+
<%= form_with url: "/message", method: :get do |form| %> - <%= form.text_field :tx_or_hash, class: "ml-6 mr-6 mb-2 p-1.5 text-md bg-transparent", style: "border: 1px solid lightgrey; width: 70%", placeholder: "tx hash or msg hash" %> + <%= form.text_field :tx_or_hash, class: "ml-6 mr-6 mb-2 p-1.5 text-md bg-transparent", style: "border: 1px solid lightgrey; width: 90%", placeholder: "tx hash or msg hash" %> <% end %> <%= yield %> diff --git a/public/404.html b/public/404.html index 2be3af2..540fca2 100644 --- a/public/404.html +++ b/public/404.html @@ -1,67 +1 @@ - - - - The page you were looking for doesn't exist (404) - - - - - - -
-
-

The page you were looking for doesn't exist.

-

You may have mistyped the address or the page may have moved.

-
-

If you are the application owner check the logs for more information.

-
- - +
404 | Not Found