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
...@@ -41,29 +41,31 @@ ...@@ -41,29 +41,31 @@
<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
<a id="current">\n
<span i18n:translate="" i18n:domain="ui">Create New</span>\n <span i18n:translate="" i18n:domain="ui">Create New</span>\n
<img tal:attributes="src python: portal_path + \'/ung_images/arrow.png\'"></a>\n <img tal:attributes="src python: portal_path + \'/ung_images/arrow.png\'"/>\n
</a>\n
<ul>\n <ul>\n
<li>\n <li>\n
<a tal:attributes="href python: portal_path + url_suffix + \'web_illustration_template\'">\n <a tal:attributes="href python: portal_path + url_suffix + \'web_illustration_template\'">\n
<img tal:attributes="src python: portal_path + \'/ung_images/svg.png\'">\n <img tal:attributes="src python: portal_path + \'/ung_images/svg.png\'"/>\n
<span i18n:translate="" i18n:domain="ui">Web Illustration</span>\n <span i18n:translate="" i18n:domain="ui">Web Illustration</span>\n
</a>\n </a>\n
</li>\n </li>\n
<li>\n <li>\n
<a tal:attributes="href python: portal_path + url_suffix + \'web_table_template\'">\n <a tal:attributes="href python: portal_path + url_suffix + \'web_table_template\'">\n
<img tal:attributes="src python: portal_path + \'/ung_images/table.jpg\'">\n <img tal:attributes="src python: portal_path + \'/ung_images/table.jpg\'"/>\n
<span i18n:translate="" i18n:domain="ui">Web Table</span>\n <span i18n:translate="" i18n:domain="ui">Web Table</span>\n
</a>\n </a>\n
</li>\n </li>\n
<li>\n <li>\n
<a tal:attributes="href python: portal_path + url_suffix + \'web_page_template\'">\n <a tal:attributes="href python: portal_path + url_suffix + \'web_page_template\'">\n
<img tal:attributes="src python: portal_path + \'/ung_images/document.gif\'">\n <img tal:attributes="src python: portal_path + \'/ung_images/document.gif\'"/>\n
<span i18n:translate="" i18n:domain="ui">Web Page</span>\n <span i18n:translate="" i18n:domain="ui">Web Page</span>\n
</a>\n </a>\n
</li>\n </li>\n
</ul>\n </ul>\n
</li> \n </li> \n
</tal:block>\n </tal:block>\n
</div>\n </div>\n
...@@ -71,14 +73,14 @@ ...@@ -71,14 +73,14 @@
<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
...@@ -98,6 +100,7 @@ ...@@ -98,6 +100,7 @@
columns=1)"\n columns=1)"\n
class="draggable_wrapper"/>\n class="draggable_wrapper"/>\n
</div>\n </div>\n
</div>\n
</div> </div>
]]></unicode> </value> ]]></unicode> </value>
......
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