From 1070c53107b9b200ef55da71876a4d2e4c980343 Mon Sep 17 00:00:00 2001 From: Anders Pitman Date: Sun, 11 Oct 2020 10:35:30 -0600 Subject: [PATCH] Add some color to the buttons --- webui/index.tmpl | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/webui/index.tmpl b/webui/index.tmpl index b6137a1..3454c65 100644 --- a/webui/index.tmpl +++ b/webui/index.tmpl @@ -19,6 +19,24 @@ max-width: 900px; } + .button { + background: #ccc; + border: none; + border-radius: .25em; + padding: .4em .8em; + cursor: pointer; + } + + .add-button { + background: #4CAF50; + color: #fff; + } + + .delete-button { + background: #f44336; + color: #fff; + } + .tunnel-list { display: flex; flex-direction: column; @@ -29,6 +47,7 @@ border-bottom: 1px solid black; display: flex; justify-content: space-between; + align-items: center; } .tunnel:hover { background-color: #ddd; @@ -51,7 +70,7 @@ {{$domain}}:{{$tunnel.TunnelPort}} -> {{$tunnel.ClientName}}:{{$tunnel.ClientPort}} - + {{end}} @@ -64,7 +83,7 @@ - +