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