Skip to content

Instantly share code, notes, and snippets.

@mlava
Forked from bacall213/options.js
Last active August 29, 2015 13:58
Show Gist options
  • Save mlava/9971660 to your computer and use it in GitHub Desktop.
Save mlava/9971660 to your computer and use it in GitHub Desktop.
return {
"name": "Ninja XBMC Popup",
"deviceMap": [
{ "deviceId": 2000, "minimum": 1, "maximum": 1} // Sandbox device until more specific ID is availble
],
"forceDeviceMapGroup": true
}
background: #2A2A2A;
background-image: url('http://i.imgur.com/Owa3aPw.png');
background-repeat: no-repeat;
background-position: center;
.xbmc-popup-widget {
padding: 30px 10px 10px;
text-align: right;
.button {
position:absolute;
bottom: 20px;
right: 10px;
}
input {
display: block;
width: 60%;
position:absolute;
bottom: 20px;
left: 10px;
}
}
<div class="xbmc-popup-widget">
<input class="input" type="text" name="data" placeholder=""/>
<button class="button blue-gradient">Send</button>
</div>
element.find('button').click(function() {
scope.ActuateAll(element.find('[name=data]').val());
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment