summaryrefslogtreecommitdiff
path: root/web/views/index.erb
blob: e27ce361758432b6a4a15005321ead52f580941f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<table id="index">
    <tr>
        <td>
            <h2><a href="/keys">KEYS</a></h2>
        </td>
        <td rowspan="4" width="20"></td>
        <td width="338">
            <h2><a href="/reports">REPORTS</a></h2>
        </td>
        <td rowspan="4" width="20"></td>
        <td width="338">
            <h2><a href="/about">ABOUT TAGINFO</a></h2>
        </td>
    </tr>
    <tr>
        <td rowspan="3" class="box">
            <p>Here are some common tag keys. There is also a <a href="/keys">list of all keys</a>
            or a <a href="/tags">list of the most common tags</a>.</p>
            <p style="margin-top: 15px; line-height: 200%; text-align: justify;">
<% @tags.each do |tag| %>
            <a href="/keys/<%= tag['key'] %>" class="taglink" style="font-size: <%= tagcloud_size(tag) %>px;"><%= tag['key'] %></a>
<% end %>
            </p>
        </td>
        <td rowspan="3" class="box">
            <%= t.pages.reports.index.intro %>
            <p style="margin-top: 15px">
<% Report.each do |report| %>
                <a href="<%= report.url %>"><%= t.reports[report.name].name %></a><br/>
<% end %>
            </p>
            <p style="padding-top: 20px;"><a href="/reports">See all reports...</a></p>
        </td>
        <td class="box">
            <p>OpenStreetMap uses <b>tags</b> of the form <b>key=value</b>
            to add meaning to geographic objects.
            Taginfo collects information about these tags from several
            sources and helps you find tags and explore their uses.</p>
            <p><a href="/about">More about taginfo...</a></p>
        </td>
    </tr>
    <tr>
        <td>
            <h2><a href="/international">INTERNATIONAL</a></h2>
        </td>
    </tr>
    <tr>
        <td class="box">
            <p>This is the main taginfo site. It contains OSM data for
            the whole planet and is updated daily.</p>
            <p><a href="/sites">See other taginfo sites showing data for a
            specific area...</a></p>
        </td>
    </tr>
</table>