Commit 5df0cbd9 authored by Gabriel L. Oliveira's avatar Gabriel L. Oliveira

Refactor self-closing html tags

- Inputs and img tags are not self-closed
parent a258d601
...@@ -38,65 +38,68 @@ ...@@ -38,65 +38,68 @@
<div class="gadget-column">\n <div class="gadget-column">\n
<div class="gadget-action">\n <div class="gadget-action">\n
<div class="menu_create_object">\n <div class="menu_create_object">\n
<tal:block tal:define="portal_path here/absolute_url;\n <tal:block tal:define="portal_path here/absolute_url;\n
url_suffix python: \'/ERP5Site_createNewWebDocument?template=\'">\n url_suffix python: \'/ERP5Site_createNewWebDocument?template=\'">\n
<li><a id="current">\n <li>\n
<span i18n:translate="" i18n:domain="ui">Create New</span>\n <a id="current">\n
<img tal:attributes="src python: portal_path + \'/ung_images/arrow.png\'"></a>\n <span i18n:translate="" i18n:domain="ui">Create New</span>\n
<ul>\n <img tal:attributes="src python: portal_path + \'/ung_images/arrow.png\'"/>\n
<li>\n </a>\n
<a tal:attributes="href python: portal_path + url_suffix + \'web_illustration_template\'">\n <ul>\n
<img tal:attributes="src python: portal_path + \'/ung_images/svg.png\'">\n <li>\n
<span i18n:translate="" i18n:domain="ui">Web Illustration</span>\n <a tal:attributes="href python: portal_path + url_suffix + \'web_illustration_template\'">\n
</a>\n <img tal:attributes="src python: portal_path + \'/ung_images/svg.png\'"/>\n
</li>\n <span i18n:translate="" i18n:domain="ui">Web Illustration</span>\n
<li>\n </a>\n
<a tal:attributes="href python: portal_path + url_suffix + \'web_table_template\'">\n </li>\n
<img tal:attributes="src python: portal_path + \'/ung_images/table.jpg\'">\n <li>\n
<span i18n:translate="" i18n:domain="ui">Web Table</span>\n <a tal:attributes="href python: portal_path + url_suffix + \'web_table_template\'">\n
</a>\n <img tal:attributes="src python: portal_path + \'/ung_images/table.jpg\'"/>\n
</li>\n <span i18n:translate="" i18n:domain="ui">Web Table</span>\n
<li>\n </a>\n
<a tal:attributes="href python: portal_path + url_suffix + \'web_page_template\'">\n </li>\n
<img tal:attributes="src python: portal_path + \'/ung_images/document.gif\'">\n <li>\n
<span i18n:translate="" i18n:domain="ui">Web Page</span>\n <a tal:attributes="href python: portal_path + url_suffix + \'web_page_template\'">\n
</a>\n <img tal:attributes="src python: portal_path + \'/ung_images/document.gif\'"/>\n
</li>\n <span i18n:translate="" i18n:domain="ui">Web Page</span>\n
</ul>\n </a>\n
</li> \n </li>\n
</tal:block>\n </ul>\n
</div>\n </li> \n
<input type="submit" id="upload" name="Upload" value="Upload" i18n:translate="" i18n:domain="ui"/>\n </tal:block>\n
</div>\n
<input type="submit" id="upload" name="Upload" value="Upload" i18n:translate="" i18n:domain="ui"/>\n
<div id="upload_document" title="Upload Document" i18n:translate="" i18n:domain="ui">\n <div id="upload_document" title="Upload Document" i18n:translate="" i18n:domain="ui">\n
<form action="WebSection_uploadDocument" method="post" enctype="multipart/form-data">\n <form action="WebSection_uploadDocument" method="post" enctype="multipart/form-data">\n
<fieldset id="file_box">\n <fieldset id="file_box">\n
<input id="upload-file" type="file" size="30" name="file">\n <input id="upload-file" type="file" size="30" name="file"/>\n
<select name="portal_type">\n <select name="portal_type">\n
<option value="Web Page" i18n:translate="" i18n:domain="ui">Web Page</option>\n <option value="Web Page" i18n:translate="" i18n:domain="ui">Web Page</option>\n
<option value="Web Illustration" i18n:translate="" i18n:domain="ui">Web Illustration</option>\n <option value="Web Illustration" i18n:translate="" i18n:domain="ui">Web Illustration</option>\n
<option value="Web Table" i18n:translate="" i18n:domain="ui">Web Table</option>\n <option value="Web Table" i18n:translate="" i18n:domain="ui">Web Table</option>\n
</select>\n </select>\n
<br />\n <br />\n
<input type="submit" id="submit_document" value="Submit" i18n:translate="" i18n:domain="ui">\n <input type="submit" id="submit_document" value="Submit" i18n:translate="" i18n:domain="ui"/>\n
<span id="no-input-file">Please input a file</span>\n <span id="no-input-file">Please input a file</span>\n
</fieldset>\n </fieldset>\n
</form> \n </form> \n
</div>\n </div>\n
<div class="file-selection">\n <div class="file-selection">\n
<div class="file-quick-search"></div>\n <div class="file-quick-search"></div>\n
</div>\n </div>\n
<div class="gadget-listbox" id="gadget-listbox" title="Add Gadgets" i18n:translate="" i18n:domain="ui">\n <div class="gadget-listbox" id="gadget-listbox" title="Add Gadgets" i18n:translate="" i18n:domain="ui">\n
<table id="gadget-table"></table>\n <table id="gadget-table"></table>\n
</div>\n </div>\n
<div class="front_pad">\n <div class="front_pad">\n
<!-- XXX - Use WebSection_viewKnowledgePadColumn to display one column only -->\n <!-- XXX - Use WebSection_viewKnowledgePadColumn to display one column only -->\n
<div tal:content="structure python: here.ERP5Site_viewHomeAreaRenderer(mode=\'web_front\',\n <div tal:content="structure python: here.ERP5Site_viewHomeAreaRenderer(mode=\'web_front\',\n
default_pad_group=\'\',\n default_pad_group=\'\',\n
create_default_pad=True, \n create_default_pad=True, \n
make_security_check=True,\n make_security_check=True,\n
columns=1)"\n columns=1)"\n
class="draggable_wrapper"/>\n class="draggable_wrapper"/>\n
</div>\n
</div>\n </div>\n
</div> </div>
......
2011-07-01 gabriel.oliveira
* Refactor to self-close html tags
2011-07-01 gabriel.oliveira 2011-07-01 gabriel.oliveira
* Fix params for Refresh button * Fix params for Refresh button
......
381 382
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment