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 @@
<div class="gadget-column">\n
<div class="gadget-action">\n
<div class="menu_create_object">\n
<tal:block tal:define="portal_path here/absolute_url;\n
url_suffix python: \'/ERP5Site_createNewWebDocument?template=\'">\n
<li><a id="current">\n
<span i18n:translate="" i18n:domain="ui">Create New</span>\n
<img tal:attributes="src python: portal_path + \'/ung_images/arrow.png\'"></a>\n
<ul>\n
<li>\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
<span i18n:translate="" i18n:domain="ui">Web Illustration</span>\n
</a>\n
</li>\n
<li>\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
<span i18n:translate="" i18n:domain="ui">Web Table</span>\n
</a>\n
</li>\n
<li>\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
<span i18n:translate="" i18n:domain="ui">Web Page</span>\n
</a>\n
</li>\n
</ul>\n
</li> \n
</tal:block>\n
</div>\n
<input type="submit" id="upload" name="Upload" value="Upload" i18n:translate="" i18n:domain="ui"/>\n
<div class="menu_create_object">\n
<tal:block tal:define="portal_path here/absolute_url;\n
url_suffix python: \'/ERP5Site_createNewWebDocument?template=\'">\n
<li>\n
<a id="current">\n
<span i18n:translate="" i18n:domain="ui">Create New</span>\n
<img tal:attributes="src python: portal_path + \'/ung_images/arrow.png\'"/>\n
</a>\n
<ul>\n
<li>\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
<span i18n:translate="" i18n:domain="ui">Web Illustration</span>\n
</a>\n
</li>\n
<li>\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
<span i18n:translate="" i18n:domain="ui">Web Table</span>\n
</a>\n
</li>\n
<li>\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
<span i18n:translate="" i18n:domain="ui">Web Page</span>\n
</a>\n
</li>\n
</ul>\n
</li> \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
<form action="WebSection_uploadDocument" method="post" enctype="multipart/form-data">\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
<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 Table" i18n:translate="" i18n:domain="ui">Web Table</option>\n
</select>\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
</fieldset>\n
</form> \n
</div>\n
<div class="file-selection">\n
<div class="file-quick-search"></div>\n
</div>\n
<div class="gadget-listbox" id="gadget-listbox" title="Add Gadgets" i18n:translate="" i18n:domain="ui">\n
<table id="gadget-table"></table>\n
</div>\n
<div class="front_pad">\n
<!-- XXX - Use WebSection_viewKnowledgePadColumn to display one column only -->\n
<div tal:content="structure python: here.ERP5Site_viewHomeAreaRenderer(mode=\'web_front\',\n
default_pad_group=\'\',\n
create_default_pad=True, \n
make_security_check=True,\n
columns=1)"\n
class="draggable_wrapper"/>\n
<div class="file-selection">\n
<div class="file-quick-search"></div>\n
</div>\n
<div class="gadget-listbox" id="gadget-listbox" title="Add Gadgets" i18n:translate="" i18n:domain="ui">\n
<table id="gadget-table"></table>\n
</div>\n
<div class="front_pad">\n
<!-- XXX - Use WebSection_viewKnowledgePadColumn to display one column only -->\n
<div tal:content="structure python: here.ERP5Site_viewHomeAreaRenderer(mode=\'web_front\',\n
default_pad_group=\'\',\n
create_default_pad=True, \n
make_security_check=True,\n
columns=1)"\n
class="draggable_wrapper"/>\n
</div>\n
</div>\n
</div>
......
2011-07-01 gabriel.oliveira
* Refactor to self-close html tags
2011-07-01 gabriel.oliveira
* Fix params for Refresh button
......
381
\ No newline at end of file
382
\ 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