Skip to content

Commit

Permalink
Web page template added
Browse files Browse the repository at this point in the history
  • Loading branch information
ianatkin80 committed Jan 2, 2015
1 parent e740b03 commit 5028a6c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 144 deletions.
13 changes: 13 additions & 0 deletions make_table.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
%#template to generate a HTML table from a list of tuples (or list of lists, or tuple of tuples or ...)
<p>Current set temperatures</p>
<form action="update" method="get">
<table border="1">
%for row in rows:
<tr>
<td>{{row[1]}}</td>
<td><input type="text" name="{{row[0]}}" value="{{row[2]}}" size="4" maxlength="4"></td>
</tr>
%end
</table>
<input type="submit" name="update" value="Save changes">
</form>
144 changes: 0 additions & 144 deletions tadoschedule.e4p

This file was deleted.

0 comments on commit 5028a6c

Please sign in to comment.