Add type=button to View Raw Data buttons.
This commit is contained in:
parent
c6fc37cf29
commit
48ebd36fce
|
@ -9,7 +9,7 @@
|
||||||
<span class="pull-right">
|
<span class="pull-right">
|
||||||
|
|
||||||
{{#unless this.fileTypeIsUnknown}}
|
{{#unless this.fileTypeIsUnknown}}
|
||||||
<button data-test-log-action="raw" class="button is-white is-compact" onclick={{action "downloadFile"}}>View Raw File</button>
|
<button data-test-log-action="raw" class="button is-white is-compact" onclick={{action "downloadFile"}} type="button">View Raw File</button>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
{{#if (and this.isLarge this.isStreamable)}}
|
{{#if (and this.isLarge this.isStreamable)}}
|
||||||
<button data-test-log-action="head" class="button is-white is-compact" onclick={{action "gotoHead"}} type="button">Head</button>
|
<button data-test-log-action="head" class="button is-white is-compact" onclick={{action "gotoHead"}} type="button">Head</button>
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
<h3 class="empty-message-headline">Unsupported File Type</h3>
|
<h3 class="empty-message-headline">Unsupported File Type</h3>
|
||||||
<p class="empty-message-body message">The Nomad UI could not render this file, but you can still view the file directly.</p>
|
<p class="empty-message-body message">The Nomad UI could not render this file, but you can still view the file directly.</p>
|
||||||
<p class="empty-message-body">
|
<p class="empty-message-body">
|
||||||
<button data-test-log-action="raw" class="button is-light" onclick={{action "downloadFile"}}>View Raw File</button>
|
<button data-test-log-action="raw" class="button is-light" onclick={{action "downloadFile"}} type="button">View Raw File</button>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Reference in a new issue