Last change
on this file since 573:3b53975be0c8 was
543:6cdc31e9ed8e,
checked in by casties, 12 years ago
|
fixed problem with dict-mode in default view.
added configurable footer and logo in site_template.pt
|
File size:
1.7 KB
|
Line | |
---|
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
4 | <head> |
---|
5 | <!-- not used here |
---|
6 | <metal:block metal:define-macro="html_head"> |
---|
7 | </metal:block> |
---|
8 | --> |
---|
9 | </head> |
---|
10 | <body> |
---|
11 | <!-- right-side options --> |
---|
12 | <div class="col buttons"> |
---|
13 | <!-- LAYER DISPLAY OPTION --> |
---|
14 | <ul> |
---|
15 | <metal:block metal:define-macro="layer_select_li"> |
---|
16 | <li tal:condition="python:docinfo.get('numPlaces',0)"> |
---|
17 | <input type="checkbox" class="autosubmit" name="viewLayer" value="gis" |
---|
18 | tal:attributes="checked python:'gis' in viewLayers" /> Places<br /> |
---|
19 | </li> |
---|
20 | </metal:block> |
---|
21 | </ul> |
---|
22 | </div> |
---|
23 | |
---|
24 | <metal:block metal:define-macro="options_box" tal:condition="python:'gis' in viewLayers"> |
---|
25 | <!--"BEGIN PLACES"--> |
---|
26 | <div class="options"> |
---|
27 | <tal:block |
---|
28 | tal:define=" |
---|
29 | name docinfo/documentName; |
---|
30 | places python:here.getPlacesOnPage(docinfo=docinfo, pn=pn); |
---|
31 | pidlist python:','.join([p['id'] for p in places]);"> |
---|
32 | <h4>Places</h4> |
---|
33 | Show all places |
---|
34 | <ul class="list"> |
---|
35 | <li> |
---|
36 | <a |
---|
37 | tal:attributes="href python:'http://mappit.mpiwg-berlin.mpg.de/db/RESTdb/db/mpdl/%s?id=%s&format=gis'%(name,pidlist)" |
---|
38 | target="_blank">on this page</a> |
---|
39 | </li> |
---|
40 | <li> |
---|
41 | <a |
---|
42 | tal:attributes="href python:'http://mappit.mpiwg-berlin.mpg.de/db/RESTdb/db/mpdl/%s?format=gis'%(name)" |
---|
43 | target="_blank">in whole document</a> |
---|
44 | </li> |
---|
45 | </ul> |
---|
46 | </tal:block> |
---|
47 | </div> |
---|
48 | <!--"END PLACES"--> |
---|
49 | </metal:block> |
---|
50 | |
---|
51 | </body> |
---|
52 | |
---|
53 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.