From bd8210d0d851e2041b4924c5166141d16d0afc9a Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Tue, 22 Jan 2013 17:38:03 +0000 Subject: - fixed contact menu - updated default template git-svn-id: http://svn.miranda-ng.org/main/trunk@3234 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HTTPServer/docs/data/HTTPServer.dll | Bin 55296 -> 0 bytes plugins/HTTPServer/docs/data/HTTPServerIndex.html | 113 +++++--- .../docs/data/htdocs/@settings/favicon.ico | Bin 1406 -> 1150 bytes .../docs/data/htdocs/@settings/icons/document2.png | Bin 702 -> 0 bytes .../docs/data/htdocs/@settings/icons/empty.png | Bin 357 -> 0 bytes .../data/htdocs/@settings/icons/folder_gray.png | Bin 3172 -> 0 bytes .../docs/data/htdocs/@settings/icons/image2.png | Bin 912 -> 0 bytes .../docs/data/htdocs/@settings/icons/pdf.png | Bin 747 -> 0 bytes .../docs/data/htdocs/@settings/icons/sound.png | Bin 771 -> 0 bytes .../docs/data/htdocs/@settings/icons/source.png | Bin 633 -> 0 bytes .../docs/data/htdocs/@settings/icons/tar.png | Bin 863 -> 0 bytes .../docs/data/htdocs/@settings/icons/txt.png | Bin 558 -> 0 bytes .../docs/data/htdocs/@settings/icons/video.png | Bin 784 -> 0 bytes .../docs/data/htdocs/@settings/icons/win_apps.png | Bin 944 -> 0 bytes .../docs/data/htdocs/@settings/icons/www.png | Bin 734 -> 0 bytes .../docs/data/htdocs/@settings/index.xsl | 306 +++++++++++++-------- .../htdocs/@settings/theme/icons/document2.png | Bin 0 -> 702 bytes .../data/htdocs/@settings/theme/icons/empty.png | Bin 0 -> 357 bytes .../htdocs/@settings/theme/icons/folder_gray.png | Bin 0 -> 3172 bytes .../data/htdocs/@settings/theme/icons/image2.png | Bin 0 -> 912 bytes .../docs/data/htdocs/@settings/theme/icons/pdf.png | Bin 0 -> 747 bytes .../data/htdocs/@settings/theme/icons/sound.png | Bin 0 -> 771 bytes .../data/htdocs/@settings/theme/icons/source.png | Bin 0 -> 633 bytes .../htdocs/@settings/theme/icons/source_java.png | Bin 0 -> 3373 bytes .../docs/data/htdocs/@settings/theme/icons/tar.png | Bin 0 -> 863 bytes .../docs/data/htdocs/@settings/theme/icons/tex.png | Bin 0 -> 3205 bytes .../docs/data/htdocs/@settings/theme/icons/txt.png | Bin 0 -> 558 bytes .../data/htdocs/@settings/theme/icons/video.png | Bin 0 -> 784 bytes .../data/htdocs/@settings/theme/icons/win_apps.png | Bin 0 -> 944 bytes .../docs/data/htdocs/@settings/theme/icons/www.png | Bin 0 -> 734 bytes .../htdocs/@settings/theme/style/simpleTheme.css | 191 +++++++++++++ 31 files changed, 464 insertions(+), 146 deletions(-) delete mode 100644 plugins/HTTPServer/docs/data/HTTPServer.dll delete mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/icons/document2.png delete mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/icons/empty.png delete mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/icons/folder_gray.png delete mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/icons/image2.png delete mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/icons/pdf.png delete mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/icons/sound.png delete mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/icons/source.png delete mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/icons/tar.png delete mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/icons/txt.png delete mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/icons/video.png delete mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/icons/win_apps.png delete mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/icons/www.png create mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/document2.png create mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/empty.png create mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/folder_gray.png create mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/image2.png create mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/pdf.png create mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/sound.png create mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/source.png create mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/source_java.png create mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/tar.png create mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/tex.png create mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/txt.png create mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/video.png create mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/win_apps.png create mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/www.png create mode 100644 plugins/HTTPServer/docs/data/htdocs/@settings/theme/style/simpleTheme.css (limited to 'plugins/HTTPServer/docs/data') diff --git a/plugins/HTTPServer/docs/data/HTTPServer.dll b/plugins/HTTPServer/docs/data/HTTPServer.dll deleted file mode 100644 index d315b17d8b..0000000000 Binary files a/plugins/HTTPServer/docs/data/HTTPServer.dll and /dev/null differ diff --git a/plugins/HTTPServer/docs/data/HTTPServerIndex.html b/plugins/HTTPServer/docs/data/HTTPServerIndex.html index 4fdc41940a..a64f9c4884 100644 --- a/plugins/HTTPServer/docs/data/HTTPServerIndex.html +++ b/plugins/HTTPServer/docs/data/HTTPServerIndex.html @@ -1,34 +1,83 @@ - - -Directory Listing of [DirectoryName] - - - - - - -[End] -[ForFilesDo][End] - - + + + + + + + + + + Directroy [DirectoryName] + + + + + + + + +
-

