Browse Source

:art: Fixup display arch in webui

Ettore Di Giacinto 3 years ago
parent
commit
a4751c9010
2 changed files with 2 additions and 4 deletions
  1. 1 2
      api/public/index.html
  2. 1 2
      api/public/index.tmpl

+ 1 - 2
api/public/index.html

@@ -231,7 +231,6 @@
 
 
 	<!-- Nodes Container-->
 	<!-- Nodes Container-->
     <div class="container w-full mx-auto pt-20" x-show="page === '#nodes'">
     <div class="container w-full mx-auto pt-20" x-show="page === '#nodes'">
-
         
         
         
         
 
 
@@ -322,7 +321,7 @@
                                     
                                     
                                         <td x-text="d.OS" class="text-left py-3 px-4"></td>
                                         <td x-text="d.OS" class="text-left py-3 px-4"></td>
                                     
                                     
-                                        <td x-text="d.Architecture" class="text-left py-3 px-4"></td>
+                                        <td x-text="d.Arch" class="text-left py-3 px-4"></td>
                                     
                                     
                                         <td x-text="d.Version" class="text-left py-3 px-4"></td>
                                         <td x-text="d.Version" class="text-left py-3 px-4"></td>
                                     
                                     

+ 1 - 2
api/public/index.tmpl

@@ -128,10 +128,9 @@
 
 
 	<!-- Nodes Container-->
 	<!-- Nodes Container-->
     <div class="container w-full mx-auto pt-20" x-show="page === '#nodes'">
     <div class="container w-full mx-auto pt-20" x-show="page === '#nodes'">
-
         {{ $opts:= dict "text" "Machines API Documentation " "url" "https://mudler.github.io/edgevpn/docs/getting-started/api/#apimachines"}}
         {{ $opts:= dict "text" "Machines API Documentation " "url" "https://mudler.github.io/edgevpn/docs/getting-started/api/#apimachines"}}
         {{ template "readme_badge" $opts}}
         {{ template "readme_badge" $opts}}
-        {{ $opts:= dict "condition" "x-bind:class=\"d.Online ? 'bg-lime-100 dark:bg-lime-800' : 'bg-stone-200 dark:bg-stone-800'\"" "title" "Nodes" "func" "machines" "fields" ( list "Address" "PeerID" "Hostname" "OS" "Architecture" "Version") "struct" (list "d.Address" "d.PeerID" "d.Hostname" "d.OS" "d.Architecture" "d.Version")}}
+        {{ $opts:= dict "condition" "x-bind:class=\"d.Online ? 'bg-lime-100 dark:bg-lime-800' : 'bg-stone-200 dark:bg-stone-800'\"" "title" "Nodes" "func" "machines" "fields" ( list "Address" "PeerID" "Hostname" "OS" "Architecture" "Version") "struct" (list "d.Address" "d.PeerID" "d.Hostname" "d.OS" "d.Arch" "d.Version")}}
         {{ template "table" $opts}}
         {{ template "table" $opts}}
     </div>  
     </div>  
 	<!--END Node Container-->
 	<!--END Node Container-->