kopia lustrzana https://gitlab.com/tomaszg/geostat
Add extra class specifier also to details/summary box for histogram
rodzic
1ad7ab0399
commit
f4e6a3575a
|
@ -74,7 +74,7 @@ void show_histogram(const Caches& cc, std::string Cache::*ptr, const std::string
|
|||
std::cout << "<div class=\"bar\" style=\"--percent: " << 100 * own.second / max << "%;\"><span class=\"text\">" << own.first << ": " << own.second << "</span></div>\n";
|
||||
else if (i == HIST_MAX) {
|
||||
std::cout << "</div>\n";
|
||||
std::cout << "<details class=\"histogram_others\">\n<summary>See more</summary>\n<p>\n";
|
||||
std::cout << "<details class=\"histogram_others " << id << "\">\n<summary>See more</summary>\n<p>\n";
|
||||
std::cout << own.first << " (" << own.second << ")";
|
||||
}
|
||||
if (i > HIST_MAX)
|
||||
|
|
Ładowanie…
Reference in New Issue