Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
var download_link = document.createElement('a');
download_link.textContent = 'Direct Download';
download_link.setAttribute('href', fileURL);
var download_link = document.createElement('a');
download_link.textContent = 'Direct Download';
download_link.setAttribute('href', fileURL);
- download_link.setAttribute('style', 'display: block; font-size: large; margin-left: 30px; margin-bottom: 1em;');
+ var style = 'background-color: white; color: blue;';
+ style += ' border: 2px solid red;'
+ style += ' float: left; font-size: large;';
+ style += ' padding: .5em; margin-left: 30px; margin-bottom: 1em;'
+ download_link.setAttribute('style', style);
links.insertBefore(download_link, links.firstChild);
links.insertBefore(download_link, links.firstChild);