Add a missing bit to the previous commit (show caches by rating)

sql-rework
Tomasz Golinski 2020-08-28 18:58:52 +02:00
rodzic 0a86f18d7e
commit ef334790f4
1 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -902,6 +902,15 @@ int main(int argc, char** argv) {
n = 1;
std::cout << "<h2>Caches with highest rating</h2>\n";
std::cout << "<table class=\"list\">\n";
std::cout << "<tr><th></th>";
std::cout << "<th>Cache</th>";
std::cout << "<th>Type</th>";
std::cout << "<th>Rating</th>";
std::cout << "<th>Finds</th>";
std::cout << "</tr>\n";
for (auto i : caches_by_rating) {
std::cout << "<tr><th>" << n << "</th> ";
std::cout << "<td>" << i->link_name() << "</td>";