source: cows/trunk/cows/service/imps/pywms/templates/GetLegend.kid @ 4808

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cows/trunk/cows/service/imps/pywms/templates/GetLegend.kid@4808
Revision 4808, 667 bytes checked in by domlowe, 11 years ago (diff)

adding contents of pywms

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<html xmlns="http://www.w3.org/1999/xhtml"
3      xmlns:py="http://purl.org/kid/ns#"
4>
5<head>
6</head>
7
8<body>
9<div class="WMSC_colourbar">
10  <img src="${url}?REQUEST=GetColourbar&amp;LAYERS=${name}&amp;CMAP=${cmap}"/>
11  <table class="WMSC_colourbarAnnotations">
12    <tr>
13      <td class="WMSC_colourbarMin">${'%.2g' % layer.minValue}</td>
14      <td class="WMSC_colourbarMid">${'%.2g' % (layer.minValue + (layer.maxValue - layer.minValue) / 2)}</td>
15      <td class="WMSC_colourbarMax">${'%.2g' % layer.maxValue}</td>
16    </tr>
17  </table>
18</div>
19
20<div class="WMSC_legendTitle">${layer.title} (${layer.units})</div>
21</body>
22</html>
Note: See TracBrowser for help on using the repository browser.