Move view logs button to sidebar
This commit is contained in:
parent
8824c21788
commit
f5b996d2a2
4 changed files with 13 additions and 1 deletions
|
@ -22,7 +22,6 @@ class Home extends Component {
|
||||||
See sidebar to get started
|
See sidebar to get started
|
||||||
</div>
|
</div>
|
||||||
<div className="buttons">
|
<div className="buttons">
|
||||||
<button className="open-log" onClick={this.props.openLog}>View logs</button>
|
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
|
|
@ -156,6 +156,11 @@ class Dashboard extends Component {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<nav className="sidebar">
|
<nav className="sidebar">
|
||||||
|
<div className="buttons">
|
||||||
|
<button className="open-log" onClick={this.openLog}>
|
||||||
|
<span>View logs</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
<div className="instances list">
|
<div className="instances list">
|
||||||
<div className="title">
|
<div className="title">
|
||||||
<h2>Instances</h2>
|
<h2>Instances</h2>
|
||||||
|
|
|
@ -22,6 +22,14 @@
|
||||||
|
|
||||||
overflow-y: auto
|
overflow-y: auto
|
||||||
|
|
||||||
|
div.buttons
|
||||||
|
margin-bottom: 1.5rem
|
||||||
|
|
||||||
|
button
|
||||||
|
+button
|
||||||
|
background-color: white
|
||||||
|
width: 100%
|
||||||
|
|
||||||
div.list
|
div.list
|
||||||
&:not(:last-of-type)
|
&:not(:last-of-type)
|
||||||
margin-bottom: 1.5rem
|
margin-bottom: 1.5rem
|
||||||
|
|
Loading…
Reference in a new issue