mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-13 04:43:40 +01:00
test
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -3,7 +3,7 @@ pipeline {
|
||||
label 'linux-x64'
|
||||
}
|
||||
environment {
|
||||
APP_VERSION = 'v0.5.6'
|
||||
APP_VERSION = 'v0.6.0'
|
||||
HS_VERSION = "v0.20.0" // Version of Headscale this is compatible with
|
||||
BUILD_DATE = ''
|
||||
BUILDER_NAME = "multiarch-${env.BUILD_TAG}"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "headscale-webui"
|
||||
version = "v0.5.6"
|
||||
version = "v0.6.0"
|
||||
description = "A simple web UI for small-scale Headscale deployments."
|
||||
authors = ["Albert Copeland <albert@sysctl.io>"]
|
||||
license = "AGPL"
|
||||
|
||||
@@ -429,7 +429,7 @@ def render_machines_cards():
|
||||
# Sort the content by machine_id:
|
||||
sorted_machines = {key: val for key, val in sorted(machine_content.items(), key = lambda ele: ele[0])}
|
||||
|
||||
content = "<ul class='collapsible popout'>"
|
||||
content = "<ul class='collapsible popout expandable'>"
|
||||
# Print the content
|
||||
|
||||
for index in range(0, num_threads):
|
||||
@@ -446,7 +446,7 @@ def render_users_cards():
|
||||
api_key = headscale.get_api_key()
|
||||
user_list = headscale.get_users(url, api_key)
|
||||
|
||||
content = "<ul class='collapsible popout'>"
|
||||
content = "<ul class='collapsible popout expandable'>"
|
||||
for user in user_list["users"]:
|
||||
# Get all preAuth Keys in the user, only display if one exists:
|
||||
preauth_keys_collection = build_preauth_key_table(user["name"])
|
||||
|
||||
Reference in New Issue
Block a user