Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Changes from Develop Branch for v0.1.0 #3

Merged
merged 33 commits into from
Sep 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
0152248
updated to netmaker v0.7.3 to allow sqlite
mattkasun Sep 12, 2021
27ad8aa
session timeout; updated login page
mattkasun Sep 12, 2021
e207516
non-admin user displays
mattkasun Sep 12, 2021
0801912
node status
mattkasun Sep 17, 2021
91bce0a
fix route for NodeHealth
mattkasun Sep 17, 2021
7d50d5f
refresh keys; change net summary to be buttons
mattkasun Sep 18, 2021
49f718c
updated session handling and node health when session times out
mattkasun Sep 18, 2021
f200d71
updated README
mattkasun Sep 18, 2021
d31f557
adjusted width of modal cards
mattkasun Sep 18, 2021
55e070d
colorized node buttons on summary page
mattkasun Sep 19, 2021
9444735
adjusting node summary colors
mattkasun Sep 19, 2021
385acfc
initial extclient functionality
mattkasun Sep 20, 2021
27bdac6
create egress functionality
mattkasun Sep 21, 2021
b8428df
delete egress
mattkasun Sep 21, 2021
73aaf7a
ingress client creation
mattkasun Sep 21, 2021
1e2d28f
show external clients
mattkasun Sep 21, 2021
34ab3c1
delete external clients
mattkasun Sep 21, 2021
adfdd78
fixed create client
mattkasun Sep 21, 2021
76cd1a1
download config file
mattkasun Sep 22, 2021
c04e9bf
show qr code
mattkasun Sep 22, 2021
8d88c9e
edit client card
mattkasun Sep 22, 2021
0461c4c
process edit client
mattkasun Sep 22, 2021
e0d9dcd
header layout
mattkasun Sep 22, 2021
afb84e1
process user update
mattkasun Sep 23, 2021
dd0c303
tweaks to header
mattkasun Sep 23, 2021
ad90738
update copyright notice
mattkasun Sep 23, 2021
06dda4d
Merge pull request #2 from mattkasun/master
mattkasun Sep 23, 2021
07d49e6
update README
mattkasun Sep 23, 2021
a7de03d
added screeshots
mattkasun Sep 23, 2021
72272ee
Update README.md
mattkasun Sep 23, 2021
ac0be34
another screeshots
mattkasun Sep 23, 2021
6b4f332
Merge branch 'develop' of github.com:/mattkasun/netmaker-gui into dev…
mattkasun Sep 23, 2021
9f8305c
Update README.md
mattkasun Sep 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.bak
netmaker-gui
config/*
data/*
42 changes: 41 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,42 @@
# netmaker-gui
Alternative UI for netmaker (see github.com/gravitl/netmaker
A responsive alternative UI for netmaker (https://github.com/gravitl/netmaker)

Built with go and html/templates.
Missing following features compared to netmaker-ui (https://github.com/gravitl/netmaker-ui)
- DNS
- Netmaker v0.8.0 changes: in particular Relay Gateways

You can use netmaker-gui at the same time as netmaker-ui. For example, one one running as dashboard.netmaker.example.com and the other at control.netmaker.example.com

![both](https://github.com/mattkasun/netmaker-gui/raw/develop/screenshots/netmaker-gui-ui.png "GUI and UI")


## Installation:
To use along side of your existing netmaker installation insert the following to your docker-compose.yml file

```
netmaker-gui
container-name: netmaker-gui
image: nusak/netmaker-gui:v0.1.0
restart: unless-stopped
ports:
- "8080:8080"
environment:
DATABASE: sqlite
volumes:
- sqldata:/data
```

and add an appropriate entry to your proxy relay.

## Screenshots
### Browser
![netmaker-gui with browser](https://github.com/mattkasun/netmaker-gui/raw/develop/screenshots/netmaker-gui-browser.png "Netmaker-GUI with Browser")

### Mobile
![netmaker-gui with phone](https://github.com/mattkasun/netmaker-gui/raw/develop/screenshots/netmaker-gui-phone.png "Netmaker-GUI with Phone")

## Third Party Tools
- CSS - W3Schools https://w3.schools.com/w3css
- Icons - Material Icons https://fonts.google.com/icons
- Netmaker https://github.com/gravitl/netmaker
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ module github.com/mattkasun/netmaker-gui
go 1.16

require (
github.com/aws/aws-sdk-go v1.34.28
github.com/gin-contrib/sessions v0.0.3
github.com/gin-gonic/gin v1.7.4
github.com/go-playground/validator/v10 v10.9.0 // indirect
github.com/gravitl/netmaker v0.7.1
github.com/gravitl/netmaker v0.7.3
github.com/rqlite/gorqlite v0.0.0-20210804113434-b4935d2eab04 // indirect
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
github.com/stretchr/testify v1.7.0
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 // indirect
golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf // indirect
Expand Down
8 changes: 3 additions & 5 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
github.com/aws/aws-sdk-go v1.34.28 h1:sscPpn/Ns3i0F4HPEWAVcwdIRaZZCuL7llJ2/60yPIk=
github.com/aws/aws-sdk-go v1.34.28/go.mod h1:H7NKnBqNVzoTJpGfLrQkkD+ytBA93eiDYi/+8rV9s48=
github.com/boj/redistore v0.0.0-20180917114910-cd5dcc76aeff/go.mod h1:+RTT1BOk5P97fT2CiHkbFQwkK3mjsFAP6zCYV2aXtjw=
github.com/bradfitz/gomemcache v0.0.0-20190329173943-551aad21a668/go.mod h1:H0wQNHz2YrLsuXOZozoeDmnHXkNCRmMW0gwFWDfEZDA=
Expand Down Expand Up @@ -89,14 +88,12 @@ github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+
github.com/gorilla/sessions v1.1.1/go.mod h1:8KCfur6+4Mqcc6S0FEfKuN15Vl5MgXW92AE8ovaJD0w=
github.com/gorilla/sessions v1.1.3 h1:uXoZdcdA5XdXF3QzuSlheVRUvjl+1rKY7zBXL68L9RU=
github.com/gorilla/sessions v1.1.3/go.mod h1:8KCfur6+4Mqcc6S0FEfKuN15Vl5MgXW92AE8ovaJD0w=
github.com/gravitl/netmaker v0.7.1 h1:RTgGCookqpuqFP+Q91bZV2slrnpNeXGgrKHJN8o/GqY=
github.com/gravitl/netmaker v0.7.1/go.mod h1:oV1K5PZY3llJnTIBpeoLZ02evXD95zQFM0hk7MnFU2U=
github.com/gravitl/netmaker v0.7.3 h1:FtKGXca6O/KuJhavl2GZixfSlyxtkwAtCqcwf91mkT4=
github.com/gravitl/netmaker v0.7.3/go.mod h1:oV1K5PZY3llJnTIBpeoLZ02evXD95zQFM0hk7MnFU2U=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/jinzhu/copier v0.3.2/go.mod h1:24xnZezI2Yqac9J61UC6/dG/k76ttpq0DdJI3QmUvro=
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo=
github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8=
github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U=
github.com/jsimonetti/rtnetlink v0.0.0-20190606172950-9527aa82566a/go.mod h1:Oz+70psSo5OFh8DBl0Zv2ACw7Esh6pPUphlvZG9x7uw=
github.com/jsimonetti/rtnetlink v0.0.0-20200117123717-f846d4f6c1f4 h1:nwOc1YaOrYJ37sEBrtWZrdqzK22hiJs3GpDmP3sR2Yw=
Expand All @@ -121,6 +118,7 @@ github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czP
github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ=
github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-sqlite3 v1.14.8 h1:gDp86IdQsN/xWjIEmr9MF6o9mpksUgh0fu+9ByFxzIU=
github.com/mattn/go-sqlite3 v1.14.8/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
github.com/mdlayher/genetlink v1.0.0 h1:OoHN1OdyEIkScEmRgxLEe2M9U8ClMytqA5niynLtfj0=
github.com/mdlayher/genetlink v1.0.0/go.mod h1:0rJ0h4itni50A86M2kHcgS85ttZazNt7a8H2a2cw0Gc=
Expand Down
Loading