added: icons for curtains and thermostat, all links in the footer now work, centered the toggle for the videocam component - also, I do not know if it was already merged, but the modal now looks better (I hope)
This commit is contained in:
parent
1dd25968be
commit
74bccad636
5 changed files with 16 additions and 8 deletions
BIN
smart-hut/public/img/curtains-icon.png
Normal file
BIN
smart-hut/public/img/curtains-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
BIN
smart-hut/public/img/thermostat-icon.png
Normal file
BIN
smart-hut/public/img/thermostat-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
|
@ -165,8 +165,12 @@ class NewDevice extends Component {
|
|||
render() {
|
||||
const deviceOptions = [
|
||||
//stuff
|
||||
{ key: "thermostat", text: "Thermostat", value: "thermostat", image: {} },
|
||||
{ key: "curtains", text: "Curtain", value: "curtains", image: {} },
|
||||
{ key: "thermostat", text: "Thermostat", value: "thermostat",
|
||||
image: {avatar: true, src: "/img/thermostat-icon.png"}
|
||||
},
|
||||
{ key: "curtains", text: "Curtain", value: "curtains",
|
||||
image: {avatar: true, src: "/img/curtains-icon.png"}
|
||||
},
|
||||
//stuff ends
|
||||
{
|
||||
key: "light",
|
||||
|
|
|
@ -70,12 +70,16 @@ class Videocam extends Component {
|
|||
/>
|
||||
</Grid.Column>
|
||||
</Grid.Row>
|
||||
<Grid.Row textAlign="center">
|
||||
<Grid.Column>
|
||||
<Checkbox
|
||||
checked={this.props.stateOrDevice.on}
|
||||
toggle
|
||||
onChange={(e, val) => this.setOnOff(val.checked)}
|
||||
/>
|
||||
</Grid.Column>
|
||||
</Grid.Row>
|
||||
</Grid>
|
||||
<Checkbox
|
||||
checked={this.props.stateOrDevice.on}
|
||||
toggle
|
||||
onChange={(e, val) => this.setOnOff(val.checked)}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
|
|
|
@ -247,7 +247,7 @@ const Home = () => (
|
|||
</a>
|
||||
</List.Item>
|
||||
<List.Item>
|
||||
<a href="https://theshell.ch" target="blank">
|
||||
<a href="https://www.theshell.ch" target="blank">
|
||||
The Shell
|
||||
</a>
|
||||
</List.Item>
|
||||
|
|
Loading…
Reference in a new issue