github.com/hernad/nomad@v1.6.112/ui/app/templates/components/exec/open-button.hbs (about)

     1  {{!
     2    Copyright (c) HashiCorp, Inc.
     3    SPDX-License-Identifier: MPL-2.0
     4  ~}}
     5  
     6  {{#let (cannot "exec allocation" namespace=this.job.namespace) as |cannotExec|}}
     7    <button
     8      data-test-exec-button
     9      type="button"
    10      class="button exec-button is-outline is-small {{if cannotExec "tooltip"}}"
    11      disabled={{if cannotExec 'disabled'}}
    12      aria-label={{if cannotExec "You don’t have permission to exec"}}
    13      {{action "open"}}
    14      {{keyboard-shortcut 
    15        label="Exec"
    16        pattern=(array "e" "x" "e" "c")
    17        action=(action "open")
    18      }}>
    19      {{x-icon "console"}}
    20      <span>Exec</span>
    21    </button>
    22  {{/let}}
    23