From 309d17b921f75b16298cfe88ada9ba89bf646ac5 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 5 Apr 2021 20:58:28 +0200 Subject: Added basic webui to show results --- internal/webui/static/favicon.png | Bin 0 -> 1044 bytes internal/webui/static/main.css | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 internal/webui/static/favicon.png create mode 100644 internal/webui/static/main.css (limited to 'internal/webui/static') diff --git a/internal/webui/static/favicon.png b/internal/webui/static/favicon.png new file mode 100644 index 0000000..7668d76 Binary files /dev/null and b/internal/webui/static/favicon.png differ diff --git a/internal/webui/static/main.css b/internal/webui/static/main.css new file mode 100644 index 0000000..7cb5779 --- /dev/null +++ b/internal/webui/static/main.css @@ -0,0 +1,30 @@ +* { + box-sizing: border-box; +} +body { + font-family: open sans,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol; + font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + display: grid; + grid-template-rows: auto 1fr auto; +} +@media only screen and (min-width: 60rem) { + body { + max-width:60rem; + margin-left: auto; + margin-right: auto; + } +} +table { + border-collapse: collapse; +} +th, td { + text-align: center; + border-bottom: 1px solid #ddd; +} +th { + background-color: darkgray; + color: white; +} +tr:nth-child(even) { + background-color: #f2f2f2; +} -- cgit v1.2.3