Info page: Total LEDs, GitHub repo, minor re-styling (#5418)
* Info page updates and minor re-styling * added GitHub repo (link) * added Total LEDs * removed lwip major version on esp32 * two horizontal lines for better readability * add rel="noopener noreferrer" for improved security * When using target="_blank", it's a security best practice to include rel="noopener noreferrer" to prevent the new page from accessing window.opener.
This commit is contained in:
@@ -717,11 +717,13 @@ ${i.opt&0x100?inforow("Net Print ☾","<button class=\"btn btn-xs\" onclick=\"re
|
||||
${i.serialOnline?inforow(i.serialOnline,"TX="+i.sTX,"; RX="+i.sRX):""}
|
||||
${i.opt&0x100?'<tr><td colspan=2><hr style="height:1px;border-width:0;color:SeaGreen;background-color:SeaGreen"></td></tr>':''}
|
||||
${inforow("Build",i.vid)}
|
||||
${i.leds.count?inforow("Total LEDs",i.leds.count):""}
|
||||
${inforow("Estimated current",pwru)}
|
||||
${inforow("Average FPS",i.leds.fps)}
|
||||
${inforow("Signal strength",i.wifi.signal +"% ("+ i.wifi.rssi, " dBm)")}
|
||||
${inforow("MAC address",i.mac)}
|
||||
${inforow("Uptime",getRuntimeStr(i.uptime))}
|
||||
${i.time?inforow("Time",i.time):""}
|
||||
<!-- WLEDMM begin-->
|
||||
<tr><td colspan=2><hr style="height:2px;border-width:0;color:SeaGreen;background-color:SeaGreen"></td></tr>
|
||||
${inforow("Filesystem",i.fs.u + "/" + i.fs.t + " kB, " +Math.round(i.fs.u*100/i.fs.t) + "%")}
|
||||
@@ -734,8 +736,8 @@ ${i.freestack?inforow("Free stack ☾",(i.freestack/1000).toFixed(3)," kB"):""}
|
||||
${i.tpsram?inforow("PSRAM " + (i.psrmode?"("+i.psrmode+" mode) ":"") + " ☾",(i.tpsram/1024/1024).toFixed(0)," MB"):inforow("NO PSRAM found.", "")}
|
||||
${i.e32flash?inforow("Flash mode "+i.e32flashmode+i.e32flashtext + " ☾",i.e32flash+" MB, "+i.e32flashspeed," Mhz"):""}
|
||||
${i.e32model?inforow(i.e32model + " ☾",i.e32cores +" core(s),"," "+i.e32speed+" Mhz"):""}
|
||||
${inforow("Environment",i.arch + " " + i.core + " (" + i.lwip + ")")}
|
||||
${i.repo?inforow("Github",i.repo):""}
|
||||
${inforow("Environment",i.arch + " " + i.core + ( i.lwip ? " (" + i.lwip + ")" : ""))}
|
||||
${i.repo?inforow("GitHub","<a href=\"https://github.com/"+i.repo+"\" target=\"_blank\" rel=\"noopener noreferrer\">" + i.repo + "</a>"):""}
|
||||
<tr><td colspan=2><hr style="height:1px;border-width:0;color:SeaGreen;background-color:SeaGreen"></td></tr>
|
||||
${i.e32code?inforow("Last ESP Restart ☾",i.e32code+" "+i.e32text):""}
|
||||
${i.e32core0code?inforow("Core0 rst reason ☾",i.e32core0code, " "+i.e32core0text):""}
|
||||
|
||||
Reference in New Issue
Block a user