diff --git a/src/server.rs b/src/server.rs index 3c2b9f2..e90a534 100644 --- a/src/server.rs +++ b/src/server.rs @@ -266,73 +266,82 @@ async fn handle_web_request( } let html = r#" - - - - - - -
-

Enter your pubkey

-
-

- -

- -
- -
- - - + + + + + + + + + Enter Your Pubkey + + + +
+
+
+

Enter your pubkey

+
+
+ +
+
+ + +
+
+ +
+
+
+ +
+
+
+
+ + + + + + + + + + "#; Ok(Response::builder() .status(StatusCode::OK) @@ -445,89 +454,94 @@ async fn handle_web_request( let html_result = format!( r#" - - - - - - - -
-

- To use this relay, an admission fee of {} sats is required. By paying the fee, you agree to the terms. -

-
-
-
- {} -
-
-
-
-

{}

- -
-
-

This page will not refresh

-

Verify admission here once you have paid

-
-
- - - - - + + + + + + + + + Join Nostr - Invoice + + + +
+
+
+

+ To use this relay, an admission fee of {} sats is required. By paying the fee, you agree to the terms. +

+ +
+ {} +
+ +
+

{}

+ +
+ +
+

This page will not refresh

+

Verify admission here once you have paid

+
+
+
+
+ + + + + + + + + + "#, settings.pay_to_relay.admission_cost, qr_code, invoice_info.bolt11, - pubkey, - invoice_info.bolt11 + pubkey ); Ok(Response::builder() @@ -582,30 +596,41 @@ async fn handle_web_request( let html_result = format!( r#" - - - - - - - -
-
{} {} admitted
-
- - - + + + + + + + + + Bootstrap Admissions + + + +
+
{ } { } admitted
+
+ + + + + + + "#, pubkey, text