[MKDoc-commit] Added icons for some file types.
chris at mkdoc.demon.co.uk
chris at mkdoc.demon.co.uk
Thu May 12 17:11:06 BST 2005
Log Message:
-----------
Added icons for some file types.
Tags:
----
mkdoc-1-6
Modified Files:
--------------
mkd/templates/component/file:
en.html
-------------- next part --------------
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/component/file/Attic/en.html,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -Ltemplates/component/file/en.html -Ltemplates/component/file/en.html -u -r1.1.2.6 -r1.1.2.7
--- templates/component/file/en.html
+++ templates/component/file/en.html
@@ -15,6 +15,76 @@
petal:attributes="class string:file-${self/extension}"
class="file-file"
>
+ <img
+ src="/.static/css/mime/doc.png"
+ width="48"
+ height="48"
+ alt="Microsoft Word Document"
+ petal:condition="true: self/extension_is --doc"
+ />
+ <img
+ src="/.static/css/mime/gif.png"
+ width="48"
+ height="48"
+ alt="GIF Image"
+ petal:condition="true: self/extension_is --gif"
+ />
+ <img
+ src="/.static/css/mime/jpg.png"
+ width="48"
+ height="48"
+ alt="JPEG Image"
+ petal:condition="true: self/extension_is --jpg"
+ />
+ <img
+ src="/.static/css/mime/pdf.png"
+ width="48"
+ height="48"
+ alt="PDF Document"
+ petal:condition="true: self/extension_is --pdf"
+ />
+ <img
+ src="/.static/css/mime/png.png"
+ width="48"
+ height="48"
+ alt="Portable Network Graphic File"
+ petal:condition="true: self/extension_is --png"
+ />
+ <img
+ src="/.static/css/mime/ppt.png"
+ width="48"
+ height="48"
+ alt="Microsoft Power Point File"
+ petal:condition="true: self/extension_is --ppt"
+ />
+ <img
+ src="/.static/css/mime/rtf.png"
+ width="48"
+ height="48"
+ alt="Rich Text Format File"
+ petal:condition="true: self/extension_is --rtf"
+ />
+ <img
+ src="/.static/css/mime/txt.png"
+ width="48"
+ height="48"
+ alt="Plain Text File"
+ petal:condition="true: self/extension_is --txt"
+ />
+ <img
+ src="/.static/css/mime/xls.png"
+ width="48"
+ height="48"
+ alt="Microsoft Excel Document"
+ petal:condition="true: self/extension_is --xls"
+ />
+ <img
+ src="/.static/css/mime/zip.png"
+ width="48"
+ height="48"
+ alt="Zip Compressed Archive"
+ petal:condition="true: self/extension_is --zip"
+ />
<a
href="#"
petal:content="self/title"
More information about the MKDoc-commit
mailing list