Directory Listing of [DirectoryName]

-[ForDirectoriesDo]
[DirectoryName]
-[IsFileType=jpg,jpeg,gif,png,bmp][End] -[IsFileType=zip,rar,ace,arj,lha,lhz,tar,gz][End] -[IsFileType=rtf,doc][End] -[IsFileType=txt,diz][End] -[IsFileType=pdf][End] -[IsFileType=exe,bat][End] -[IsFileType=html,htm,xml][End] -[IsFileType=avi,mpg][End] -[IsFileType=c,cpp,h][End] -[IsFileType=mp3,ogg,wav,mid,mod,xm][End] -[IsFileType=*][End][FileName][FileModified][FileSize]
+ + + + + + + + +[ForDirectoriesDo] + + + +[End] + +[ForFilesDo] + + + + + + +[End] + +
Directory [DirectoryName]
+ + folder + [DirectoryName] + +
+ +[IsFileType=jpg,jpeg,gif,png,bmp][End] +[IsFileType=zip,rar,ace,arj,lha,lhz,tar,gz,7z][End] +[IsFileType=rtf,doc][End] +[IsFileType=txt,diz][End] +[IsFileType=pdf][End] +[IsFileType=tex][End] +[IsFileType=java,jar][End] +[IsFileType=exe,bat,dll][End] +[IsFileType=html,htm,xml,php,css][End] +[IsFileType=avi,mpg,mpeg][End] +[IsFileType=c,cpp,h][End] +[IsFileType=mp3,ogg,wav,mid,mod,xm][End] +[IsFileType=*][End] + [FileName] + + [FileSize][FileModified][FileCreated]
+ \ No newline at end of file diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/favicon.ico b/plugins/HTTPServer/docs/data/htdocs/@settings/favicon.ico index 1bd45b98e4..fff597ff84 100644 Binary files a/plugins/HTTPServer/docs/data/htdocs/@settings/favicon.ico and b/plugins/HTTPServer/docs/data/htdocs/@settings/favicon.ico differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/document2.png b/plugins/HTTPServer/docs/data/htdocs/@settings/icons/document2.png deleted file mode 100644 index f4d5bfd139..0000000000 Binary files a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/document2.png and /dev/null differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/empty.png b/plugins/HTTPServer/docs/data/htdocs/@settings/icons/empty.png deleted file mode 100644 index bfe1d06e04..0000000000 Binary files a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/empty.png and /dev/null differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/folder_gray.png b/plugins/HTTPServer/docs/data/htdocs/@settings/icons/folder_gray.png deleted file mode 100644 index ea7f314dba..0000000000 Binary files a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/folder_gray.png and /dev/null differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/image2.png b/plugins/HTTPServer/docs/data/htdocs/@settings/icons/image2.png deleted file mode 100644 index dbefd0ccfa..0000000000 Binary files a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/image2.png and /dev/null differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/pdf.png b/plugins/HTTPServer/docs/data/htdocs/@settings/icons/pdf.png deleted file mode 100644 index 27faad6fc0..0000000000 Binary files a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/pdf.png and /dev/null differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/sound.png b/plugins/HTTPServer/docs/data/htdocs/@settings/icons/sound.png deleted file mode 100644 index bfe6022c8c..0000000000 Binary files a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/sound.png and /dev/null differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/source.png b/plugins/HTTPServer/docs/data/htdocs/@settings/icons/source.png deleted file mode 100644 index 14a9c6ee31..0000000000 Binary files a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/source.png and /dev/null differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/tar.png b/plugins/HTTPServer/docs/data/htdocs/@settings/icons/tar.png deleted file mode 100644 index 8bdfa8a0fc..0000000000 Binary files a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/tar.png and /dev/null differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/txt.png b/plugins/HTTPServer/docs/data/htdocs/@settings/icons/txt.png deleted file mode 100644 index b34ba0b892..0000000000 Binary files a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/txt.png and /dev/null differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/video.png b/plugins/HTTPServer/docs/data/htdocs/@settings/icons/video.png deleted file mode 100644 index 6c5f692d79..0000000000 Binary files a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/video.png and /dev/null differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/win_apps.png b/plugins/HTTPServer/docs/data/htdocs/@settings/icons/win_apps.png deleted file mode 100644 index c22b0e24c9..0000000000 Binary files a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/win_apps.png and /dev/null differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/www.png b/plugins/HTTPServer/docs/data/htdocs/@settings/icons/www.png deleted file mode 100644 index 2bd96dd012..0000000000 Binary files a/plugins/HTTPServer/docs/data/htdocs/@settings/icons/www.png and /dev/null differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/index.xsl b/plugins/HTTPServer/docs/data/htdocs/@settings/index.xsl index d8e8f4e872..8e1d1bdda1 100644 --- a/plugins/HTTPServer/docs/data/htdocs/@settings/index.xsl +++ b/plugins/HTTPServer/docs/data/htdocs/@settings/index.xsl @@ -1,121 +1,199 @@ - - + + + * the icons are taken from the 'Crystal Project' by Everaldo Coelho, licenced under LGPL + http://www.everaldo.com/ - + * Template modded by Wishmaster + [+] header bar + [+] bottom bar with number of total files and total file size + [+] tooltips on each field (with real byte-size) + [+] moved design to seperate CSS file + [*] proper support for "shortcut icon" aka "favicon" (with link tag) + [*] lots of code changes + --> + - - - my Miranda Webserver - - - + + - - - Directory Listing of <xsl:value-of select="$dirname"/> - - - - - - - - - - - - - - - - #EEEEFF - #DDDDEE - - - - + + + + + Directory + Miranda NG Webserver + + + + + + + + + + + + + + + + + <xsl:value-of select="$title" /> + + + + + + + + +
-

