From 53814dbc274f5c1259aa16b792906309a3a44ea9 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Mon, 8 Feb 2021 22:56:02 +0100 Subject: [PATCH] cleanup, typos, ... --- README.md | 1 + assets/tpl/admin_edit_interface.html | 2 +- assets/tpl/prt_nav.html | 2 +- internal/common/configuration.go | 11 +++--- internal/ldap/usercache.go | 12 +++---- internal/server/core.go | 51 +++++++++++++-------------- internal/server/handlers_auth.go | 5 ++- internal/server/handlers_interface.go | 4 +-- internal/server/handlers_peer.go | 4 +-- internal/server/helper.go | 1 - internal/server/ldapsync.go | 4 +-- internal/server/usermanager.go | 42 ++++++++++------------ internal/wireguard/net.go | 8 ++--- 13 files changed, 69 insertions(+), 78 deletions(-) diff --git a/README.md b/README.md index c0414f4..e4fd3f0 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ ![GitHub last commit](https://img.shields.io/github/last-commit/h44z/wg-portal) ![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/h44z/wg-portal) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/h44z/wg-portal) +[![Docker Pulls](https://img.shields.io/docker/pulls/h44z/wg-portal.svg)](https://hub.docker.com/r/h44z/wg-portal/) A simple web base configuration portal for [WireGuard](https://wireguard.com). The portal uses the WireGuard [wgctrl](https://github.com/WireGuard/wgctrl-go) library to manage the VPN diff --git a/assets/tpl/admin_edit_interface.html b/assets/tpl/admin_edit_interface.html index a7c97f0..dd6e391 100644 --- a/assets/tpl/admin_edit_interface.html +++ b/assets/tpl/admin_edit_interface.html @@ -54,7 +54,7 @@

Client's global configuration

- +
diff --git a/assets/tpl/prt_nav.html b/assets/tpl/prt_nav.html index c400cad..79178a5 100644 --- a/assets/tpl/prt_nav.html +++ b/assets/tpl/prt_nav.html @@ -1,5 +1,5 @@