source: main/trunk/model-interfaces-dev/heritage-nz/transform/layouts/main.xsl@ 32796

Last change on this file since 32796 was 32796, checked in by davidb, 5 years ago

Initial set of files to provide look and feel of Heritage NZ site, plus SVN clickable map in an iframe

File size: 3.2 KB
RevLine 
[32796]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 <xsl:import href="header.xsl"/>
19 <xsl:include href="formatmanager.xsl"/>
20 -->
21
22
23 <!-- the main layout is defined here -->
24 <xsl:template name="mainTemplate">
25 <xsl:variable name="collName" select="/page/pageResponse/collection/@name"/>
26
27 <html>
28
29 <head>
30 <!-- ***** in header.xsl ***** -->
31 <xsl:call-template name="create-html-header"/>
32 <xsl:call-template name="berryBasketHeadTags"/>
33 </head>
34
35 <body><xsl:call-template name="textDirectionAttribute"/><xsl:call-template name="actionClass"/>
36
37 <!--<xsl:call-template name="displayErrorsIfAny"/>-->
38 <a name="top"><xsl:text> </xsl:text></a>
39
40 <iframe src="interfaces/{$interface_name}/iframe/heritage-nz-dl-header.html"
41 style="position: absolute; height: 100%; border: none; width: 100%">
42 <gsf:comment>filler</gsf:comment>
43 </iframe>
44
45 <style>
46 #container { top: 105px; }
47 #gs_banner { background-color: #820404; background-image: none; }
48
49 .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
50 border: 1px solid #400000;
51 background: #660000 url("images/ui-bg_highlight-hard_15_459e00_1x100.png") repeat-x scroll 50% 50%;
52 font-weight: bold;
53 color: #000;
54 }
55
56 .ui-widget-header {
57 border: 1px solid #400000;
58 background: #660000 url("images/ui-bg_gloss-wave_50_43a21a_500x100.png") repeat-x scroll 50% 50%;
59 color: #FFF;
60 font-weight: bold;
61 }
62
63 .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
64 color: #888888;
65 text-decoration: underline;
66 }
67 </style>
68<!--
69 <div id="topArea" class="ui-state-default ui-corner-top">
70 <table>
71 <tbody>
72 <tr>
73 <td><div id="breadcrumbs"><xsl:call-template name="breadcrumbs"/><xsl:text> </xsl:text></div></td>
74
75
76 <td><xsl:call-template name="home-help-preferences"/></td>
77 </tr>
78 </tbody>
79 </table>
80 </div>
81 -->
82
83 <div id="container" class="ui-corner-all">
84
85 <!-- ***** in header.xsl ***** -->
86 <xsl:call-template name="create-banner"/>
87
88 <xsl:if test="/page/pageRequest/paramList/param[(@name='formatedit') and (@value='on')]">
89 <xsl:call-template name="formatmanagerpre"/>
90 </xsl:if>
91
92 <div id="gs_content" class="ui-widget-content">
93 <!--
94 show the content of the page.
95 to customise this part, edit the xsl file for the page you want to edit
96 -->
97 <xsl:apply-templates select="/page"/>
98
99 </div>
100
101 <xsl:call-template name="gs_footer"/>
102 </div>
103 </body>
104 </html>
105 </xsl:template>
106
107
108</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.