diff --git a/components/wifi-manager/code.js b/components/wifi-manager/code.js index be16e433..098a02f0 100644 --- a/components/wifi-manager/code.js +++ b/components/wifi-manager/code.js @@ -264,9 +264,11 @@ $(document).ready(function(){ } }); var [ver, idf, cfg, branch] = release.name.split('#'); + var body = release.body.replace(/\\n/ig, "
").replace(/\'/ig, "\""); + console.log(body); $("#releaseTable").append( ""+ - ""+ver+""+ + ""+ver+""+ ""+idf+""+ ""+cfg+""+ ""+branch+""+ @@ -287,6 +289,10 @@ $(document).ready(function(){ //start timers startCheckStatusInterval(); startRefreshAPInterval(); + $('[data-toggle="tooltip"]').tooltip({ + html: true, + placement : 'right', + }); }); function setURL(button) { diff --git a/components/wifi-manager/index.html b/components/wifi-manager/index.html index 21dcec57..d2896b99 100644 --- a/components/wifi-manager/index.html +++ b/components/wifi-manager/index.html @@ -9,13 +9,13 @@ - + - + diff --git a/components/wifi-manager/style.css b/components/wifi-manager/style.css index 21b1999a..41280d2b 100644 --- a/components/wifi-manager/style.css +++ b/components/wifi-manager/style.css @@ -290,6 +290,11 @@ input, textarea { display: none; } +.tooltip-inner { + font-family: monospace, monospace; + font-size: 70%; +} + /* .toggle-buttons input[type="radio"] { visibility: hidden;