From ae6cf996b85d4c43b1dfd2a583215179c7bdfdf0 Mon Sep 17 00:00:00 2001 From: Anthony Donlon Date: Wed, 10 Dec 2025 22:36:27 +0800 Subject: [PATCH] nodejs/template: merge some updates from web editor --- nodejs/templates/error.ejs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nodejs/templates/error.ejs b/nodejs/templates/error.ejs index be59625..d64391e 100644 --- a/nodejs/templates/error.ejs +++ b/nodejs/templates/error.ejs @@ -31,7 +31,7 @@ Visit <%= more_info.text || 'cloudflare.com' %> for <%= more_info.for || 'more information' %>. <% } %> -
<%= params.time %>
+
<%= params.time %>
@@ -49,9 +49,9 @@ if (item.status_text_color) { text_color = item.status_text_color; } else if (status === 'ok') { - text_color = '#9bca3e'; + text_color = '#9bca3e'; // text-green-success } else if (status === 'error') { - text_color = '#bd2426'; + text_color = '#bd2426'; // text-red-error } const status_text = item.status_text || (status === 'ok' ? 'Working' : 'Error'); const is_error_source = params.error_source === id; @@ -62,7 +62,7 @@
<%= item.location || default_location %> -

><%= item.name || default_name %>

+

><%= item.name || default_name %>

<%= status_text %>
<% }); %>