summaryrefslogtreecommitdiff
path: root/web/views
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-09-14 16:32:42 +0200
committerJochen Topf <jochen@topf.org>2014-09-14 16:41:57 +0200
commit0bce8570acd121ffb6b65ec58d7e678cbd89798f (patch)
treee38ae0d288bdf4542ee2d5ae708eada7392be602 /web/views
parent8685384c806e75457c44ea542d39f961e9658dfc (diff)
downloadtaginfo-0bce8570acd121ffb6b65ec58d7e678cbd89798f.tar
taginfo-0bce8570acd121ffb6b65ec58d7e678cbd89798f.tar.gz
Removed unused Potlatch-related code.
Diffstat (limited to 'web/views')
-rw-r--r--web/views/test/index.erb1
-rw-r--r--web/views/test/potlatch/categories.erb36
-rw-r--r--web/views/test/potlatch/category.erb17
-rw-r--r--web/views/test/potlatch/feature.erb24
-rw-r--r--web/views/test/potlatch/index.erb6
5 files changed, 0 insertions, 84 deletions
diff --git a/web/views/test/index.erb b/web/views/test/index.erb
index 00da1c9..b7de9c5 100644
--- a/web/views/test/index.erb
+++ b/web/views/test/index.erb
@@ -6,6 +6,5 @@
<h2>Test pages</h2>
<ul>
<li><a href="/test/wiki_import">Wiki import</a></li>
- <li><a href="/test/potlatch">Potlatch</a></li>
</ul>
</div>
diff --git a/web/views/test/potlatch/categories.erb b/web/views/test/potlatch/categories.erb
deleted file mode 100644
index 97725a3..0000000
--- a/web/views/test/potlatch/categories.erb
+++ /dev/null
@@ -1,36 +0,0 @@
-<h1><img src="/img/sources/potlatch.32.png" alt="" title="Potlatch"/> Potlatch</h1>
-
-<table class="drilldown"><tr>
- <th><h2>&#x278a; Categories</h2></th>
- <th></th>
- <th><h2>&#x278b; Features</h2></th>
- <th></th>
- <th><h2>&#x278c; Feature</h2></th>
-</tr><tr>
- <td class="content" id="categories">
- <% @categories.each do |row| %>
- <div>&nbsp;&nbsp;<a href="/test/potlatch/categories#<%= escape row['id'] %>"><%= row['name'] %></a></div>
- <% end %>
- </div>
- <td class="arrow">&#x2771;</td>
- <td class="content" id="features"></td>
- <td class="arrow">&#x2771;</td>
- <td class="content" id="feature"></td>
-</tr></table>
-
-<script type="text/javascript">
-
-jQuery('#categories a').bind('click', function() {
- jQuery('#categories div').removeClass('current');
- jQuery(this).parent().addClass('current');
- jQuery('#feature').html('');
- jQuery.ajax({
- url: this.href.replace(/#/, '/'),
- success: function(html) {
- jQuery('#features').html(html);
- }
- });
- return false;
-});
-
-</script>
diff --git a/web/views/test/potlatch/category.erb b/web/views/test/potlatch/category.erb
deleted file mode 100644
index 396e426..0000000
--- a/web/views/test/potlatch/category.erb
+++ /dev/null
@@ -1,17 +0,0 @@
-<% @features.each do |row| %>
- <div>&nbsp;&nbsp;<a href="/test/potlatch/features/<%= escape row['name'] %>"><%= row['name'] %></a></div>
-<% end %>
-<script type="text/javascript">
-jQuery('#features a').bind('click', function() {
- jQuery('#features div').removeClass('current');
- jQuery(this).parent().addClass('current');
- jQuery.ajax({
- url: this.href,
- success: function(html) {
- jQuery('#feature').html(html);
- }
- });
- return false;
-});
-
-</script>
diff --git a/web/views/test/potlatch/feature.erb b/web/views/test/potlatch/feature.erb
deleted file mode 100644
index fd864c9..0000000
--- a/web/views/test/potlatch/feature.erb
+++ /dev/null
@@ -1,24 +0,0 @@
-<p style="text-align: center;"><b><%= @feature_name %></b></p>
-
-<p style="background: #ffffff; padding: 4px; -moz-border-radius: 3px; text-align: center; min-height: 36px; vertical-align: middle;">
-<% if @feature['icon_image'] %>
- <img src="/test/potlatch/icon/<%= @feature['icon_image'] %>" alt="Icon" title="Icon"/>
-<% end %>
-</p>
-
-<p style="text-align: center;">
-<% [:point, :line, :area, :relation].each do |otype| %>
- <% imgmatch = { :point => 'node', :line => 'way', :area => 'area', :relation => 'relation' };
- image = @feature['on_' + otype.to_s] == '1' ? imgmatch[otype] : 'none' %>
- <img src="/img/types/<%= image %>.16.png" alt="" title="<%= otype.to_s.capitalize %>"/>
-<% end %>
-</p>
-
-<p style="text-align: center;"><%= external_link('Help text', @feature['help']) %></p>
-
-<p style="text-align: center;">Tags:<br/>
- <% @tags.each do |tag| %>
- <%= link_to_tag(tag['key'], tag['value']) %><br/>
- <% end %>
-</p>
-
diff --git a/web/views/test/potlatch/index.erb b/web/views/test/potlatch/index.erb
deleted file mode 100644
index 3fb0428..0000000
--- a/web/views/test/potlatch/index.erb
+++ /dev/null
@@ -1,6 +0,0 @@
-<h1>Potlatch</h1>
-
-<ul>
- <li><a href="/test/potlatch/categories">Categories</a></li>
-</ul>
-