Skip to content

Instantly share code, notes, and snippets.

@nickgartmann
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickgartmann/4cad878f61b0b59eb1c4 to your computer and use it in GitHub Desktop.
Save nickgartmann/4cad878f61b0b59eb1c4 to your computer and use it in GitHub Desktop.
Example GUI configuration for NetJets Client
<navbar>
<nav-item img="img/lighting.png" url="/" />
</navbar>
<page title="Lighting" url="/" default>
<row>
<column width="7" mobile-width="12" class="quasar">
<row>
<column width="6">
<h2>Wash</h2>
<on-off id="1" default="off" />
</column>
<column width="6"><intensity-slider id="1" default="0" /></column>
</row>
<row>
<color-slider id="1" default="0" />
<white-slider id="1" default="0" />
</row>
</column>
<column width="5" mobile-width="12" class="panel">
<row>
<column width="6">
<scene-button script="1">Diamond</scene-button>
<scene-button script="2">Theater</scene-button>
<scene-button script="3">Office</scene-button>
<scene-button script="4">Horizon</scene-button>
<scene-button script="5">Sunrise</scene-button>
</column>
<column width="6">
<scene-button script="6">Crystal</scene-button>
<scene-button script="6">Event</scene-button>
<scene-button script="6">Platinum</scene-button>
<scene-button script="6">Aurora</scene-button>
<scene-button script="6">Sunset</scene-button>
</column>
</row>
</column>
</row>
</page>
<style>
.quasar, .panel {
background-color: #555;
border-radius: 4px;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment