Skip to content

Commit

Permalink
Update view
Browse files Browse the repository at this point in the history
  • Loading branch information
blavka committed Jan 5, 2022
1 parent a733953 commit 445b200
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/assets/scss/Firmware.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

.showAll {
position: absolute;
right: 20px;
right: 17px;
top: 40px;
z-index: 5;
user-select: none;
Expand All @@ -18,6 +18,7 @@

.showAll label {
cursor: pointer;
margin-left: 2px;
}

.firmwareSelect {
Expand Down
2 changes: 1 addition & 1 deletion src/render/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default class extends Component {
<Route path="/settings" component={Settings}/>
<RouteWithProps path="/" exact component={Devices} model={this.radiomanager} />
<RouteIframe path="/functions" src="http://127.0.0.1:1880/" id="node-red" />
<RouteIframe path="/dashboard" src="http://127.0.0.1:1880/ui" />
<RouteIframe path="/dashboard" src="http://127.0.0.1:1880/ui" id="node-red-dashbord" />
<RouteWithProps path="/messages" component={MqttLog} model={this.mqttlog}/>
<RouteWithProps path="/bridge" component={Bridge} model={this.bridge}/>
<Route path="/firmware" component={Firmware} />
Expand Down
7 changes: 4 additions & 3 deletions src/render/components/Firmware.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,12 @@ export default class extends Component {
}}
onInputChange={this.formFirmwareSelectonInputChange}
style={{"paddingLeft":"-10px"}}
noResultsText="No results found - try to check **Show All** option"
/>

<div className="showAll" onClick={this.showAllToggle}>
<input type="checkbox" size="sm" checked={this.state.showAll} ></input>
<label>Show all</label>
<div className="showAll">
<input type="checkbox" size="sm" defaultChecked={this.state.showAll} onChange={this.showAllToggle} id="showAllInput"></input>
<label htmlFor="showAllInput">Show all</label>
</div>

<button color="primary" size="sm" className="openDialogBtn" onClick={this.openDialogBin} >...</button>
Expand Down

0 comments on commit 445b200

Please sign in to comment.