]> git.openstreetmap.org Git - rails.git/blob - app/views/site/index.rhtml
more way bits
[rails.git] / app / views / site / index.rhtml
1 <div id="geocoder">
2   <form action="/search.html">
3     <input type="text" name="query" value="" size="60">
4     <input type="submit" value="Search">
5   </form>
6 </div>
7
8 <div id="drag" style="WIDTH: 700px; HEIGHT: 500px;">
9   <div id='controls'>
10     <a id="zoomout" class="mapcontrol"><img src="/images/map_zoomout.png" alt="zoom out"></a>
11     <a id="zoomin" class="mapcontrol"> <img src="/images/map_zoomin.png" alt="zoom in">  </a>
12   </div>
13 </div>
14
15 <div id="debuginfo"></div>
16
17 <% unless @user %>
18 <div id="gads">
19   <script type="text/javascript"><!--
20     google_ad_client = "pub-7727744269903103";
21     google_ad_width = 728;
22     google_ad_height = 90;
23     google_ad_format = "728x90_as";
24     google_ad_type = "text";
25     google_ad_channel ="";
26     google_color_border = "CCCCCC";
27     google_color_bg = "FFFFFF";
28     google_color_link = "000000";
29     google_color_url = "000080";
30     google_color_text = "000000";
31     //--></script><script type="text/javascript"
32     src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
33   </script>We're trialing adverts to support the project. Login and they go away.
34 </div>
35 <% end %>
36
37
38 <script type="text/javascript">
39   lat = 0;
40   lon = 0;
41   zoom = 0;
42
43   init();
44 </script>