github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/ui/app/templates/components/fs/directory-entry.hbs (about)

     1  <tr data-test-entry>
     2    <td>
     3      <Fs::Link @allocation={{this.allocation}} @taskState={{this.taskState}} @path={{this.pathToEntry}}>
     4        {{#if this.entry.IsDir}}
     5          {{x-icon "folder-outline"}}
     6        {{else}}
     7          {{x-icon "file-outline"}}
     8        {{/if}}
     9  
    10        <span class="name" data-test-name>{{this.entry.Name}}</span>
    11      </Fs::Link>
    12    </td>
    13    <td class="has-text-right" data-test-size>{{#unless this.entry.IsDir}}{{format-bytes this.entry.Size}}{{/unless}}</td>
    14    <td class="has-text-right" title={{format-ts this.entry.ModTime}} data-test-last-modified>{{moment-from this.entry.ModTime interval=1000}}</td>
    15  </tr>