cbd4deedf8
* Initialized keyboard service Neat but funky: dynamic subnav traversal 👻 generalized traverseSubnav method Shift as special modifier key Nice little demo panel Keyboard shortcuts keycard Some animation styles on keyboard shortcuts Handle situations where a link is deeply nested from its parent menu item Keyboard service cleanup helper-based initializer and teardown for new contextual commands Keyboard shortcuts modal component added and demo-ghost removed Removed j and k from subnav traversal Register and unregister methods for subnav plus new subnavs for volumes and volume register main nav method Generalizing the register nav method 12762 table keynav (#12975) * Experimental feature: shortcut visual hints * Long way around to a custom modifier for keyboard shortcuts * dynamic table and list iterative shortcuts * Progress with regular old tether * Delogging * Table Keynav tether fix, server and client navs, and fix to shiftless on modified arrow keys Go to Optimize keyboard link and storage key changed to g r parameterized jobs keyboard nav Dynamic numeric keynav for multiple tables (#13482) * Multiple tables init * URL-bind enumerable keyboard commands and add to more taskRow and allocationRows * Type safety and lint fixes * Consolidated push to keyCommands * Default value when removing keyCommands * Remove the URL-based removal method and perform a recompute on any add Get tests passing in Keynav: remove math helpers and a few other defensive moves (#13761) * Remove ember math helpers * Test fixes for jobparts/body * Kill an unneeded integration helper test * delog * Trying if disabling percy lets this finish * Okay so its not percy; try parallelism in circle * Percyless yet again * Trying a different angle to not have percy * Upgrade percy to 1.6.1 [ui] Keyboard nav: "u" key to go up a level (#13754) * U to go up a level * Mislabelled my conditional * Custom lint ignore rule * Custom lint ignore rule, this time with commas * Since we're getting rid of ember math helpers elsewhere, do the math ourselves here Replace ArrowLeft etc. with an ascii arrow (#13776) * Replace ArrowLeft etc. with an ascii arrow * non-mutative helper cleanup Keyboard Nav: let users rebind their shortcuts (#13781) * click-outside and shortcuts enabled/disabled toggle * Trap focus when modal open * Enabled/disabled saved to localStorage * Autofocus edit button on variable index * Modal overflow styles * Functional rebind * Saving rebinds to localStorage for all majors * Started on defaultCommandBindings * Modal header style and cancel rebind on escape * keyboardable keybindings w buttons instead of spans * recording and defaultvalues * Enter short-circuits rebind * Only some commands are rebindable, and dont show dupes * No unused get import * More visually distinct header on modal * Disallowed keys for rebind, showing buffer as you type, and moving dedupe to modal logic willDestroy hook to prevent tests from doubling/tripling up addEventListener on kb events remove unused tests Keyboard Navigation acceptance tests (#13893) * Acceptance tests for keyboard modal * a11y audit fix and localStorage clear * Bind/rebind/localStorage tests * Keyboard tests for dynamic nav and tables * Rebinder and assert expectation * Second percy snapshot showing hints no longer relevant Weird issue where linktos with query props specifically from the task-groups page would fail to route / hit undefined.shouldSuperCede errors Adds the concept of exclusivity to a keycommand, removing peers that also share its label Lintfix Changelog and PR feedback Changelog and PR feedback Fix to rebinding in firefox by blurring the now-disabled button on rebind (#14053) * Secure Variables shortcuts removed * Variable index route autofocus removed * Updated changelog entry * Updated changelog entry * Keynav docs (#14148) * Section added to the API Docs UI page * Added a note about disabling * Prev and Next order * Remove dev log and unneeded comments
86 lines
3.2 KiB
Handlebars
86 lines
3.2 KiB
Handlebars
{{page-title
|
|
(if this.system.shouldShowRegions (concat this.system.activeRegion " - "))
|
|
"Nomad"
|
|
separator=" - "
|
|
}}
|
|
<SvgPatterns />
|
|
|
|
<section class="notifications">
|
|
{{#each this.flashMessages.queue as |flash|}}
|
|
<FlashMessage @flash={{flash}} as |component flash close|>
|
|
<span class="close-button" role="button" {{on "click" (action close)}}>×</span>
|
|
{{#if flash.title}}
|
|
<h3>{{flash.title}}</h3>
|
|
{{/if}}
|
|
{{#if flash.message}}
|
|
<p>{{flash.message}}</p>
|
|
{{/if}}
|
|
{{#if component.showProgressBar}}
|
|
<div class="alert-progress">
|
|
<div class="alert-progressBar" style={{component.progressDuration}}></div>
|
|
</div>
|
|
{{/if}}
|
|
</FlashMessage>
|
|
{{/each}}
|
|
</section>
|
|
|
|
<KeyboardShortcutsModal />
|
|
|
|
{{#if this.error}}
|
|
<div class="error-container">
|
|
<div data-test-error class="error-message">
|
|
{{#if this.isNoLeader}}
|
|
<h1 data-test-error-title class="title is-spaced">No Cluster Leader</h1>
|
|
<p data-test-error-message class="subtitle">
|
|
The cluster has no leader.
|
|
<a href="https://www.nomadproject.io/guides/outage.html">
|
|
Read about Outage Recovery.</a>
|
|
</p>
|
|
{{else if this.isOTTExchange}}
|
|
<h1 data-test-error-title class="title is-spaced">Token Exchange Error</h1>
|
|
<p data-test-error-message class="subtitle">
|
|
Failed to exchange the one-time token.
|
|
</p>
|
|
{{else if this.is500}}
|
|
<h1 data-test-error-title class="title is-spaced">Server Error</h1>
|
|
<p data-test-error-message class="subtitle">A server error prevented
|
|
data from being sent to the client.</p>
|
|
{{else if this.is404}}
|
|
<h1 data-test-error-title class="title is-spaced">Not Found</h1>
|
|
<p data-test-error-message class="subtitle">What you're looking for
|
|
couldn't be found. It either doesn't exist or you are not authorized
|
|
to see it.</p>
|
|
{{else if this.is403}}
|
|
<h1 data-test-error-title class="title is-spaced">Not Authorized</h1>
|
|
{{#if this.token.secret}}
|
|
<p data-test-error-message class="subtitle">Your
|
|
<LinkTo @route="settings.tokens" data-test-error-acl-link>ACL token</LinkTo>
|
|
does not provide the required permissions. Contact your
|
|
administrator if this is an error.</p>
|
|
{{else}}
|
|
<p data-test-error-message class="subtitle">Provide an
|
|
<LinkTo @route="settings.tokens" data-test-error-acl-link>ACL token</LinkTo>
|
|
with requisite permissions to view this.</p>
|
|
{{/if}}
|
|
{{else}}
|
|
<h1 data-test-error-title class="title is-spaced">Error</h1>
|
|
<p data-test-error-message class="subtitle">Something went wrong.</p>
|
|
{{/if}}
|
|
{{#if (eq this.config.environment "development")}}
|
|
<pre class="error-stack-trace"><code>{{this.errorStr}}</code></pre>
|
|
{{/if}}
|
|
</div>
|
|
<div class="error-links">
|
|
<LinkTo @route="jobs" data-test-error-jobs-link class="button is-white">Go
|
|
to Jobs</LinkTo>
|
|
<LinkTo
|
|
@route="clients"
|
|
data-test-error-clients-link
|
|
class="button is-white"
|
|
>Go to Clients</LinkTo>
|
|
</div>
|
|
</div>
|
|
{{else}}
|
|
{{outlet}}
|
|
{{/if}}
|