github.com/hernad/nomad@v1.6.112/ui/app/templates/components/image-file.hbs (about) 1 {{! 2 Copyright (c) HashiCorp, Inc. 3 SPDX-License-Identifier: MPL-2.0 4 ~}} 5 6 <a data-test-image-link href={{this.src}} target="_blank" rel="noopener noreferrer" class="image-file-image"> 7 <img data-test-image src={{this.src}} alt={{or this.alt this.fileName}} title={{this.fileName}} onload={{action this.updateImageMeta}} /> 8 </a> 9 <figcaption class="image-file-caption"> 10 <span class="image-file-caption-primary"> 11 <strong data-test-file-name>{{this.fileName}}</strong> 12 {{#if (and this.width this.height)}} 13 <span data-test-file-stats>({{this.width}}px × {{this.height}}px{{#if this.size}}, {{format-bytes this.size}}{{/if}})</span> 14 {{/if}} 15 </span> 16 </figcaption>