You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.2 KiB
HTML

<!--
Copyright 2020 Netsyms Technologies.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<div class="page" data-name="viewlabel">
<div class="navbar">
<div class="navbar-bg"></div>
<div class="navbar-inner">
<div class="left">
<a href="#" class="link icon-only back">
<i class="icon icon-back"></i>
</a>
</div>
<div class="title">{{$route.params.labelname}} #{{$route.params.machineid}}</div>
</div>
</div>
<div class="fab fab-right-bottom display-none" id="print-fab">
<a href="#" onclick="sendPDFToPrintServer()">
<span class="material-icons">print</span>
</a>
</div>
<div class="page-content" id="pdfcanvas-container">
<canvas id="pdf-canvas" class="display-none"></canvas>
<p id="pdf-loading-message">Loading...</p>
</div>
<script>
getPDFLabelAndDisplay("{{$route.params.machineid}}", "{{$route.params.labeltype}}");
</script>
</div>