index.ejs 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
  6. <meta name="apple-mobile-web-app-capable" content="yes" />
  7. <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  8. <link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
  9. <title></title>
  10. </head>
  11. <body class="d-flex flex-column">
  12. <header class="navbar navbar-expand-sm navbar-dark bg-primary sticky-top border-bottom border-dark" id="mainnav">
  13. <a class="navbar-brand" id="navtitle" href="#"></a>
  14. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
  15. aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  16. <span class="navbar-toggler-icon"></span>
  17. </button>
  18. <div class="collapse navbar-collapse" id="navbarSupportedContent">
  19. <ul class="nav navbar-nav mr-auto" role="tablist">
  20. <li class="nav-item"><a class="nav-link active" data-bs-toggle="tab" aria-controls="profile" role="tab"
  21. href="#tab-wifi">WiFi</a></li>
  22. <li class="nav-item omsg"><a class="nav-link" data-bs-toggle="tab" aria-controls="profile" role="tab"
  23. href="#tab-syslog">Status<span class="badge badge-pill badge-success" id="msgcnt"></span></a>
  24. </li>
  25. <li class="nav-item orec"><a class="nav-link" data-bs-toggle="tab" aria-controls="profile" role="tab"
  26. href="#tab-cfg-audio">Audio</a></li>
  27. <li class="nav-item orec"><a class="nav-link" data-bs-toggle="tab" aria-controls="profile" role="tab"
  28. href="#tab-cfg-syst">System</a></li>
  29. <li class="nav-item orec"><a class="nav-link" data-bs-toggle="tab" aria-controls="profile" role="tab"
  30. href="#tab-cfg-hw">Hardware</a></li>
  31. <li class="nav-item"><a class="nav-link" data-bs-toggle="tab" aria-controls="profile" role="tab"
  32. href="#tab-cfg-fw">Updates</a></li>
  33. <div class="dropdown-divider"></div>
  34. <li class="nav-item"><a class="nav-link" data-bs-toggle="tab" aria-controls="profile" role="tab"
  35. href="#tab-nvs">NVS Editor</a></li>
  36. <li class="nav-item"><a class="nav-link" data-bs-toggle="tab" aria-controls="profile" role="tab"
  37. href="#tab-commands">Advanced</a></li>
  38. <li class="nav-item"><a class="nav-link" data-bs-toggle="tab" aria-controls="profile" role="tab"
  39. href="#tab-credits">Credits</a></li>
  40. </ul>
  41. </div>
  42. <div class="info navbar-right" style="display: inline-flex;">
  43. <span class="recovery_element material-icons " style="color:orange; display: none"
  44. aria-label="🛑">system_update_alt</span>
  45. <span id="battery" class="material-icons" style="fill:white; display: none"
  46. aria-label="🔋">battery_full</span>
  47. <span id="o_jack" class="material-icons" style="fill:white; display: none" aria-label="🎧">headphones</span>
  48. <span id="s_airplay" class="material-icons" style="fill:white; display: none" aria-label="🍎">airplay</span>
  49. <em id="s_cspot" class="fab fa-spotify" style="fill:white; display: inline"></em>
  50. <span data-bs-toggle="tooltip" id="o_type" data-bs-placement="top" title="">
  51. <span id="o_bt" class="material-icons" style="fill:white; display: none" aria-label="">bluetooth</span>
  52. <span id="o_spdif" class="material-icons" style="fill:white; display: none"
  53. aria-label="">graphic_eq</span>
  54. <span id="o_i2s" class="material-icons" style="fill:white; display: none" aria-label="🔈">speaker</span>
  55. </span>
  56. <span id="ethernet" class="material-icons if_eth" style="fill:white; display: none"
  57. aria-label="ETH">cable</span>
  58. <span id="wifiStsIcon" class="material-icons if_wifi" style="fill:white; display: none"
  59. aria-label=""></span>
  60. </div>
  61. </header>
  62. <main role="main" class="flex-grow mt-1 mb-12" style="margin-bottom: 7rem;" id="content">
  63. <!-- Button trigger modal -->
  64. <!-- Modal -->
  65. <div class="modal" id="otadiv" aria-hidden="true">
  66. <div class="modal-dialog">
  67. <div class="modal-content">
  68. <div class="modal-header">
  69. <h5 class="modal-title" id="fwProgressLabel">Upgrade Progress</h5>
  70. <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  71. </div>
  72. <div class="modal-body">
  73. <span id="flash-status"></span>
  74. <div class="progress" id="progress">
  75. <div class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100"
  76. style="width:0%">
  77. 0%
  78. </div>
  79. </div>
  80. </div>
  81. <div class="modal-footer">
  82. <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. <div id="myTabContent" class="tab-content">
  88. <div class="tab-pane fade" id="tab-cfg-hw"> </div>
  89. <div class="tab-pane fade" id="tab-cfg-syst"></div>
  90. <div class="tab-pane fade" id="tab-cfg-gen"></div>
  91. <div class="tab-pane fade" id="tab-cfg-fw">
  92. <div class="card text-white mb-3">
  93. <div class="card-header">Software Updates</div>
  94. <div class="card-body">
  95. <table class="table table-hover table-striped table-dark">
  96. <thead>
  97. <tr>
  98. <th class="border-bottom-0 pb-0" scope="col">Version</th>
  99. <th class="border-bottom-0 pb-0" scope="col">Date/Time</th>
  100. <th class="border-bottom-0 pb-0" scope="col">Platform</th>
  101. <th class="border-bottom-0 pb-0" scope="col">Branch</th>
  102. <th class="border-bottom-0 pb-0" scope="col">Bit Depth</th>
  103. </tr>
  104. <tr>
  105. <th class="border-top-0 pt-0" scope="col"><input class="form-control-sm upSrch"
  106. id="svrs" type="text" placeholder="search releases"></th>
  107. <th class="border-top-0 pt-0" scope="col"></th>
  108. <th class="border-top-0 pt-0" scope="col"><input class="form-control-sm upSrch"
  109. id="splf" type="text" placeholder="search platform"></th>
  110. <th class="border-top-0 pt-0" scope="col"><select class="form-control-sm upSrch"
  111. id="fwbranch">
  112. <option selected="">Choose FW branch</option>
  113. </select>
  114. <th class="border-top-0 pt-0" scope="col"><input class="form-control-sm upSrch"
  115. id="bits" type="text" placeholder="search bit depth"></th>
  116. </th>
  117. </tr>
  118. </thead>
  119. <tbody id="rTable"></tbody>
  120. </table>
  121. <div class="form-group row">
  122. <div class="col-auto">
  123. <button type="button" id="chkUpdates" class="btn btn-info btn-sm">Check for
  124. updates</button>
  125. </div>
  126. <label class="col-auto col-form-label" for="fw-url-input">Firmware URL</label>
  127. <div class="col">
  128. <input type="text" class="form-control"
  129. placeholder="select entry from list or enter known url" id="fw-url-input">
  130. </div>
  131. <div class="col-auto">
  132. <button type="button" id='start-flash' data-bs-toggle="modal" data-bs-target="#uCnfrm"
  133. class="btn btn-warning btn-sm flact" style="display: none;">Flash Firmware</button>
  134. </div>
  135. <div class="col-auto">
  136. <button id="btn_reboot_recovery" class="btn-warning ota_element"
  137. type="submit">Recovery</button>
  138. </div>
  139. </div>
  140. </div>
  141. </div>
  142. <div class="modal" id="uCnfrm">
  143. <div class="modal-dialog modal-dialog-centered" role="document">
  144. <div class="modal-content">
  145. <div class="modal-header">
  146. <h5 class="modal-title">Firmware Flash</h5>
  147. <button type="button" class="btn-close" data-bs-dismiss="modal"
  148. aria-label="Close"></button>
  149. </div>
  150. <div class="modal-body">
  151. <p>Flash URL <span id="selectedFWURL" class="text-break"></span> to device?</p>
  152. </div>
  153. <div class="modal-footer ">
  154. <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button>
  155. <button id="btn_flash" type="button" class="btn btn-warning"
  156. data-bs-dismiss="modal">Ok</button>
  157. </div>
  158. </div>
  159. </div>
  160. </div>
  161. <div class="card text-white mb-3">
  162. <div class="card-header">Local Firmware Upload</div>
  163. <div class="card-body">
  164. <div id="uploaddiv" class="form-group row ">
  165. <label for="flashfilename" class="col-auto col-form-label">Local File</label>
  166. <div class="col">
  167. <input type="file" class="form-control-file" id="flashfilename"
  168. aria-describedby="fileHelp">
  169. </div>
  170. <div class="col-auto">
  171. <div class="buttons">
  172. <button type="button" class="btn btn-danger flact" id="fwUpload">Upload!</button>
  173. </div>
  174. </div>
  175. </div>
  176. </div>
  177. </div>
  178. </div>
  179. <div class="tab-pane fade" id="tab-nvs">
  180. <table class="table table-hover">
  181. <thead>
  182. <tr>
  183. <th scope="col">Key</th>
  184. <th scope="col">Value</th>
  185. </tr>
  186. </thead>
  187. <tbody id="nvsTable">
  188. </tbody>
  189. </table>
  190. <div class="buttons">
  191. <button button id="btn_reboot" class="btn btn-primary" style="float:right"
  192. type="submit">Reboot</button>
  193. <input id="save-nvs" type="button" class="btn btn-success" value="Commit">
  194. <input id="save-as-nvs" type="button" class="btn btn-success" value="Download config">
  195. <input id="load-nvs" type="button" class="btn btn-success" value="Load File">
  196. <input aria-describedby="fileHelp" id="nvsfilename" type="file" style="display:none">
  197. </div>
  198. </div>
  199. <div class="tab-pane fade" id="tab-cfg-audio">
  200. <div class="card text-white mb-3">
  201. <div class="card-header">Usage Templates</div>
  202. <div class="card-body">
  203. <fieldset class="form-group" id="output-tmpl">
  204. <label>Output</label><br>
  205. <div class="form-check form-check-inline">
  206. <label class="form-check-label">
  207. <input type="radio" class="form-check-input" name="output-tmpl" id="i2s">
  208. I2S Dac
  209. </label>
  210. </div>
  211. <div class="form-check form-check-inline">
  212. <label class="form-check-label">
  213. <input type="radio" class="form-check-input" name="output-tmpl" id="spdif">
  214. SPDIF
  215. </label>
  216. </div>
  217. <div class="form-check form-check-inline">
  218. <label class="form-check-label">
  219. <input type="radio" class="form-check-input" name="output-tmpl" id="bt">
  220. Bluetooth
  221. </label>
  222. </div>
  223. </fieldset>
  224. <fieldset>
  225. <div id="options">
  226. <div class="form-group"><label for="cmd_opt_n">Set the player name</label><input
  227. type="text" class="form-control sqcmd" placeholder="name" id="cmd_opt_n"></div>
  228. <div class="form-group"><label for="cmd_opt_s">Server</label><input type="text"
  229. class="form-control sqcmd" placeholder="server[:port]" id="cmd_opt_s"></div>
  230. <div class="form-group"><label for="cmd_opt_b">Stream and Output buffer sizes (in
  231. Kbytes)</label><input type="text" class="form-control sqcmd"
  232. placeholder="stream:output" id="cmd_opt_b"></div>
  233. <div class="form-group"><label for="cmd_opt_c">Restrict codecs </label><input
  234. type="text" class="form-control sqcmd" placeholder="codec1,codec2"
  235. id="cmd_opt_c"><small class="form-text text-muted">Supported: flac,pcm,mp3,ogg
  236. (mad,mpg for specific mp3 codec)</small></div>
  237. <div class="form-group"><label for="cmd_opt_C">Ouput device close timeout</label><input
  238. type="text" class="form-control sqcmd" placeholder="timeout"
  239. id="cmd_opt_C"><small class="form-text text-muted">Close output device after
  240. timeout seconds, default
  241. is to keep it open while player is 'on'</small></div>
  242. <div class="form-group"><label for="cmd_opt_d">Set logging level</label><input
  243. type="text" class="form-control sqcmd" placeholder="log=level"
  244. id="cmd_opt_d"><small class="form-text text-muted">Logs:
  245. all|slimproto|stream|decode|output, level:
  246. info|debug|sdebug</small></div>
  247. <div class="form-group"><label for="cmd_opt_e">Explicitly exclude native support of one
  248. or more codecs</label><input type="text" class="form-control sqcmd"
  249. placeholder="codec1,codec2" id="cmd_opt_e"><small
  250. class="form-text text-muted">Supported: flac,pcm,mp3,ogg (mad,mpg for specific
  251. mp3 codec)</small></div>
  252. <div class="form-group"><label for="cmd_opt_m">Set mac address</label><input type="text"
  253. class="form-control sqcmd" placeholder="mac addr" id="cmd_opt_m"><small
  254. class="form-text text-muted">Format: ab:cd:ef:12:34:56</small></div>
  255. <div class="form-group"><label for="cmd_opt_r">Sample rates supported, allows output to
  256. be off when squeezelite is started</label><input type="text"
  257. class="form-control sqcmd" placeholder="rates" id="cmd_opt_r"><small
  258. class="form-text text-muted">&lt;maxrate&gt;|&lt;minrate&gt;&lt;maxrate&gt;&lt;rate1&gt;&lt;rate2&gt;&lt;rate3&gt;</small>
  259. </div>
  260. <div class="form-group hide" id="cmd_opt_R">
  261. <label>Resample</label><br>
  262. <div class="form-check form-check-inline">
  263. <input class="form-check-input" type="radio" name="resample" id="resample_none"
  264. suffix="" checked aint="false">
  265. <label class="form-check-label" for="resampleNone">No resampling</label>
  266. </div>
  267. <div class="form-check form-check-inline">
  268. <input class="form-check-input" type="radio" name="resample" id="resample"
  269. suffix=' -R' aint="false">
  270. <label class="form-check-label" for="resampleNone">Default</label>
  271. </div>
  272. <div class="form-check form-check-inline">
  273. <input class="form-check-input" type="radio" name="resample" id="resample_b"
  274. suffix=' -R -u b' aint="true">
  275. <label class="form-check-label" for="resampleBasic">Basic linear
  276. interpolation</label>
  277. </div>
  278. <div class="form-check form-check-inline">
  279. <input class="form-check-input" type="radio" name="resample" id="resample_l"
  280. suffix=' -R -u l' aint="true">
  281. <label class="form-check-label" for="resample13Taps">13 taps</label>
  282. </div>
  283. <div class="form-check form-check-inline">
  284. <input class="form-check-input" type="radio" name="resample" id="resample_m"
  285. suffix=' -R -u m' aint="true">
  286. <label class="form-check-label" for="resample21Taps">21 taps</label>
  287. </div>
  288. <div class="form-check form-check-inline">
  289. <input class="form-check-input" type="checkbox" name="interpolate"
  290. id="resample_i" suffix=":i">
  291. <label class="form-check-label" for="interpolate">Interpolate filter
  292. coefficients</label>
  293. </div>
  294. </div>
  295. <div class="form-group"><label for="cmd_opt_Z">Report rate to server in helo as the
  296. maximum sample rate we can support</label><input type="text"
  297. class="form-control" placeholder="rate" id="cmd_opt_Z"></div>
  298. <div class="form-group">
  299. <div class="form-check">
  300. <label class="form-check-label">
  301. <input class="form-check-input" type="checkbox" id="cmd_opt_W" value=""
  302. checked="">
  303. Read wave and aiff format from header, ignore server parameters
  304. </label>
  305. </div>
  306. </div>
  307. </div>
  308. <div class="form-group">
  309. <div class="form-check">
  310. <label class="form-check-label">
  311. <input class="form-check-input" type="checkbox" id="disable-squeezelite" value="" >
  312. Disable Squeezelite
  313. </label>
  314. </div>
  315. </div>
  316. <div style="margin-top: 16px;">
  317. <div class="toast hide" role="alert" aria-live="assertive" aria-atomic="true"
  318. id="toast_cfg-audio-tmpl">
  319. <div class="toast-header"><strong class="mr-auto">Result</strong>
  320. <button type="button" class="btn-close" data-bs-dismiss="toast"
  321. aria-label="Close"></button>
  322. </div>
  323. <div class="toast-body" id="msg_cfg-audio-tmpl"></div>
  324. </div>
  325. </div>
  326. <button id="save-autoexec1" type="submit" class="btn btn-info"
  327. cmdname="cfg-audio-tmpl">Save</button>
  328. <button id="commit-autoexec1" type="submit" class="btn btn-warning"
  329. cmdname="cfg-audio-tmpl">Apply</button>
  330. </fieldset>
  331. </div>
  332. </div>
  333. </div>
  334. <div class="tab-pane fade active show" id="tab-wifi">
  335. <div class="card text-white mb-3">
  336. <div class="card-header">WiFi Status</div>
  337. <div class="card-body if_eth" style="display: none">
  338. <h2>Connected to Ethernet</h2>
  339. <p>WiFi is inactive while connected to a wired network.
  340. </div>
  341. <div class="card-body if_wifi" style="display: none">
  342. <table class="table table-hover">
  343. <thead>
  344. <tr>
  345. <th scope="col">Joined</th>
  346. <th scope="col">Name</th>
  347. <th scope="col">Signal</th>
  348. <th scope="col">Security</th>
  349. </tr>
  350. </thead>
  351. <tbody id="wifiTable"></tbody>
  352. </table>
  353. <button type="button" id="updateAP" class="btn btn-info btn-sm">Scan</button>
  354. </div>
  355. <div class="modal" id="WiFiDisconnectConfirm">
  356. <div class="modal-dialog modal-dialog-centered" role="document">
  357. <div class="modal-content">
  358. <div class="modal-header">
  359. <h5 class="modal-title">Disconnect</h5>
  360. <button type="button" class="btn-close" data-bs-dismiss="modal"
  361. aria-label="Close"></button>
  362. </div>
  363. <div class="modal-body">
  364. <p>Disconnect from network? After disconnecting, the system won't be accessible from
  365. the current address and will expose itself as access point name <span
  366. id="apName"></span> with password <span id="apPass"></span> </p>
  367. </div>
  368. <div class="modal-footer connecting-success connecting-status">
  369. <button type="button" class="btn btn-secondary"
  370. data-bs-dismiss="modal">Cancel</button>
  371. <button id="btn_disconnect" type="button" class="btn btn-warning"
  372. data-bs-dismiss="modal">Ok</button>
  373. </div>
  374. </div>
  375. </div>
  376. </div>
  377. <div class="modal" id="WifiConnectDialog" aria-hidden="true">
  378. <div class="modal-dialog ">
  379. <div class="modal-content">
  380. <div class="modal-header">
  381. <h5 class="modal-title connecting connecting-init connecting-fail">Connect to WiFi
  382. </h5>
  383. <h5 class="modal-title connecting-status connecting-success">Status</h5>
  384. <button type="button" class="btn-close" data-bs-dismiss="modal"
  385. aria-label="Close"></button>
  386. </div>
  387. <div class="modal-body">
  388. <fieldset class="connecting-init connecting-fail">
  389. <div class="form-group"><label for="manual_ssid">Wifi Name</label><input
  390. type="text" class="form-control" placeholder="Enter Name"
  391. id="manual_ssid"></div>
  392. <div class="form-group"><label for="manual_pwd">Password</label><input
  393. type="password" class="form-control" placeholder="Enter Name"
  394. id="manual_pwd"></div>
  395. </fieldset>
  396. <div id="connect-wait" class="connecting">
  397. <div>Connecting to <span id="ssid-wait"></span> </div>
  398. <div>
  399. You may lose wifi access while the esp32 recalibrates
  400. its radio. Please
  401. wait until your device automatically reconnects. This can take up to
  402. 30s.
  403. </div>
  404. </div>
  405. <div id="connect-success" class="connecting-success connecting-status">
  406. <div> Connected to Access Point : <span id="connectedToSSID"></span></div>
  407. <div> Device IP address : <span id="ipAddress"></span></div>
  408. <div>Subnet Mask:<span id="netmask"></span></div>
  409. <div>Default Gateway:<span id="gateway"></span></div>
  410. </div>
  411. <div id="connect-fail" class="connecting-fail">
  412. <h3 class="text-error">Connection failed</h3>
  413. <p>Please double-check wifi password if any and make sure the access point has
  414. good signal.</p>
  415. </div>
  416. </div>
  417. <div class="modal-footer ">
  418. <button type="button"
  419. class="btn btn-secondary connecting-init connecting-fail connecting"
  420. data-bs-dismiss="modal">Close</button>
  421. <button type="button" id="btnJoin"
  422. class="btn btn-primary connecting-init connecting-fail">Join</button>
  423. <button type="button" class="connecting btn btn-primary" disabled>
  424. <span class="spinner-border spinner-border-sm" role="status"
  425. aria-hidden="true"></span>
  426. <span class="sr-only">Connecting...</span></button>
  427. </div>
  428. <div class="modal-footer connecting-success connecting-status justify-content-between"
  429. style=""><button type="button" class="btn btn-primary"
  430. data-bs-dismiss="modal">Ok</button><button type="button" class="btn btn-danger"
  431. data-bs-toggle="modal" data-bs-dismiss="modal"
  432. data-bs-target="#WiFiDisconnectConfirm">Disconnect</button>
  433. </div>
  434. </div>
  435. </div>
  436. </div>
  437. </div>
  438. </div>
  439. <div class="tab-pane fade " id="tab-commands">
  440. <fieldset id="commands-list"></fieldset>
  441. </div>
  442. <!-- Status -->
  443. <div class="tab-pane fade " id="tab-syslog">
  444. <div class="card border-primary mb-3">
  445. <div class="card-header">Logs</div>
  446. <div class="card-body">
  447. <table class="table table-hover">
  448. <thead>
  449. <tr>
  450. <th scope="col">Timestamp</th>
  451. <th scope="col">Message</th>
  452. </tr>
  453. </thead>
  454. <tbody id="syslogTable">
  455. </tbody>
  456. </table>
  457. <div class="buttons">
  458. <input id="clear-syslog" type="button" class="btn btn-danger btn-sm" value="Clear" />
  459. </div>
  460. </div>
  461. </div>
  462. <div class="card border-primary mb-3" id="pins" style="display: none;">
  463. <div class="card-header">Pin Assignments</div>
  464. <div class="card-body">
  465. <table class="table table-hover">
  466. <thead>
  467. <tr>
  468. <th scope="col">Device</th>
  469. <th scope="col">Pin Name</th>
  470. <th scope="col">GPIO Number</th>
  471. <th scope="col">Type</th>
  472. </tr>
  473. </thead>
  474. <tbody id="gpiotable"></tbody>
  475. </table>
  476. </div>
  477. </div>
  478. <div class="card border-primary mb-3" style="visibility: collapse;" id="tasks_sect">
  479. <div class="card-header">Tasks</div>
  480. <div class="card-body">
  481. <table class="table table-hover">
  482. <!-- console.log(msg_time.toLocaleString() + '\tname' + '\tcpu' + '\tstate' + '\tminstk' + '\tbprio' + '\tcprio' + '\tnum'); -->
  483. <thead>
  484. <tr>
  485. <th scope="col">#</th>
  486. <th scope="col">Task Name</th>
  487. <th scope="col">CPU</th>
  488. <th scope="col">State</th>
  489. <th scope="col">Min Stack</th>
  490. <th scope="col">Base Priority</th>
  491. <th scope="col">Cur Priority</th>
  492. </tr>
  493. </thead>
  494. <tbody id="tasks"></tbody>
  495. </table>
  496. </div>
  497. </div>
  498. </div>
  499. <!-- syslog -->
  500. <div class="tab-pane fade " id="tab-credits">
  501. <div class="card text-white mb-3">
  502. <div class="card-header">Credits</div>
  503. <div class="card-body">
  504. <p><strong><a
  505. href="https://github.com/sle118/squeezelite-esp32">squeezelite-esp32</a><br></strong>&copy;
  506. 2020, philippe44, sle118, daduke<br /><a href="https://opensource.org/licenses/MIT">This
  507. software is released under the MIT License.</a></p>
  508. <p>
  509. This app would not be possible without the following libraries:
  510. </p>
  511. <ul>
  512. <li>squeezelite, &copy; 2012-2019, Adrian Smith and Ralph Irving. Licensed under the GPL
  513. License.</li>
  514. <li>esp32-wifi-manager, &copy; 2017-2019, Tony Pottier. Licensed under the MIT License.</li>
  515. <li>SpinKit, &copy; 2015, Tobias Ahlin. Licensed under the MIT License.</li>
  516. <li>jQuery, The jQuery Foundation. Licensed under the MIT License.</li>
  517. <li>cJSON, &copy; 2009-2017, Dave Gamble and cJSON contributors. Licensed under the MIT
  518. License.
  519. </li>
  520. <li>esp32-rotary-encoder, &copy; 2011-2019, David Antliff and Ben Buxton. Licensed under the
  521. GPL
  522. License.</li>
  523. <li>tarablessd1306, &copy; 2017-2018, Tara Keeling. Licensed under the MIT license.</li>
  524. <li>CSpot, &copy; 2020 feelfreelinux & alufers. Licensed under the GPL License</li>
  525. </ul>
  526. </div>
  527. </div>
  528. <div class="card text-white mb-3">
  529. <div class="card-header">Extras/Overrides</div>
  530. <div class="card-body">
  531. <fieldset>
  532. <div class="form-check">
  533. <label class="form-check-label"><input type="checkbox" id="show-nvs"
  534. class="form-check-input " value="">Show NVS Editor</label>
  535. </div>
  536. </fieldset>
  537. <fieldset>
  538. <div class="form-check">
  539. <label class="form-check-label"><input type="checkbox" id="show-commands"
  540. class="form-check-input " value="">Show Advanced Commands</label>
  541. </div>
  542. </fieldset>
  543. </div>
  544. </div>
  545. </div>
  546. <!-- credits -->
  547. </div>
  548. </div>
  549. </main>
  550. <footer>
  551. <div class="fixed-bottom d-flex justify-content-between border-top border-dark p-3 bg-primary">
  552. <span class="text-center" id="foot-fw"></span><button class="btn-warning ota_element " id="reboot_nav"
  553. type="submit" style="display: none;">Reboot</button>
  554. <button class="btn-warning recovery_element" id="reboot_ota_nav" type="submit" style="display: none;">Exit
  555. Recovery</button><span class="text-center" id="foot-if"></span>
  556. </div>
  557. </footer>
  558. </body>
  559. </html>