Files
fulpstation/nano/oldtemplates/airlock_electronics.dot
Bjorn Neergaard 19131a71e4 Begin Ractive rewrite of NanoUI
* Switch JS builds to browserify
* Rip out doT; modularize Gulp build code
* Move scripts and templates to old folders; get a "Hello World" demo going
2016-01-01 17:43:27 -06:00

34 lines
773 B
Plaintext

<article class="display">
<section>
{{? data.oneAccess}}
{{=helper.link('One Required', 'unlock', 'one_access')}}
{{??}}
{{=helper.link('All Required', 'lock', 'one_access')}}
{{?}}
{{=helper.link('Clear', 'refresh', 'clear')}}
<section>
<table class="grow">
<thead>
<tr>
{{~ data.regions :region:i}}
<th>
<span class="highlight bold">{{=region.name}}</span>
</th>
{{~}}
</tr>
</thead>
<tbody>
<tr>
{{~ data.regions :region:i}}
<td>
{{~ region.accesses :access:j}}
{{=helper.link(access.name, access.req ? 'check-square-o' : 'square-o', 'set', {'access': access.id}, null, access.req ? 'selected' : null)}}
<br />
{{~}}
</td>
{{~}}
</tr>
</tbody>
</table>
</article>