diff options
Diffstat (limited to 'src/defidx.html')
-rw-r--r-- | src/defidx.html | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/src/defidx.html b/src/defidx.html new file mode 100644 index 0000000..83935bd --- /dev/null +++ b/src/defidx.html @@ -0,0 +1,71 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of {% $URI %}</title> + {% if $INDEXCSS %} + <link rel="stylesheet" href="{% $INDEXCSS %}" type="text/css"> + {% endif %} + </head> + <body> + <h1 id="indextitle">Index of {% $URI %}</h1> + <table id="indexlist"> + <tr class="indexhead"> + <th class="indexcolicon"> + {% if $(icon blank) %} + <img src="{% $(icon blank) %}" alt="[ICO]"> + {% else %} + [ICO] + {% endif %} + </th> + <th class="indexcolname"> + <a href="?C=N;O=D">Name</a> + </th> + <th class="indexcollastmod"> + <a href="?C=M;O=A">Last modified</a> + </th> + <th class="indexcolsize"> + <a href="?C=S;O=A">Size</a> + </th> + <th class="indexcoldesc"> + <a href="?C=D;O=A">Description</a> + </th> + </tr> + <tr class="indexbreakrow"> + <th colspan="5"><hr></th> + </tr> + <tr class="even"> + <td class="indexcolicon"> + {% if $(icon back) %} + <img src="{% $(icon 'back') %}" alt="[PARENTDIR]"> + {% else %} + [PARENTDIR] + {% endif %} + </td> + <td class="indexcolname"> + <a href="/">Parent Directory</a> + </td> + <td class="indexcollastmod"> </td> + <td class="indexcolsize"> - </td> + <td> </td> + </tr> + {% loop %} + <tr class="{% $ROWCLASS %}"> + <td class="indexcolicon"> + {% if $(icon $FILETYPE) %} + <img src="{% $(icon $FILETYPE) %}" alt="[{% $(alt $FILETYPE) %}]"> + {% else %} + [{% $(alt $FILETYPE) %}] + {% endif %} + </td> + <td class="indexcolname"> + <a href="{% $FILENAME %}">{% $FILENAME %}</a> + </td> + <td class="indexcollastmod">{% $FILETIME %}</td> + <td class="indexcolsize">{% $FILESIZE %}</td> + <td> </td> + </tr> + {% endloop %} + <tr class="indexbreakrow"><th colspan="5"><hr></th></tr> + </table> +</body> +</html> |