diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e9ae80694875f869892f13f4fcaf1170a00dea41 (patch) | |
tree | aa2f8d8a217e2d376224c8d46b7397b68d35de2d /klinkstatus/data | |
download | tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.tar.gz tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klinkstatus/data')
-rw-r--r-- | klinkstatus/data/Makefile.am | 3 | ||||
-rw-r--r-- | klinkstatus/data/icons/16x16/304.png | bin | 0 -> 662 bytes | |||
-rw-r--r-- | klinkstatus/data/icons/16x16/Makefile.am | 4 | ||||
-rw-r--r-- | klinkstatus/data/icons/16x16/cr16-action-bug.png | bin | 0 -> 1107 bytes | |||
-rw-r--r-- | klinkstatus/data/icons/22x22/Makefile.am | 1 | ||||
-rw-r--r-- | klinkstatus/data/icons/32x32/Makefile.am | 2 | ||||
-rw-r--r-- | klinkstatus/data/icons/Makefile.am | 2 | ||||
-rw-r--r-- | klinkstatus/data/icons/hi128-app-klinkstatus.png | bin | 0 -> 14750 bytes | |||
-rw-r--r-- | klinkstatus/data/icons/hi16-app-klinkstatus.png | bin | 0 -> 667 bytes | |||
-rw-r--r-- | klinkstatus/data/icons/hi22-app-klinkstatus.png | bin | 0 -> 1027 bytes | |||
-rw-r--r-- | klinkstatus/data/icons/hi32-app-klinkstatus.png | bin | 0 -> 1849 bytes | |||
-rw-r--r-- | klinkstatus/data/icons/hi48-app-klinkstatus.png | bin | 0 -> 3765 bytes | |||
-rw-r--r-- | klinkstatus/data/icons/hi64-app-klinkstatus.png | bin | 0 -> 5522 bytes | |||
-rw-r--r-- | klinkstatus/data/styles/Makefile.am | 6 | ||||
-rw-r--r-- | klinkstatus/data/styles/results_stylesheet.xsl | 99 |
15 files changed, 117 insertions, 0 deletions
diff --git a/klinkstatus/data/Makefile.am b/klinkstatus/data/Makefile.am new file mode 100644 index 00000000..f8219dbf --- /dev/null +++ b/klinkstatus/data/Makefile.am @@ -0,0 +1,3 @@ +SUBDIRS = icons styles + +klinkstatusicondir = $(kde_datadir)/klinkstatus/icons diff --git a/klinkstatus/data/icons/16x16/304.png b/klinkstatus/data/icons/16x16/304.png Binary files differnew file mode 100644 index 00000000..036bff9b --- /dev/null +++ b/klinkstatus/data/icons/16x16/304.png diff --git a/klinkstatus/data/icons/16x16/Makefile.am b/klinkstatus/data/icons/16x16/Makefile.am new file mode 100644 index 00000000..1d19c3a3 --- /dev/null +++ b/klinkstatus/data/icons/16x16/Makefile.am @@ -0,0 +1,4 @@ +klinkstatusicondir = $(kde_datadir)/klinkstatuspart/pics + +klinkstatusicon_DATA = 304.png +KDE_ICON = bug diff --git a/klinkstatus/data/icons/16x16/cr16-action-bug.png b/klinkstatus/data/icons/16x16/cr16-action-bug.png Binary files differnew file mode 100644 index 00000000..827d5f8e --- /dev/null +++ b/klinkstatus/data/icons/16x16/cr16-action-bug.png diff --git a/klinkstatus/data/icons/22x22/Makefile.am b/klinkstatus/data/icons/22x22/Makefile.am new file mode 100644 index 00000000..bdcbfad2 --- /dev/null +++ b/klinkstatus/data/icons/22x22/Makefile.am @@ -0,0 +1 @@ +klinkstatusicondir = $(kde_datadir)/klinkstatuspart/pics diff --git a/klinkstatus/data/icons/32x32/Makefile.am b/klinkstatus/data/icons/32x32/Makefile.am new file mode 100644 index 00000000..5d234f12 --- /dev/null +++ b/klinkstatus/data/icons/32x32/Makefile.am @@ -0,0 +1,2 @@ +klinkstatusicondir = $(kde_datadir)/klinkstatuspart/pics + diff --git a/klinkstatus/data/icons/Makefile.am b/klinkstatus/data/icons/Makefile.am new file mode 100644 index 00000000..14f1949a --- /dev/null +++ b/klinkstatus/data/icons/Makefile.am @@ -0,0 +1,2 @@ +SUBDIRS = 32x32 22x22 16x16 +KDE_ICON = klinkstatus diff --git a/klinkstatus/data/icons/hi128-app-klinkstatus.png b/klinkstatus/data/icons/hi128-app-klinkstatus.png Binary files differnew file mode 100644 index 00000000..2aec7026 --- /dev/null +++ b/klinkstatus/data/icons/hi128-app-klinkstatus.png diff --git a/klinkstatus/data/icons/hi16-app-klinkstatus.png b/klinkstatus/data/icons/hi16-app-klinkstatus.png Binary files differnew file mode 100644 index 00000000..ea405926 --- /dev/null +++ b/klinkstatus/data/icons/hi16-app-klinkstatus.png diff --git a/klinkstatus/data/icons/hi22-app-klinkstatus.png b/klinkstatus/data/icons/hi22-app-klinkstatus.png Binary files differnew file mode 100644 index 00000000..6d359296 --- /dev/null +++ b/klinkstatus/data/icons/hi22-app-klinkstatus.png diff --git a/klinkstatus/data/icons/hi32-app-klinkstatus.png b/klinkstatus/data/icons/hi32-app-klinkstatus.png Binary files differnew file mode 100644 index 00000000..fc4b9eff --- /dev/null +++ b/klinkstatus/data/icons/hi32-app-klinkstatus.png diff --git a/klinkstatus/data/icons/hi48-app-klinkstatus.png b/klinkstatus/data/icons/hi48-app-klinkstatus.png Binary files differnew file mode 100644 index 00000000..68e67f4a --- /dev/null +++ b/klinkstatus/data/icons/hi48-app-klinkstatus.png diff --git a/klinkstatus/data/icons/hi64-app-klinkstatus.png b/klinkstatus/data/icons/hi64-app-klinkstatus.png Binary files differnew file mode 100644 index 00000000..47b4668f --- /dev/null +++ b/klinkstatus/data/icons/hi64-app-klinkstatus.png diff --git a/klinkstatus/data/styles/Makefile.am b/klinkstatus/data/styles/Makefile.am new file mode 100644 index 00000000..7f17fbd9 --- /dev/null +++ b/klinkstatus/data/styles/Makefile.am @@ -0,0 +1,6 @@ +styles_DATA = \ + results_stylesheet.xsl + +stylesdir = $(kde_datadir)/klinkstatus/styles +EXTRA_DIST = $(styles_DATA) + diff --git a/klinkstatus/data/styles/results_stylesheet.xsl b/klinkstatus/data/styles/results_stylesheet.xsl new file mode 100644 index 00000000..d0b0c10d --- /dev/null +++ b/klinkstatus/data/styles/results_stylesheet.xsl @@ -0,0 +1,99 @@ +<?xml version='1.0' encoding='utf-8' ?> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + + <xsl:output method="html" /> + + <xsl:template match="/klinkstatus"> + <html> + <body> + + <strong>URL: </strong> + <xsl:value-of select="/klinkstatus/url"/> + <br/> + <strong>Depth: </strong> + <xsl:value-of select="/klinkstatus/depth"/> + <br/> + <strong>Check Parent Folders: </strong> + <xsl:value-of select="/klinkstatus/check_parent_folders"/> + <br/> + <strong>Check external links: </strong> + <xsl:value-of select="/klinkstatus/check_external_links"/> + <br/> + <xsl:if test="/klinkstatus/check_regular_expression[@check = 'true']"> + <strong>Do not check links matching regular expression: </strong> + <xsl:value-of select="/klinkstatus/check_regular_expression"/> + <br/> + </xsl:if> + <br/> + + <table border="1"> + <thead> + <tr> + <th>URL</th> + <th>Status</th> + <th>Label</th> + <th>Referrers</th> + </tr> + </thead> + <tbody> + <xsl:for-each select="/klinkstatus/link_list/link"> + <tr> + <td> + <xsl:apply-templates select="url"/> + </td> + <td> + <xsl:apply-templates select="status"/> + </td> + <td> + <xsl:apply-templates select="label"/> + </td> + <td> + <xsl:apply-templates select="referrers"/> + </td> + </tr> + </xsl:for-each> + </tbody> + </table> + </body> + </html> + </xsl:template> + + <xsl:template match="url"> + <xsl:variable name="isBroken"> + <xsl:value-of select="../status/@broken"/> + </xsl:variable> + <xsl:choose> + <xsl:when test="$isBroken='true'"> + <span style="color: red;"> + <xsl:value-of select="."/> + </span> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="."/> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <xsl:template match="status"> + <xsl:value-of select="."/> + <br/> + </xsl:template> + + <xsl:template match="label"> + <xsl:value-of select="."/> + <br/> + </xsl:template> + + <xsl:template match="referrers"> + <xsl:for-each select="url"> + <xsl:apply-templates select="."/> + </xsl:for-each> + </xsl:template> + + + <xsl:template match="/klinkstatus/link_list/link/referrers/url"> + <xsl:value-of select="."/> + <br/> + </xsl:template> + +</xsl:stylesheet> |