spee.ch/views/show.handlebars

24 lines
539 B
Handlebars
Raw Normal View History

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