Resources/window/prefs/app.ejs
author Mahlon E. Smith <mahlon@martini.nu>
Mon, 02 Sep 2013 02:22:21 -0700
changeset 0 80c32ef237c6
permissions -rw-r--r--
Initial commit.

<%# vim: set nosta noet ts=4 sw=4 ft=html: %>

<fieldset>
	<legend>Application Behavior</legend>
	<table cellpadding="0" cellspacing="0">
		<tbody>
			<% $.each( bool_prefs, function( pref, vals ) {  %>
			<tr>
				<td class="desc"><label for="<%= pref %>_id"><%= vals[ 1 ] %><span></span></label></td>
				<td><input id="<%= pref %>_id" type="checkbox" <%= vals[0] ? 'checked' : '' %> data-field="<%= pref %>" /></td>
			</tr>
			<% }) %>
		</tbody>
	</table>
</fieldset>