updated some cosmetics
This commit is contained in:
parent
f8ad476488
commit
352defd0d8
3 changed files with 17 additions and 17 deletions
|
@ -14,3 +14,4 @@
|
||||||
{{> footer}}
|
{{> footer}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script src="/assets/js/generalFunctions.js"></script>
|
|
@ -43,7 +43,7 @@
|
||||||
<td>{{fileInfo.fileName}}</td>
|
<td>{{fileInfo.fileName}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="left-column">fileType</td>
|
<td class="left-column">File Type</td>
|
||||||
<td>{{#if fileInfo.fileType}}
|
<td>{{#if fileInfo.fileType}}
|
||||||
{{fileInfo.fileType}}
|
{{fileInfo.fileType}}
|
||||||
{{else}}
|
{{else}}
|
||||||
|
@ -53,17 +53,3 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type ="text/javascript">
|
|
||||||
// update the link holder
|
|
||||||
function copyToClipboard(event){
|
|
||||||
var elementToCopy = event.target.dataset.elementtocopy;
|
|
||||||
var element = document.getElementById(elementToCopy);
|
|
||||||
element.select();
|
|
||||||
try {
|
|
||||||
var successful = document.execCommand('copy');
|
|
||||||
} catch (err) {
|
|
||||||
alert('Oops, unable to copy');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
|
@ -8,3 +8,16 @@
|
||||||
</div>
|
</div>
|
||||||
{{> footer}}
|
{{> footer}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script type ="text/javascript">
|
||||||
|
function copyToClipboard(event){
|
||||||
|
var elementToCopy = event.target.dataset.elementtocopy;
|
||||||
|
var element = document.getElementById(elementToCopy);
|
||||||
|
element.select();
|
||||||
|
try {
|
||||||
|
document.execCommand('copy');
|
||||||
|
} catch (err) {
|
||||||
|
alert('Oops, unable to copy');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
Loading…
Reference in a new issue