Add downloaded file link

This commit is contained in:
Eric Swanson 2017-05-30 16:09:56 -07:00
parent 03d7d370ee
commit eb68f29712
1 changed files with 8 additions and 0 deletions

View File

@ -83,6 +83,9 @@
<textarea id="copyBox" style="width:100%;overflow:scroll;flex:1;"></textarea> <textarea id="copyBox" style="width:100%;overflow:scroll;flex:1;"></textarea>
</div> </div>
</div> </div>
<div>
<a target="_blank" id="zn-download-link" style="display: none; color:white; padding-left: 5px; font-size: 20px;" href="#">Access your downloaded files here</a>
</div>
</div> </div>
@ -287,6 +290,11 @@
return; // don't continue trying to connect return; // don't continue trying to connect
} }
var coyoteName = WebUtil.getConfigVar('name', '');
var elm = document.getElementById('zn-download-link');
elm.href = 'https://coyote.priceyak.com/download/' + coyoteName;
elm.style.display = '';
rfb.connect(host, port, password, path); rfb.connect(host, port, password, path);
}; };
</script> </script>