Remove unused templates
authorMagnus Hagander <magnus@hagander.net>
Thu, 20 Dec 2018 15:23:30 +0000 (16:23 +0100)
committerMagnus Hagander <magnus@hagander.net>
Thu, 20 Dec 2018 16:18:11 +0000 (17:18 +0100)
templates/downloads/inc_mirror.html [deleted file]
templates/downloads/mirrorselect.html [deleted file]

diff --git a/templates/downloads/inc_mirror.html b/templates/downloads/inc_mirror.html
deleted file mode 100644 (file)
index 8afb9e9..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<div class="mirrorselect">
- <span>{{mirror.country_name}}</span><br/>
- <img src="/media/img/flags/{{mirror.country_name|cut:" "}}.gif" alt="{{mirror.country_name}}" title="{{mirror.country_name}}" width="32" height="21" style="border: 1px" />
- <br/>
- {%if mirror.alternate_protocol %}
- <a href="{{masterserver}}/redir/{{mirror.id}}/h/{{path}}">http</a> |
- {%endif%}
- <a href="{{masterserver}}/redir/{{mirror.id}}/f/{{path}}">ftp</a>
-</div>
diff --git a/templates/downloads/mirrorselect.html b/templates/downloads/mirrorselect.html
deleted file mode 100644 (file)
index ad9366f..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-{%extends "base/page.html"%}
-{%block title%}Choose a download mirror{%endblock%}
-{%block extrahead%}
-<style>
-div.mirrorselect {
-//   border: 1px solid black;
-   display: inline-block;
-   width: 110px;
-   text-align: center;
-   height: 70px;
-}
-</style>
-{%endblock%}
-{%block contents%}
-<h1>Choose a download mirror</h1>
-<p><strong>Downloading:</strong> {{path}}</p>
-
-
-{%if near_mirrors%}
-<p><strong>We think these mirrors are near you:</strong></p>
-<div id="nearmirrorwrap">
- {%for mirror in near_mirrors%}
-  {%include "downloads/inc_mirror.html"%}
- {%endfor%}
-</div>
-{%endif%}
-
-<p><strong>Choose any other mirror in the world:</strong></p>
-<div id="mainmirrorwrap">
- {%for mirror in all_mirrors%}
-  {%include "downloads/inc_mirror.html"%}
- {%endfor%}
-</div>
-
-{%endblock%}