OSDN Git Service

version 0.5.16, start working system.DHTML.anime()
[pettanr/clientJs.git] / 0.5.x / wiki / wiki.xsl
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <xsl:stylesheet version="1.0"\r
3   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
4   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"\r
5   xmlns="http://www.w3.org/1999/xhtml"\r
6   xmlns:rss="http://purl.org/rss/1.0/"\r
7   xmlns:dc="http://purl.org/dc/elements/1.1/"\r
8   xmlns:content="http://purl.org/rss/1.0/modules/content/"\r
9   exclude-result-prefixes="rdf rss dc content"\r
10 >\r
11     <xsl:output \r
12         omit-xml-declaration="no" \r
13         encoding="utf-8" \r
14         method="html" \r
15         version="1.0" \r
16         doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" \r
17         doctype-system="http://www.w3.org/TR/html4/loose.dtd" \r
18         indent="yes" />\r
19         \r
20 <xsl:template match="rdf:RDF">\r
21   <html xmlns:v="urn:schemas-microsoft-com:vml">\r
22   <head>\r
23                         <meta http-equiv="content-type" content="text/html; charset=UTF-8" />\r
24                         <meta http-equiv="Content-Style-Type" content="text/css" />\r
25                         <meta http-equiv="imagetoolbar" content="no" />\r
26                         <meta name="description">\r
27                                 <xsl:attribute name="content">\r
28                                         <xsl:value-of select="rss:channel/rss:description" />\r
29                                 </xsl:attribute>\r
30                         </meta>\r
31                         <title><xsl:value-of select="rss:channel/rss:title"/></title>\r
32                         <link rel="stylesheet" type="text/css" href="../stylesheets/site.css" />\r
33                         <link rel="stylesheet" type="text/css" href="../stylesheets/peta.common.css" />\r
34                         <link rel="stylesheet" type="text/css" href="../stylesheets/system.css" />\r
35                         <link rel="stylesheet" href="wiki.css" type="text/css" />\r
36   </head>\r
37   <body>\r
38                         <div id="general-content">\r
39                                 <div id="outer-wrapper">\r
40                                         \r
41                                         <div id="header">\r
42                                                 <div class="base-content-width" style="position:relative;">\r
43                                                         <h1><a href="../index.html"><xsl:value-of select="rss:channel/rss:title"/></a></h1>\r
44                                                         <div id="global-navi">\r
45                                                                 <noscript id="noscript-alert">You need to have JavaScript enabled.</noscript>\r
46                                                         </div>\r
47                                                 </div>\r
48                                         </div>\r
49                                         \r
50                                         <div id="inner-wrapper" class="base-content-width">                                             \r
51                                                 <div id="wiki-container" class="clearfix">\r
52                                                         <ul id="page-navi-container">\r
53                                                                 <li id="page-total">\r
54                                                                         <xsl:value-of select="count(rss:item)"/> pages\r
55                                                                         <span id="boot-time"></span>\r
56                                                                 </li>\r
57                                                                 <xsl:for-each select="./rss:item">\r
58                                                                         <xsl:variable name="index" select="position()"/>\r
59                                                                         <xsl:variable name="top" select="25*$index"/>\r
60                                                                         <li class="page-navi">\r
61                                                                                 <a>\r
62                                                                                         <xsl:attribute name="href">\r
63                                                                                                 <xsl:value-of select="concat('#page',$index)"/>\r
64                                                                                         </xsl:attribute>        \r
65                                                                                         <xsl:value-of select="rss:title"/>\r
66                                                                                 </a>\r
67                                                                         </li>                                                                           \r
68                                                                 </xsl:for-each>\r
69                                                         </ul>\r
70                                                         <div id="page-body-container">\r
71                                                                 <xsl:for-each select="./rss:item">\r
72                                                                         <div class="page-wrapper">\r
73                                                                                 <xsl:variable name="index" select="position()"/>\r
74                                                                                 <xsl:variable name="top" select="25*$index"/>\r
75                                                                                 <xsl:attribute name="id">\r
76                                                                                         <xsl:value-of select="concat('page',$index)"/>\r
77                                                                                 </xsl:attribute>\r
78 \r
79                                                                                 <div class="page-header clearfix">\r
80                                                                                         <span class="page-title"><xsl:value-of select="rss:title"/></span>\r
81                                                                                         <span class="page-date"><xsl:value-of select="substring(dc:date, 1, 10)" /></span>\r
82                                                                                 </div>\r
83                                                                                 \r
84                                                                                 <div class="page-body main clearfix">\r
85                                                                                         <xsl:value-of select="content:encoded" disable-output-escaping="yes"/>\r
86                                                                                 </div>\r
87                                                                                 <a class="jump-to-top">\r
88                                             <xsl:attribute name="href">\r
89                                                 <xsl:value-of select="concat('#page',$index)"/>\r
90                                             </xsl:attribute>\r
91                                             top\r
92                                                                                 </a>\r
93                                                                         </div>\r
94                                                                 </xsl:for-each>\r
95                                                         </div>\r
96                                                 </div>\r
97                                         </div>\r
98                                         \r
99                                 </div>\r
100                         </div>\r
101 \r
102         \r
103                         <div id="footer-content">\r
104                                 <!-- #BeginLibraryItem "/Library/footer.lbi" -->\r
105                                 <div id="footer">\r
106                                                 <div id="footer-item-container" class="base-content-width clearfix">\r
107                                                                 <div class="footer-item-wrapper">\r
108                                                                                 <div class="footer-item">\r
109                                                                                                 <h2>ぺったんR にようこそ</h2>\r
110                                                                                                 <ul>\r
111                                                                                                                 <li>サンプル</li>\r
112                                                                                                                 <li>ぺったんRの特徴</li>\r
113                                                                                                                 <li>沿革</li>\r
114                                                                                                 </ul>\r
115                                                                                                 <h2>Test</h2>\r
116                                                                                                 <ul>\r
117                                                                                                                 <li><a href="../test/index.html">Test Index</a></li>\r
118                                                                                                 </ul>\r
119                                                                                 </div>\r
120                                                                 </div>\r
121                                                                 <div class="footer-item-wrapper">\r
122                                                                                 <div class="footer-item">\r
123                                                                                                 <h2>ドキュメント</h2>\r
124                                                                                                 <ul>\r
125                                                                                                                 <li><a href="http://sourceforge.jp/projects/pettanr/wiki/ForAuthors" rel="me" target="_blank">作家向けドキュメント</a></li>\r
126                                                                                                                 <li>絵師向けドキュメント</li>\r
127                                                                                                                 <li><a href="http://sourceforge.jp/projects/pettanr/wiki/ForDevelopers" rel="me" target="_blank">開発者向けドキュメント</a></li>\r
128                                                                                                                 <li><a href="http://sourceforge.jp/projects/pettanr/wiki/ForWebmasters" rel="me" target="_blank">編集長向けドキュメント</a></li>\r
129                                                                                                 </ul>\r
130                                                                                 </div>\r
131                                                                 </div>\r
132                                                                 <div class="footer-item-wrapper">\r
133                                                                                 <div class="footer-item">\r
134                                                                                                 <h2>プロトタイプ</h2>\r
135                                                                                                 <ul>\r
136                                                                                                                 <li><a href="http://pettanr.heroku.com/" rel="me" target="_blank">pettanr.heroku.com</a></li>\r
137                                                                                                                 <li><a href="../work.html" rel="console">ユーザーコンソール</a></li>\r
138                                                                                                 </ul>\r
139                                                                                                 <h2>Ajax contents</h2>\r
140                                                                                                 <ul>\r
141                                                                                                                 <li><a href="../help/jp.xml">help | jp</a></li>\r
142                                                                                                 </ul>\r
143                                                                                 </div>\r
144                                                                 </div>\r
145                                                                 <div class="footer-item-wrapper" style="width:170px;">\r
146                                                                                 <div class="footer-item" style="padding-right:0;">\r
147                                                                                                 <h2>ぺったんRチーム</h2>\r
148                                                                                                 <ul>\r
149                                                                                                                 <li>わたしたちについて</li>\r
150                                                                                                                 <li>ミッション</li>\r
151                                                                                                                 <li><a href="../diary/itozyun.xml">itozyun's diary</a></li>\r
152                                                                                                                 <li>個人情報保護方針</li>\r
153                                                                                                                 <li>作品の取り扱い</li>\r
154                                                                                                                 <li>お問い合わせ</li>\r
155                                                                                                 </ul>\r
156                                                                                 </div>\r
157                                                                 </div>\r
158                                                 </div>\r
159                                                 <div id="copyright">Copyright (c) 2011-2012 pettanR team, some rights reserved.</div>\r
160                                 </div>\r
161                                 <!-- #EndLibraryItem -->\r
162                         </div>\r
163                         \r
164                         <script type="text/javascript" src="wiki.js"></script>\r
165                 </body>\r
166         </html>\r
167 </xsl:template>\r
168 \r
169 </xsl:stylesheet>