Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
app-notes:dashboard [2023/11/02 08:47] – [Mini status Dashboard to switch WWAN links] klueppelapp-notes:dashboard [2023/11/02 08:48] (current) – [Check your installation] klueppel
Line 104: Line 104:
  
      /* register page */      /* register page */
-     page = nb_page_register(ID, "Interfaces", "Overview");+     page = nb_userpage_register(ID, "Wanlink", "Switch");
      if (is_void(page)) {      if (is_void(page)) {
          printf("unable to register page\n");          printf("unable to register page\n");
Line 177: Line 177:
         nb_page_respond(page, '<table>\n');         nb_page_respond(page, '<table>\n');
         nb_page_respond(page, '<tr>\n');         nb_page_respond(page, '<tr>\n');
-        nb_page_respond(page, '<td>HOTLINK</td>');+        nb_page_respond(page, '<td>Hotlink</td>');
                  
         nb_page_respond(page, sprintf("<td align='right'>%s</td>", struct_get(wan, "WAN_HOTLINK")));         nb_page_respond(page, sprintf("<td align='right'>%s</td>", struct_get(wan, "WAN_HOTLINK")));
Line 184: Line 184:
  
         nb_page_respond(page, '<table>\n');         nb_page_respond(page, '<table>\n');
-        nb_page_respond(page,'<tr><td>REBOOT</td><td align="right">+        nb_page_respond(page,'<tr><td>Reebot</td><td align="right">
                              <form action="sdkPage.php" type="GET">                              <form action="sdkPage.php" type="GET">
                              <input type="hidden" id="id" name="id" value="00000001">                              <input type="hidden" id="id" name="id" value="00000001">
Line 205: Line 205:
 nb_page_unregister(page); nb_page_unregister(page);
 exit(0); exit(0);
 +
  
 </code> </code>
Line 231: Line 232:
 Navigate to HOME -> Overwiev -> Interfaces Navigate to HOME -> Overwiev -> Interfaces
  
 +{{ :app-notes:dashboard.png?800 |}}