Style fixes (#302)

This commit is contained in:
John Arild Berentsen 2017-06-12 06:21:42 +02:00 committed by Paulus Schoutsen
parent 6a864106e0
commit e570464f27

View File

@ -46,18 +46,20 @@
</paper-dropdown-menu>
</div>
<template is='dom-if' if='[[!computeIsValueSelected(selectedValue)]]'>
<paper-input
float-label="Value Name"
type=text
value={{newValueNameInput}}
placeholder=[[computeGetValueName(selectedValue)]]>
</paper-input>
<ha-call-service-button
hass='[[hass]]'
domain='zwave'
service='rename_value'
service-data=[[computeValueNameServiceData(newValueNameInput)]]
>Rename Value</ha-call-service-button>
<div class='card-actions'>
<paper-input
float-label="Value Name"
type=text
value={{newValueNameInput}}
placeholder=[[computeGetValueName(selectedValue)]]>
</paper-input>
<ha-call-service-button
hass='[[hass]]'
domain='zwave'
service='rename_value'
service-data=[[computeValueNameServiceData(newValueNameInput)]]
>Rename Value</ha-call-service-button>
</div>
</template>
</paper-card>
</div>