open-consul/ui-v2/app/templates/error.hbs
John Cowen 31f36ce096 ui: Namespace Support (#6639)
Adds namespace support to the UI:

1. Namespace CRUD/management
2. Show Namespace in relevant areas (intentions, upstreams)
3. Main navigation bar improvements
4. Logic/integration to interact with a new `internal/acl/authorize` endpoint
2019-12-18 12:26:47 +00:00

22 lines
915 B
Handlebars

{{#hashicorp-consul id="wrapper" permissions=permissions dcs=dcs dc=dc nspaces=nspaces nspace=nspace}}
{{#app-view class="error show"}}
{{#block-slot 'header'}}
<h1 data-test-error>
{{#if error.status }}
{{error.status}} ({{error.message}})
{{else}}
{{error.message}}
{{/if}}
</h1>
{{/block-slot}}
{{#block-slot 'content'}}
<p>
Consul returned an error.
You may have visited a URL that is loading an unknown resource, so you can try going back to the root or try re-submitting your ACL Token/SecretID by going back to ACLs.<br />
Try looking in our <a href="{{env 'CONSUL_DOCS_URL'}}" target="_blank">documentation</a>
</p>
<a rel="home" href={{href-to 'index'}}>Go back to root</a>
{{/block-slot}}
{{/app-view}}
{{/hashicorp-consul}}