2017-09-29 20:59:53 +02:00
|
|
|
|
2017-07-05 21:23:55 +02:00
|
|
|
{{> topBar}}
|
2017-07-06 22:37:03 +02:00
|
|
|
<div class="main">
|
2017-07-05 21:23:55 +02:00
|
|
|
{{> asset}}
|
|
|
|
</div>
|
|
|
|
<div class="sidebar">
|
2017-07-07 02:38:57 +02:00
|
|
|
{{> assetInfo}}
|
2017-07-05 21:23:55 +02:00
|
|
|
</div>
|
2017-09-29 20:59:53 +02:00
|
|
|
|
|
|
|
|
2017-07-12 02:12:39 +02:00
|
|
|
|
|
|
|
<script type ="text/javascript">
|
|
|
|
function copyToClipboard(event){
|
|
|
|
var elementToCopy = event.target.dataset.elementtocopy;
|
|
|
|
var element = document.getElementById(elementToCopy);
|
2017-07-14 17:57:12 +02:00
|
|
|
var errorElement = 'input-error-copy-text' + elementToCopy;
|
2017-07-12 02:12:39 +02:00
|
|
|
element.select();
|
|
|
|
try {
|
|
|
|
document.execCommand('copy');
|
|
|
|
} catch (err) {
|
2017-07-14 17:57:12 +02:00
|
|
|
showError(errorElement, 'Oops, unable to copy');
|
2017-07-12 02:12:39 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|