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
|
||||
</div>
|
||||
<div className="buttons">
|
||||
<button className="open-log" onClick={this.props.openLog}>View logs</button>
|
||||
</div>
|
||||
</>
|
||||
}
|
||||
|
|
|
@ -156,6 +156,11 @@ class Dashboard extends Component {
|
|||
</div>
|
||||
|
||||
<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="title">
|
||||
<h2>Instances</h2>
|
||||
|
|
|
@ -22,6 +22,14 @@
|
|||
|
||||
overflow-y: auto
|
||||
|
||||
div.buttons
|
||||
margin-bottom: 1.5rem
|
||||
|
||||
button
|
||||
+button
|
||||
background-color: white
|
||||
width: 100%
|
||||
|
||||
div.list
|
||||
&:not(:last-of-type)
|
||||
margin-bottom: 1.5rem
|
||||
|
|
Loading…
Reference in a new issue