Better table titles

This commit is contained in:
Philip Sargent 2022-03-13 23:48:22 +00:00
parent ad1283662d
commit fac748d2e2
2 changed files with 3 additions and 3 deletions
core/TESTS
templates

@ -407,7 +407,7 @@ class PageTests(TestCase):
self.assertEqual(response.status_code, 200) self.assertEqual(response.status_code, 200)
content = response.content.decode() content = response.content.decode()
for ph in [ r'All Tunnel and Therion files', for ph in [ r'All Tunnel and Therion files',
r'<th>Scans folder</th><th>Scan files</th><th>Frames</th></tr>']: r'<th>Wallets</th><th>Scan files in the wallets</th><th>Frames</th></tr>']:
phmatch = re.search(ph, content) phmatch = re.search(ph, content)
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'") self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")
@ -417,7 +417,7 @@ class PageTests(TestCase):
self.assertEqual(response.status_code, 200) self.assertEqual(response.status_code, 200)
content = response.content.decode() content = response.content.decode()
for ph in [ r'All Tunnel and Therion files', for ph in [ r'All Tunnel and Therion files',
r'<th>Scans folder</th><th>Scan files</th><th>Frames</th></tr>']: r'<th>Wallets</th><th>Scan files in the wallets</th><th>Frames</th></tr>']:
phmatch = re.search(ph, content) phmatch = re.search(ph, content)
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'") self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")

@ -4,7 +4,7 @@
<h3>All Tunnel and Therion files - linked to wallets, survey scans, frames and scraps</h3> <h3>All Tunnel and Therion files - linked to wallets, survey scans, frames and scraps</h3>
<table style="font-size: 85%" width=95%> <table style="font-size: 85%" width=95%>
<tr><th>File</th><th>Size</th><th>Paths</th><th>Scans folder</th><th>Scan files</th><th>Frames</th></tr> <tr><th>File</th><th>Size</th><th>Paths</th><th>Wallets</th><th>Scan files in the wallets</th><th>Frames</th></tr>
{% for dwgfile in dwgfiles %} {% for dwgfile in dwgfiles %}
<tr> <tr>