aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2024-01-01 20:22:57 -0800
committerDan Fandrich <dan@coneharvesters.com>2024-01-01 20:22:57 -0800
commit09eb282b123abcd3937235700571b9a761407c75 (patch)
tree51afa7b6034306d1f3ecc6d2f051ad3710f94f71
parent15a7704062a6869fbc00c20168c00b3cf0dcbba2 (diff)
downloadmgamirrors-09eb282b123abcd3937235700571b9a761407c75.tar
mgamirrors-09eb282b123abcd3937235700571b9a761407c75.tar.gz
mgamirrors-09eb282b123abcd3937235700571b9a761407c75.tar.bz2
mgamirrors-09eb282b123abcd3937235700571b9a761407c75.tar.xz
mgamirrors-09eb282b123abcd3937235700571b9a761407c75.zip
Fix a couple of HTML validation errors
-rw-r--r--root/html/includes/host_information.tt2
-rw-r--r--root/html/includes/mirrorslist.tt3
2 files changed, 2 insertions, 3 deletions
diff --git a/root/html/includes/host_information.tt b/root/html/includes/host_information.tt
index 94fa7e3..7ddef5b 100644
--- a/root/html/includes/host_information.tt
+++ b/root/html/includes/host_information.tt
@@ -8,7 +8,7 @@
<form action="[% action || c.uri_for() %]" method="POST">
<input type="hidden" name="hostinfo" value="1">
[% END %]
-<table border=0>
+<table border="0">
<tr><th>Country</th>
<td>
[% IF NOT edit %]
diff --git a/root/html/includes/mirrorslist.tt b/root/html/includes/mirrorslist.tt
index 3332a54..0a8dead 100644
--- a/root/html/includes/mirrorslist.tt
+++ b/root/html/includes/mirrorslist.tt
@@ -22,14 +22,13 @@
}) %]
[% FOREACH item = mirrorslist %]
[% IF loop.first %]
-<table border=1>
+<table border="1">
<tr>
<th>Server name</th>
<th>Location</th>
<th>Bandwidth</th>
<th>Source</th>
<th>Urls</th>
-<tr>
[% END %]
<tr>
[% urls = db.find_urls({ "hostname" => item.hostname }) %]