Browse Source

show FW date

Christian Herzog 5 years ago
parent
commit
afe5f867c8
2 changed files with 4 additions and 0 deletions
  1. 3 0
      components/wifi-manager/code.js
  2. 1 0
      components/wifi-manager/index.html

+ 3 - 0
components/wifi-manager/code.js

@@ -259,10 +259,13 @@ $(document).ready(function(){
                 });
                 var [ver, idf, cfg, branch] = release.name.split('#');
                 var body = release.body.replace(/\\n/ig, "<br />").replace(/\'/ig, "\"");
+                var [date, time] = release.created_at.split('T');
+                if (ver.match(/esp-idf/)) next; //TODO delete
                 $("#releaseTable").append(
                     "<tr>"+
                       "<td data-toggle='tooltip' title='"+body+"'>"+ver+"</td>"+
                       "<td>"+idf+"</td>"+
+                      "<td>"+date+"</td>"+
                       "<td>"+cfg+"</td>"+
                       "<td>"+branch+"</td>"+
                       "<td><input id='generate-command' type='button' class='btn btn-success' value='Select' data-url='"+url+"' onclick='setURL(this);' /></td>"+

+ 1 - 0
components/wifi-manager/index.html

@@ -209,6 +209,7 @@
                         <tr>
                             <th scope="col">Firmware version</th>
                             <th scope="col">IDF version</th>
+                            <th scope="col">Release date</th>
                             <th scope="col">HW platform</th>
                             <th scope="col">Branch</th>
                             <th scope="col">Flash this FW</th>