Directory Listing of

-
+ + + + + + + + + + + + + + + + + + - 3 - 1 + even + odd - - - - - - folder_gray.png - image2.png - tar.png - document2.png - txt.png - pdf.png - win_apps.png - www.png - video.png - source.png - sound.png - empty.png - - - - /icons/ - - - /placeholder.gif - 5 - - - - - . - / - - - . - - - - - - - - - - - - -
- - - GB - - - MB - - - KB - - - Byte - - -
-
- - - -
- -
+ + + + + + folder + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + /theme/icons/image2.png + /theme/icons/tar.png + /theme/icons/document2.png + /theme/icons/txt.png + /theme/icons/pdf.png + /theme/icons/tex.png + theme/icons/source_java.png + /theme/icons/win_apps.png + /theme/icons/www.png + /theme/icons/video.png + /theme/icons/source.png + /theme/icons/sound.png + /theme/icons/empty.png + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Directories, Files + + + + + total + scroll up + + + + + + + + + + + + ... + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/document2.png b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/document2.png new file mode 100644 index 0000000000..f4d5bfd139 Binary files /dev/null and b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/document2.png differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/empty.png b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/empty.png new file mode 100644 index 0000000000..bfe1d06e04 Binary files /dev/null and b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/empty.png differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/folder_gray.png b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/folder_gray.png new file mode 100644 index 0000000000..ea7f314dba Binary files /dev/null and b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/folder_gray.png differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/image2.png b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/image2.png new file mode 100644 index 0000000000..dbefd0ccfa Binary files /dev/null and b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/image2.png differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/pdf.png b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/pdf.png new file mode 100644 index 0000000000..27faad6fc0 Binary files /dev/null and b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/pdf.png differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/sound.png b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/sound.png new file mode 100644 index 0000000000..bfe6022c8c Binary files /dev/null and b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/sound.png differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/source.png b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/source.png new file mode 100644 index 0000000000..14a9c6ee31 Binary files /dev/null and b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/source.png differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/source_java.png b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/source_java.png new file mode 100644 index 0000000000..44057b7bd6 Binary files /dev/null and b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/source_java.png differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/tar.png b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/tar.png new file mode 100644 index 0000000000..8bdfa8a0fc Binary files /dev/null and b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/tar.png differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/tex.png b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/tex.png new file mode 100644 index 0000000000..96a42c8187 Binary files /dev/null and b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/tex.png differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/txt.png b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/txt.png new file mode 100644 index 0000000000..b34ba0b892 Binary files /dev/null and b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/txt.png differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/video.png b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/video.png new file mode 100644 index 0000000000..6c5f692d79 Binary files /dev/null and b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/video.png differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/win_apps.png b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/win_apps.png new file mode 100644 index 0000000000..c22b0e24c9 Binary files /dev/null and b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/win_apps.png differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/www.png b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/www.png new file mode 100644 index 0000000000..2bd96dd012 Binary files /dev/null and b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/icons/www.png differ diff --git a/plugins/HTTPServer/docs/data/htdocs/@settings/theme/style/simpleTheme.css b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/style/simpleTheme.css new file mode 100644 index 0000000000..03e8a2c9db --- /dev/null +++ b/plugins/HTTPServer/docs/data/htdocs/@settings/theme/style/simpleTheme.css @@ -0,0 +1,191 @@ +@charset "ISO-8859-1"; + +/* + * simpleTheme for Miranda's HTTPServer Plugin by FREAK_THEMIGHTY + */ + + +/* + IDs: + + table#listing + tr#header : headline (first ) + tr#stats : footer (last ) + a#uplink: Link in right bottom cell + + CLASSes + tr.even : at even position + tr.odd : at odd position + + td.folder : folder (take care of colspan="4" attribute here!!!) + + for ALL and + .file : file name + a.{ext} : extension of a file, lowercase (only XSLT template) + .size : file size + .modified : file modified-date + .created : file created-date +*/ + +/*reset to default*/ +* { + margin: 0px; + padding: 0px, +} + + + +body { + direction: ltr; + color: #86867B; + background-color: #FFFFFF; +} + +/* the table itsself */ +table#listing { + width: 90%; + margin: auto; + text-align: inherit; + + empty-cells: hide; + table-layout: auto; + + border-collapse: separate; + border-spacing: 3px; + border-right: #86867B 1px dotted; + border-top: #86867B 0px solid; + border-left: #86867B 1px dotted; + border-bottom: #86867B 4px solid; + + /*text-wrap: normal; + word-wrap: break-word;*/ + font-family: 'Times New Roman' +} + +/* caption of the file listing */ +caption#tablecaption { + caption-side: top; + color: #000000; + background-color: #E6E7D7; + + font: 1.5em Times; + + padding-top: 0px; + padding-bottom: 3px; + + border-right: #86867B 1px outset; + border-top: #86867B 2px outset; + border-left: #86867B 1px outset; + border-bottom: #86867B 2px outset; + + margin-top: 9px; + margin-bottom: 5px; + margin-left: 0px; + + vertical-align: middle; + overflow: auto; +} + +tr#header>td { + font: 0.8em Times; +} + +table#listing td { + font: menu; + + border: #86867B 1px solid; + margin-right: 0px; + + padding-top: 0px; + padding-bottom: 8px; + padding-left: 6px; + + vertical-align: middle; + overflow: hidden; +} + +/* even elements */ +#listing .even { + color: inherit; + background-color: #F5F5EA; +} + +/* odd elements */ +#listing .odd { + color: inherit; + background-color: #CDCCCC; +} + +/* hover effect */ +#listing td:hover { + color: #000000; + /*background-color: #F08080;*/ + border-color: #000000; +} + +#listing a:link { + text-decoration: none; + color: #CC0000; + font-weight: 800; + background-color: transparent; +} + +#listing a:visited { + text-decoration: none; + color: #555555; + background-color: transparent; +} + +#listing a:focus { + text-decoration: none; + color: inherit; + background-color: transparent; +} + +#listing a:hover { + text-decoration: none; + color: #000000; + background-color: transparent; +} + +#listing a:active { + text-decoration: none; + color: #555555; + background-color: transparent; +} + +#listing a#uplink { + text-decoration: underline; + color: inherit; + background-color: transparent; +} + +#listing img { + margin-top: 5px; + margin-right: 2px; + margin-left: 2px; + border: none; + width: 16px; + height: 16px; +} + +#stats { + font: 0.8em Times; +} +#stats>th { + height: auto; + text-align: center; + vertical-align: middle; +} + +td.file { + min-width: 70%; +} + +td.size { + text-align: right; +} + +td.modified { + font-weight: bold; +} \ No newline at end of file -- cgit v1.2.3