diff --git a/var/www/templates/ail_2_ail/ail_2_ail_dashboard.html b/var/www/templates/ail_2_ail/ail_2_ail_dashboard.html index e57943f5..d407bc91 100644 --- a/var/www/templates/ail_2_ail/ail_2_ail_dashboard.html +++ b/var/www/templates/ail_2_ail/ail_2_ail_dashboard.html @@ -31,16 +31,23 @@
-
-
-
AIL UUID:
-
-
-
- {{ ail_uuid }} +
+
+
+ AIL UUID
+
+ {{ ail_uuid }} + +
+
+ +
+
@@ -97,6 +104,11 @@ $(document).ready(function(){ }); +function copy_ail_uuid() { + ail_uuid = $('#ail_uuid').val(); + navigator.clipboard.writeText(ail_uuid); +} + function toggle_sidebar(){ if($('#nav_menu').is(':visible')){ $('#nav_menu').hide(); diff --git a/var/www/templates/ail_2_ail/view_ail_server.html b/var/www/templates/ail_2_ail/view_ail_server.html index f1ea410b..d4d75e67 100644 --- a/var/www/templates/ail_2_ail/view_ail_server.html +++ b/var/www/templates/ail_2_ail/view_ail_server.html @@ -74,6 +74,10 @@ Api Key {{server_metadata['api_key']}} + + @@ -220,6 +224,10 @@ $(document).ready(function(){ }); +function copy_api_key() { + api_key = $('#api_key').val(); + navigator.clipboard.writeText(api_key); +} function toggle_sidebar(){ if($('#nav_menu').is(':visible')){