Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replcae div tags in templates with tal:block, html is now all valid
- Loading branch information
root
authored and
root
committed
Aug 24, 2012
1 parent
5e8ee4c
commit 7abfa50
Showing
5 changed files
with
46 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
<!DOCTYPE html> | ||
<div metal:use-macro="layout"> | ||
<div metal:fill-slot="head_content"> | ||
</div> | ||
<tal:block metal:use-macro="layout"> | ||
<tal:block metal:fill-slot="head_content"> | ||
</tal:block> | ||
|
||
|
||
<div metal:fill-slot="content" class="secondary-a-6"> | ||
<p style="float: right;"><a href="/server/${server_dict['Name']}">View</a></p> | ||
|
||
<div id="configForm" tal:repeat="section INIFileDict.keys()"> | ||
<p>${INIFileDict[section]}</p><br/> | ||
</div> | ||
|
||
<table> | ||
<tr> | ||
<p>Server data that would go in to a nice table:</p> | ||
</tr> | ||
<tr tal:repeat="serverVar server_dict"> | ||
<td tal:content="repeat.serverVar.number"></td> | ||
<td><p tal:replace="serverVar"></p></td> | ||
<td><p tal:replace="server_dict[serverVar]"></p></td> | ||
</tr> | ||
</table> | ||
</div> | ||
<tal:block metal:fill-slot="content"> | ||
<div class="secondary-a-6"> | ||
<p style="float: right;"><a href="/server/${server_dict['Name']}">View</a></p> | ||
|
||
<div id="configForm" tal:repeat="section reversed(INIFileDict.keys())"> | ||
<p><b>${INIFileDict[section]}</b></p><br/> | ||
</div> | ||
|
||
<table> | ||
<tr><td> | ||
<p>Server data that would go in to a nice table:</p> | ||
</td></tr> | ||
<tr tal:repeat="serverVar reversed(server_dict.keys())"> | ||
<td tal:content="repeat.serverVar.number"></td> | ||
<td><p tal:replace="serverVar"></p></td> | ||
<td><p tal:replace="server_dict[serverVar]"></p></td> | ||
</tr> | ||
</table> | ||
</div> | ||
</tal:block> | ||
|
||
</div> | ||
</tal:block> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters