Commit Graph

9 Commits

Author SHA1 Message Date
TechnoPorg c9714e938f
Make the class reference table sortable (#28)
The main table's headers are now clickable to sort columns in ascending or descending order.
String columns are sorted alphabetically, description columns are sorted by MISSING vs. OK, and numeric columns are sorted by relative percentages.
A custom JS sorting implementation is used, both to avoid a large dependency and to handle the unique format of these table entries.
The cursor when hovering over table headers indicates that they can be interacted with.
2023-10-11 23:06:11 +02:00
Hugo Locurcio 516670446a
Style the table at build time to speed up page loading (#4)
This makes the page load in ~500 ms instead of 3 seconds on
Chromium 81 on Linux.
2020-06-27 00:42:30 +02:00
Hugo Locurcio 9e2263164f
Add a null check when modifying the documentation link
This prevents a runtime error from appearing in the console.
2020-03-23 22:43:03 +01:00
Hugo Locurcio e45c2efc85
Make documentation links shorter to make the table less wide 2020-03-23 22:31:29 +01:00
Hugo Locurcio ccbbb75ce2
Tweak the overall percentage color algorithm for better usability
Only fully completed documentations will now have a green background.
The old algorithm is used again for incomplete documentations.
2020-02-27 18:56:32 +01:00
Hugo Locurcio f1715ca8dc
Make overall percentages tint towards green as they get closer to 100% 2020-02-27 18:53:19 +01:00
Hugo Locurcio 44b4cf8751
Add a `lang` attribute to the HTML page 2020-02-26 22:07:34 +01:00
Hugo Locurcio ba82f1edb5
Color completion percentages' backgrounds dynamically
This makes for easier visual grepping.
2020-02-26 22:04:10 +01:00
Hugo Locurcio f69e63d931
Initial commit 2020-02-26 20:01:37 +01:00