feat(web): WIP registration page web component

This commit is contained in:
Zack Spear
2023-09-25 18:02:39 -07:00
committed by Zack Spear
parent e22d1f0a6c
commit 858a93ccd2
14 changed files with 198 additions and 30 deletions

View File

@@ -29,7 +29,7 @@ source_directory="plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dyna
destination_directory="/usr/local/emhttp/plugins/dynamix.my.servers"
# Replace the value inside the rsync command with the user's input
rsync_command="rsync -avz --progress --stats -m -e ssh \"$source_directory/\" \"root@${server_name}.local:$destination_directory/\""
rsync_command="rsync -avz --progress --stats -m -e ssh \"$source_directory/\" \"root@${server_name}:$destination_directory/\""
echo "Executing the following command:"
echo "$rsync_command"

View File

@@ -61,6 +61,8 @@ $serverState = [
"protocol" => $_SERVER['REQUEST_SCHEME'],
"regGen" => (int)$var['regGen'],
"regGuid" => $var['regGUID'],
"regTo" => $var['regTo'],
"regTm" => $var['regTm'] * 1000, // JS expects milliseconds
"registered" => $registered,
"registeredTime" => $myservers['remote']['regWizTime'] ?? '',
"site" => $_SERVER['REQUEST_SCHEME'] . "://" . $_SERVER['HTTP_HOST'],