OSDN Git Service

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