#10417: Create directory listing template for Web+ ----------------------------------------+---------------------------- Reporter: pulkomandy | Owner: pulkomandy Type: enhancement | Status: new Priority: low | Milestone: Unscheduled Component: Applications/WebPositive | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All ----------------------------------------+---------------------------- Comment (by pulkomandy): If I had an example, I'd be using it ;) The icon protocol could be added, but I'm not sure how you could use it, as the table content is generated by the browser, and the cell with the icon will not "know" the file type/extension. Unless you manage to grab it from the filename cell content using Javascript, maybe. I think the current page looks like this: {{{ <body> <table id="ftpDirectoryTable"> <tr class="ftpDirectoryEntryRow"> <!--<td class="ftpDirectoryIcon ftpDirectoryTypeDirectory" /> (for directories) --> <td class="ftpDirectoryIcon ftpDirectoryTypeFile"/> <td class="ftpDirectoryFileName">Filename.ext</td> <td class="ftpDirectoryFileDate">Yesteday</td> <td class="ftpDirectoryFileSize">30MB</td> </tr> <!-- more tr follow, with the other files --> </table> </body> -- Ticket URL: <http://dev.haiku-os.org/ticket/10417#comment:2> Haiku <http://dev.haiku-os.org> Haiku - the operating system.