Merge pull request #8280 from hashicorp/f-ui/wide-monitor-logs

UI: Make monitor log output full-width
This commit is contained in:
Michael Lange 2020-06-25 09:22:54 -07:00 committed by GitHub
commit 6c7d3f49d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View File

@ -5,8 +5,8 @@
&.with-headspace {
margin-top: 1.5rem;
}
}
.full-width-section {
max-width: 100%;
&.is-full-width {
max-width: 100%;
}
}

View File

@ -1,5 +1,5 @@
{{title "Task " model.name " logs"}}
<TaskSubnav @task={{model}} />
<section class="section full-width-section">
<section class="section is-full-width">
<TaskLog data-test-task-log @allocation={{model.allocation}} @task={{model.name}} />
</section>

View File

@ -1,6 +1,6 @@
{{title "Client " (or model.name model.shortId)}}
<ClientSubnav @client={{model}} />
<section class="section">
<section class="section is-full-width">
{{#if (can "read agent")}}
<AgentMonitor
@level={{level}}

View File

@ -1,4 +1,4 @@
<section class="section is-closer {{if isFile "full-width-section"}}">
<section class="section is-closer {{if isFile "is-full-width"}}">
{{#if model.isRunning}}
{{#if isFile}}
<Fs::File @allocation={{allocation}} @taskState={{taskState}} @file={{path}} @stat={{stat}} @class="fs-explorer">

View File

@ -1,6 +1,6 @@
{{title "Server " model.name}}
<ServerSubnav @server={{model}} />
<section class="section">
<section class="section is-full-width">
{{#if (can "read agent")}}
<AgentMonitor
@level={{level}}