public/components/feature-switches/feature-switches.html (14 lines of code) (raw):
<table class="feature-switches">
<tr ng-if="featureSwitchEntries.length">
<th>Feature switch</th><th>Active</th>
</tr>
<tr ng-repeat="switch in featureSwitchEntries">
<td>{{readableNames[switch[0]]}}</td>
<td><input type="checkbox" ng-model="switch[1]" ng-click="updateFeatureSwitchPreference(switch[0], switch[1])"></td>
</tr>
<tr ng-if="!featureSwitchEntries.length">
<th>
There are currently no active feature switches.
</th>
</p>
</table>