From a93ff278b010d264e49c1e60fd7ca2452296774b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksander=20Wilczy=C5=84ski?= Date: Fri, 2 Aug 2024 12:56:30 +0200 Subject: [PATCH] Upload files to "src/http/views" --- src/http/views/details.ejs | 82 ++++++++++++++++++++++++++++++++++++++ src/http/views/index.ejs | 67 +++++++++++++++++++++++++++++++ src/http/views/search.ejs | 81 +++++++++++++++++++++++++++++++++++++ 3 files changed, 230 insertions(+) create mode 100644 src/http/views/details.ejs create mode 100644 src/http/views/index.ejs create mode 100644 src/http/views/search.ejs diff --git a/src/http/views/details.ejs b/src/http/views/details.ejs new file mode 100644 index 0000000..20d430a --- /dev/null +++ b/src/http/views/details.ejs @@ -0,0 +1,82 @@ + + + + + + + simrail.alekswilc.dev + + + + + + + + + + + + + + + + +
+

SimRail Logs [PL2]

+
+ +
+ +

Użytkownik: + <%= record.userUsername %> +

+

Stacja: <%= record.stationName %> +

+

Data wejścia: <%= dayjs(record.joinedDate).format('HH:mm DD/MM/YYYY') %> (<%= + dayjs(record.joinedDate).fromNow() %>)

+

Data wyjścia: <%= dayjs(record.leftDate).format('HH:mm DD/MM/YYYY') %> (<%= dayjs(record.leftDate).fromNow() + %>)

+ + + +
+ ;station: <%= record.stationName %> + ;steam: <%= record.userSteamId %> + ;name: <%= record.userUsername %> + ;joined: <%=dayjs(record.joinedDate).format()%> + ;left: <%=dayjs(record.leftDate).format()%> + ;url: https://simrail.alekswilc.dev/details/<%= record.id %>/ + +
+

+ + + +
+ + + + \ No newline at end of file diff --git a/src/http/views/index.ejs b/src/http/views/index.ejs new file mode 100644 index 0000000..8d41ea2 --- /dev/null +++ b/src/http/views/index.ejs @@ -0,0 +1,67 @@ + + + + + + + simrail.alekswilc.dev + + + + + + + + + + + + +
+

SimRail Logs [PL2]

+
+ +

Wyszukaj posterunek lub osobe

+ +
+ + +
+ +

Ostatnie opuszczenia posterunków

+ + + + + + + + \ No newline at end of file diff --git a/src/http/views/search.ejs b/src/http/views/search.ejs new file mode 100644 index 0000000..80dc5e5 --- /dev/null +++ b/src/http/views/search.ejs @@ -0,0 +1,81 @@ + + + + + + + simrail.alekswilc.dev + + + + + + + + + + + + + +
+

SimRail Logs [PL2]

+
+ +

Wyszukaj posterunek lub osobe

+ + +
+ + +
+ +

Wyniki wyszukiwania

+ + + + + + + + \ No newline at end of file