This repository has been archived on 2026-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
huegasm/app/templates/components/bridge-finder.hbs
2015-09-04 13:57:43 -07:00

32 lines
No EOL
1.1 KiB
Handlebars

<span class="title">Huegasm</span>
{{#unless bridgeUsername}}
{{#if bridgeIp}}
<img src="assets/images/pressButtonBridge.png" id="pressButtonBridgeImg">
{{paper-progress-linear warn=true value=bridgeUserNamePingIntervalProgress}}
{{#if isAuthenticating}}
<p>Your bridge IP is <b>{{bridgeIp}}</b>
Press the button on your bridge to authenticate this application.</p>
{{else}}
<p>You failed to press the button. <a class="noTextDecoration" href="#" {{action 'retry'}}>RETRY</a></p>
{{/if}}
{{else}}
{{#unless bridgeFindStatus}}
{{paper-progress-circular}}
<p>Trying to find your bridge's IP.</p>
{{/unless}}
{{#if bridgeFindMultiple}}
<p>Found multiple hue bridges.</p>
{{else}}
{{#if bridgeFindFail}}
<p>A hue bridge was not found on your network :( <br>
Enter one manually?</p>
<span id="bridgeInput">
{{paper-input label="Hue Bridge IP Address" value=manualBridgeIp}}
{{#paper-button action="findBridgeByIp" primary=true }}Find{{/paper-button}}
</span>
{{/if}}
{{/if}}
{{/if}}
{{/unless}}