tms.html 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <title>Our TMs</title>
  5. <style>
  6. table, th, td {
  7. border: 1px solid black;
  8. border-collapse: collapse;
  9. }
  10. </style>
  11. </head>
  12. <body>
  13. <a href="/">Go back to start</a>
  14. <h1>We have {{len .}} TMs</h1>
  15. <table>
  16. <tr style='text-align: left'>
  17. <th>Name</th>
  18. <th>Source language</th>
  19. <th>Target language</th>
  20. <th>No. of segments</th>
  21. </tr>
  22. {{range .}}
  23. <tr style='text-align: left'>
  24. <td><b>{{.FriendlyName}}</b></td>
  25. <td>{{.SourceLangCode}}</td>
  26. <td>{{.TargetLangCode}}</td>
  27. <td>{{.NumEntries}}</td>
  28. </tr>
  29. {{end}}
  30. </table>
  31. <br/>
  32. <a href="/">Go back to start</a>
  33. </body>
  34. </html>