github.com/hernad/nomad@v1.6.112/ui/app/templates/components/fs/directory-entry.hbs (about)

     1  {{!
     2    Copyright (c) HashiCorp, Inc.
     3    SPDX-License-Identifier: MPL-2.0
     4  ~}}
     5  
     6  <tr data-test-entry>
     7    <td>
     8      <Fs::Link @allocation={{this.allocation}} @taskState={{this.taskState}} @path={{this.pathToEntry}}>
     9        {{#if this.entry.IsDir}}
    10          {{x-icon "folder-outline"}}
    11        {{else}}
    12          {{x-icon "file-outline"}}
    13        {{/if}}
    14  
    15        <span class="name" data-test-name>{{this.entry.Name}}</span>
    16      </Fs::Link>
    17    </td>
    18    <td class="has-text-right" data-test-size>{{#unless this.entry.IsDir}}{{format-bytes this.entry.Size}}{{/unless}}</td>
    19    <td class="has-text-right" title={{format-ts this.entry.ModTime}} data-test-last-modified>{{moment-from this.entry.ModTime interval=1000}}</td>
    20  </tr>