Author: fredlin Date: Mon Jan 21 08:44:40 2008 New Revision: 4008 URL: http://trac.turbogears.org/changeset/4008
Log: toolbox2: update design template Modified: projects/ToolBox2/trunk/ToolBox2.egg-info/PKG-INFO projects/ToolBox2/trunk/toolbox2/gadgets/design/design.html Modified: projects/ToolBox2/trunk/ToolBox2.egg-info/PKG-INFO ============================================================================== --- projects/ToolBox2/trunk/ToolBox2.egg-info/PKG-INFO (original) +++ projects/ToolBox2/trunk/ToolBox2.egg-info/PKG-INFO Mon Jan 21 08:44:40 2008 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: ToolBox2 -Version: 2.0a3dev-r4006 +Version: 2.0a3dev-r4007 Summary: TurboGears2 Toolbox Home-page: http://docs.turbogears.org/2.0/ToolBox Author: Fred Lin Modified: projects/ToolBox2/trunk/toolbox2/gadgets/design/design.html ============================================================================== --- projects/ToolBox2/trunk/toolbox2/gadgets/design/design.html (original) +++ projects/ToolBox2/trunk/toolbox2/gadgets/design/design.html Mon Jan 21 08:44:40 2008 @@ -33,13 +33,11 @@ <div id="getting_started"> <h2 id="models">Models</h2> the data representation, define database tables and sets - <div id="model_manager" py:for="idx,file in enumerate(model)" class="${idx%2 and 'odd' or 'even'}"><table cellpadding="0" cellspacing="0" border="0"> - <tr><td> + <div id="model_manager"><table cellpadding="0" cellspacing="0" border="0"> + <tr py:for="idx,file in enumerate(model)" class="${idx%2 and 'odd' or 'even'}"><td> <span py:if="file['level']>0" py:replace="' '*4*int(file['level'])"> </span> - <img src="/images/places/folder.png" width='16' height='16' py:if="file['isdir'] and file['level']>1" alt="${idx}/" /> - <div py:if="file['isdir'] and file['level']>1" py:strip="">${file['file_name']}</div> - <img src="/images/mimetypes/text-html.png" width='16' height='16' py:if="not file['isdir']" alt="-" /> - <a href="preview/${file['file_name']}" target="_blank" py:if="not file['isdir']">${file['file_name']}</a> + <img src="/images/places/folder.png" width='16' height='16' py:if="file['isdir'] and file['level']>1" alt="${idx}/" /> <div py:if="file['isdir'] and file['level']>1" py:strip="">${file['file_name']}</div> + <img src="/images/mimetypes/text-html.png" width='16' height='16' py:if="not file['isdir']" alt="-" /> <a href="preview/models/${file['file_name']}" target="_blank" py:if="not file['isdir']">${file['file_name']}</a> </td></tr> </table> </div> @@ -47,13 +45,12 @@ <div id="getting_started"> <h2 id="controllers">Controllers</h2> the application logic, each URL path is mapped in one exposed method in the controller - <div id="controller_manager" py:for="idx,file in enumerate(controllers)" class="${idx%2 and 'odd' or 'even'}"><table cellpadding="0" cellspacing="0" border="0"> - <tr><td> + <div id="controller_manager"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr py:for="idx,file in enumerate(controllers)" class="${idx%2 and 'odd' or 'even'}"><td> <span py:if="file['level']>0" py:replace="' '*4*int(file['level'])"> </span> - <img src="/images/places/folder.png" width='16' height='16' py:if="file['isdir'] and file['level']>1" alt="${idx}/" /> - <div py:if="file['isdir'] and file['level']>1" py:strip="">${file['file_name']}</div> - <img src="/images/mimetypes/text-html.png" width='16' height='16' py:if="not file['isdir']" alt="-" /> - <a href="preview/${file['file_name']}" target="_blank" py:if="not file['isdir']">${file['file_name']}</a> + <img src="/images/places/folder.png" width='16' height='16' py:if="file['isdir'] and file['level']>1" alt="${idx}/" /> <div py:if="file['isdir'] and file['level']>1" py:strip="">${file['file_name']}</div> + <img src="/images/mimetypes/text-html.png" width='16' height='16' py:if="not file['isdir']" alt="-" /> <a href="preview/controllers/${file['file_name']}" target="_blank" py:if="not file['isdir']">${file['file_name']}</a> </td></tr> </table> </div> @@ -61,13 +58,12 @@ <div id="getting_started"> <h2 id="views">Views</h2> the presentations layer, views are also known as templates - <div id="template_manager" py:for="idx,file in enumerate(views)" class="${idx%2 and 'odd' or 'even'}"><table cellpadding="0" cellspacing="0" border="0"> - <tr><td> + <div id="template_manager"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr py:for="idx,file in enumerate(views)" class="${idx%2 and 'odd' or 'even'}"><td> <span py:if="file['level']>0" py:replace="' '*4*int(file['level'])"> </span> - <img src="/images/places/folder.png" width='16' height='16' py:if="file['isdir'] and file['level']>1" alt="${idx}/" /> - <div py:if="file['isdir'] and file['level']>1" py:strip="">${file['file_name']}</div> - <img src="/images/mimetypes/text-html.png" width='16' height='16' py:if="not file['isdir']" alt="-" /> - <a href="preview/${file['file_name']}" target="_blank" py:if="not file['isdir']">${file['file_name']}</a> + <img src="/images/places/folder.png" width='16' height='16' py:if="file['isdir'] and file['level']>1" alt="${idx}/" /> <div py:if="file['isdir'] and file['level']>1" py:strip="">${file['file_name']}</div> + <img src="/images/mimetypes/text-html.png" width='16' height='16' py:if="not file['isdir']" alt="-" /> <a href="preview/views/${file['file_name']}" target="_blank" py:if="not file['isdir']">${file['file_name']}</a> </td></tr> </table> </div> @@ -79,17 +75,18 @@ <div id="getting_started"> <h2 id="static">Static Files</h2> these files are served without processing, your images go here - <div id="static_manager" py:for="idx,file in enumerate(statics)" class="${idx%2 and 'odd' or 'even'}"><table cellpadding="0" cellspacing="0" border="0"> - <tr><td> + <div id="static_manager"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr py:for="idx,file in enumerate(statics)" class="${idx%2 and 'odd' or 'even'}"><td> <span py:if="file['level']>0" py:replace="' '*4*int(file['level'])"> </span> - <img src="/images/places/folder.png" width='16' height='16' py:if="file['isdir'] and file['level']>1" alt="${idx}/" /> - <div py:if="file['isdir'] and file['level']>1" py:strip="">${file['file_name']}</div> - <img src="/images/mimetypes/text-html.png" width='16' height='16' py:if="not file['isdir']" alt="-" /> - <a href="preview/${file['file_name']}" target="_blank" py:if="not file['isdir']">${file['file_name']}</a> + <img src="/images/places/folder.png" width='16' height='16' py:if="file['isdir'] and file['level']>1" alt="${idx}/" /> <div py:if="file['isdir'] and file['level']>1" py:strip="">${file['file_name']}</div> + <img src="/images/mimetypes/text-html.png" width='16' height='16' py:if="not file['isdir']" alt="-" /> <a href="preview/statics/${file['file_name']}" target="_blank" py:if="not file['isdir']">${file['file_name']}</a> + </td></tr> + <tr><td> + <form action="statics/receive" enctype="multipart/form-data" method="post"> <h2>Upload Static File</h2> File: <input name="myfile" type="file" /> <input type="submit" /> </form> </td></tr> </table> </div> - <form action="statics/receive" enctype="multipart/form-data" method="post"> <h2>Upload Static File</h2> File: <input name="myfile" type="file" /> <input type="submit" /> </form> </div> </body> </html>
