From 49aa8d0b76fa024a541e442173a03316c98494ad Mon Sep 17 00:00:00 2001 From: if1live Date: Sun, 1 Oct 2023 02:52:06 +0900 Subject: [PATCH] =?UTF-8?q?ui=20=EB=8C=80=EC=B6=A9=20=EA=B0=B1=EC=8B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/ayane_index.liquid | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/views/ayane_index.liquid b/views/ayane_index.liquid index 6279a01..123ef22 100644 --- a/views/ayane_index.liquid +++ b/views/ayane_index.liquid @@ -2,29 +2,49 @@ {% block body_content %}
-

ayane

+

+ ayane +

+ + {% for row in entries %} {% assign data = row.health %} -

- {{ row.label }} - {{ data.tag }} -

+ {% assign tag = data.tag %} + + {% if tag == "error" %} +

+ {{ row.label }} + error +

+ {% else %} +

+ {{ row.label }} + {{ tag }} +

+ {% endif %}

- {{ row.at | date: "%Y-%m-%dT%H:%M:%S" }} + {{ row.at | date: "%Y-%m-%dT%H:%M:%S.%LZ" }}

- {% assign tag = data.tag %} {% if tag == "ok" %} -

{{ data.value | json }}

+
+ detail +
{{ data.value | json: 2 }}
+
{% elsif tag == "error" %} -

{{ data.reason | json }}

+
+ detail +
{{ data.reason | json: 2 }}
+
{% elsif tag == "ignore" %}

ignore

{% endif %} {% endfor %} +
+ @@ -35,4 +55,4 @@

   
-{% endblock %} +{% endblock %} \ No newline at end of file