From fa6fc6375feb60dddf3fbe5fcbd77898fc0a3e3c Mon Sep 17 00:00:00 2001 From: BynariStar Date: Sun, 9 Jul 2017 20:04:05 +0300 Subject: [PATCH] Search fixes and cleanup, sorting (#32) * Add classes and data * Change chart to only search compatibility column * Remove no longer necessary data attribute * Cleanup indentation * Remove no longer necessary metadata element * Revert "Remove no longer necessary metadata element" * Add manual search * Remove section headers * Implement dynamic headers --- .../citra-bs-theme/layouts/game/list.html | 66 +++++++++++-------- .../citra-bs-theme/static/css/style.css | 10 +++ 2 files changed, 50 insertions(+), 26 deletions(-) diff --git a/site/themes/citra-bs-theme/layouts/game/list.html b/site/themes/citra-bs-theme/layouts/game/list.html index 3c224ed..4db19fb 100644 --- a/site/themes/citra-bs-theme/layouts/game/list.html +++ b/site/themes/citra-bs-theme/layouts/game/list.html @@ -4,7 +4,7 @@ {{ range .Site.Data.compatibility }} - + @@ -43,40 +43,35 @@ - - - - + + + + {{ range .Data.Pages.GroupByParam "section_id" }} - - - {{ range .Pages }} {{- $rating := index .Site.Data.compatibility .Params.compatibility }} {{- $type := index .Site.Data.gameTypes (.Params.game_type | default "3ds") }} - + - - - - - @@ -93,25 +88,44 @@
{{ .name }}
{{ .description }}
TitleTypeCompatibilityDate TestedTitleTypeCompatibilityDate Tested
-

{{ .Key }}

-
+ + {{ .Params.title }} + +
{{ $rating.name }}
+ {{ dateFormat "January 2, 2006" .Params.testcase_date }}