source: main/trunk/model-interfaces-dev/alt-atea/transform/layouts/main.xsl@ 34028

Last change on this file since 34028 was 34028, checked in by davidb, 4 years ago

Tweaks to overall interface look-and-feel

File size: 3.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
5 xmlns:java="http://xml.apache.org/xslt/java"
6 xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
7 xmlns:gslib="http://www.greenstone.org/skinning"
8 xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
9
10 xmlns:lxslt="http://xml.apache.org/xslt"
11 xmlns:result="http://www.example.com/results"
12 xmlns:exsl="http://exslt.org/common"
13
14 extension-element-prefixes="java util result exsl"
15 exclude-result-prefixes="util java util">
16
17
18 <!-- the main layout is defined here -->
19 <xsl:template name="mainTemplate">
20<!--
21 <xsl:variable name="pjbaseurl">
22 <xsl:text>interfaces/</xsl:text>
23 <xsl:value-of select="$interface_name"/>
24 <xsl:text>/wrapper-style</xsl:text>
25 </xsl:variable>
26 <xsl:variable name="pjextbaseurl">
27 <xsl:text>http://peitehurinuijones.co.nz</xsl:text>
28 </xsl:variable>
29-->
30
31 <html>
32
33 <head>
34 <!-- ***** in header.xsl ***** -->
35 <xsl:call-template name="create-html-header"/>
36 </head>
37
38 <body><xsl:call-template name="textDirectionAttribute"/><xsl:call-template name="actionClass"/>
39
40 <!--<xsl:call-template name="displayErrorsIfAny"/>-->
41 <a name="top"><xsl:text> </xsl:text></a>
42
43<!-- Wrapper header start -->
44<div id="wrapper-container">
45
46<div id="header">
47
48 <style>
49 img.hover-highlight:hover {
50 opacity: .8;
51 /* filter: brightness(120%); */
52 }
53 </style>
54 <div class="headLeft"><a href="{$library_name}" title="Ātea - Home"><img class="hover-highlight" src="interfaces/{$interface_name}/images/Atea-logo.png" width="270" height="104" alt="Ātea - Home" /></a></div>
55 <div class="headRight">
56
57 <!--
58 <a href="{$library_name}" title="Ātea - Home">Home</a>
59 -->
60 <!--
61 <a href="{$pjextbaseurl}/about.html" title="About">About</a>
62 <a href="{$pjextbaseurl}/contact.html" title="Contact">Contact</a>
63 -->
64 <xsl:call-template name="home-help-preferences"/>
65
66 </div>
67</div>
68<!-- Wrapper header end -->
69
70 <div id="topArea" class="ui-state-default ui-corner-top">
71 <xsl:comment>Place-holder to stop div collapsing</xsl:comment>
72 </div>
73
74
75
76<!-- nav start -->
77<div id="nav">
78 <!-- previously, e.g.: href="{$url}/wrapper-style/research.html" title="Research" -->
79 <!-- then : href="{$pjbaseurl}/research.html" title="Research" -->
80 <!--
81 <ul>
82 <li><a href="http://{$pjbaseurl}/bio.html" title="Bio">Bio</a></li>
83< ! - - <li><a href="{$library_name}/collection/digital-library/page/about/" title="Digital library">Digital library</a></li> - - >
84 <li><a href="{$library_name}/collection/written-works/page/about/" title="Written works">Written works</a></li>
85 <li><a href="{$library_name}/collection/gallery/page/about/" title="Gallery">Gallery</a></li>
86 <li><a href="{$library_name}/collection/taonga/page/about/" title="Taonga">Taonga</a></li>
87 <li><a href="{$pjextbaseurl}/research.html" title="Research">Research</a></li>
88 </ul>
89 -->
90
91 <ul>
92 <li> </li>
93 </ul>
94</div>
95<!-- nav end -->
96
97
98 <div id="container" class="ui-corner-all">
99
100 <!-- ***** in header.xsl ***** -->
101 <xsl:call-template name="create-banner"/>
102
103 <xsl:if test="/page/pageRequest/paramList/param[(@name='formatedit') and (@value='on')]">
104 <xsl:call-template name="formatmanagerpre"/>
105 </xsl:if>
106
107 <div id="gs_content" class="ui-widget-content">
108 <!--
109 show the content of the page.
110 to customise this part, edit the xsl file for the page you want to edit
111 -->
112 <xsl:apply-templates select="/page"/>
113
114 </div>
115
116 <xsl:call-template name="gs_footer"/>
117 </div>
118</div>
119<!-- Wrapper container end -->
120
121 </body>
122 </html>
123 </xsl:template>
124
125</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.