[se4_repository] / trunk / source / layout / page.xsl Repository:
ViewVC logotype

Annotation of /trunk/source/layout/page.xsl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 798 - (view) (download) (as text)

1 : kpinte 795 <?xml version="1.0"?>
2 :    
3 :     <!-- stylesheet specifications page.xsl begin -->
4 :     <!-- author: Kevin Pinte (kpinte@vub.ac.be) -->
5 :    
6 :     <xsl:stylesheet version="1.0"
7 :     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8 :     xmlns:xhtml="http://www.w3.org/1999/xhtml">
9 :    
10 :     <!-- Import the global templates -->
11 :     <xsl:include href="templates.xsl"/>
12 :     <xsl:include href="user.xsl" />
13 :    
14 :     <xsl:template match="PAGE">
15 :    
16 :    
17 :     <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-AU">
18 :     <head>
19 :     <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
20 :     <meta name="author" content="SE4 2006" />
21 :     <meta name="keywords" content="eventure, software engineering, vub, se4, se4_2006, " />
22 :     <meta name="description" content="eVenture provides you with a personalised list of hot events!" />
23 :     <title>eVenture v1.0</title>
24 :    
25 :     <link rel="stylesheet" type="text/css" href="eventure_grey.css" media="screen, tv, projection" />
26 :     <link rel="stylesheet" type="text/css" href="eventure_grey_print.css" media="print" />
27 :     </head>
28 :    
29 :     <body>
30 :    
31 :     <div id="layoutBox">
32 :    
33 :     <div id="headerBox">
34 :     <div id="headerLeftBox">
35 :     <span class="title">
36 :     eVenture v1.0
37 :     </span>
38 :     <br />
39 :     <span class="subTitle">
40 :     what's up tonight?
41 :     </span>
42 :     </div>
43 :     <div id="headerRightBox">
44 : kpinte 798 bla<!-- &nbsp; -->
45 : kpinte 795 </div>
46 :     </div>
47 :    
48 :     <div id="menuBox">
49 :     <h1>
50 :     Main menu
51 :     </h1>
52 :     <div class="menuGroup">
53 :     <a href="index.html" title="What's up today?"><img src="images/menu_icon.gif" alt="1" /> Today</a><span class="noDisplay"> | </span>
54 :     <a href="index.html" title="Show me the calendar!"><img src="images/menu_icon.gif" alt="2" /> Calendar</a><span class="noDisplay"> | </span>
55 :     <a href="index.html" title="Show me the events!"><img src="images/menu_icon.gif" alt="3" /> Events</a><span class="noDisplay"> | </span>
56 :     <a href="index.html" title="I want users!"><img src="images/menu_icon.gif" alt="4" /> Users</a><span class="noDisplay"> | </span>
57 :     </div>
58 :    
59 :     <h1>
60 :     User menu
61 :     </h1>
62 :     <div class="menuGroup">
63 :     <a href="index.html" title="eVenturize..."><img src="images/menu_icon.gif" alt="1" /> Login</a><span class="noDisplay"> | </span>
64 :     <a href="index.html" title="Cuztomize!"><img src="images/menu_icon.gif" alt="2" /> Preferences</a><span class="noDisplay"> | </span>
65 :     </div>
66 :    
67 :     <h1>
68 :     Rss
69 :     </h1>
70 :     <div class="newsGroup">
71 :     <h2>rss feed</h2>
72 :     <p>
73 :     a feed here?
74 :     </p>
75 :     </div>
76 :    
77 :     <div class="menuFooter">
78 : kpinte 798 bla<!-- &nbsp; -->
79 : kpinte 795 </div>
80 :    
81 :     </div>
82 :    
83 :     <div id="mainContent">
84 :    
85 : kpinte 798 <xsl:for-each select="CONTENT/MODEL">
86 : kpinte 795 <xsl:variable name="model">
87 :     <xsl:value-of select="./TYPE" />
88 :     </xsl:variable>
89 :     <xsl:if test="$model='user'">
90 :     <xsl:call-template name="user" />
91 : kpinte 798 </xsl:if>
92 :     <xsl:value-of select="CONTENT/MODEL/TYPE" />
93 :     </xsl:for-each>
94 : kpinte 795
95 :     <br />
96 :    
97 :     <div class="footer">
98 :     valid <a href="http://validator.w3.org/check/referer" title="validate markup">XHTML</a> / <a href="http://jigsaw.w3.org/css-validator/check/referer" title="validate CSS">CSS</a> <br />
99 :     2006-04-06 / copyleft <a href="http://wilma.vub.ac.be/~se4_2006/" title="Software Engineering GROUP 4 - 2006">SE4</a> | design: <a href="http://www.oswd.org/userinfo.phtml?user=snop" title="OSWD profile / contact">snop</a>
100 :     </div>
101 :     </div>
102 :    
103 :     <div class="spacer">
104 :     </div>
105 :    
106 :     </div>
107 :    
108 :     </body>
109 :     </html>
110 :     </xsl:template>
111 :     </xsl:stylesheet>

Kevin Pinte

Powered by ViewVC 1.0-dev

ViewVC Help