mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-05-24 00:24:06 +03:00
Set correct active class on the navigation menu
This commit is contained in:
parent
85e466698f
commit
7aec01deed
6 changed files with 14 additions and 10 deletions
|
@ -5,3 +5,8 @@ type Interface struct {
|
|||
Name string `json:"name"`
|
||||
IPAddress string `json:"ip_address"`
|
||||
}
|
||||
|
||||
// BaseData struct to pass value to the base template
|
||||
type BaseData struct {
|
||||
Active string
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue