From 20562a1d84b11c5b7407fc13b964c029b51f6d6a Mon Sep 17 00:00:00 2001 From: David Ashby Date: Fri, 19 May 2017 17:44:56 -0400 Subject: [PATCH] add sorting and better icons on the headers for it --- css/style.css | 18 ++++++ index.html | 26 +++++--- js/lodash.core.min.js | 29 --------- js/lodash.min.js | 136 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 173 insertions(+), 36 deletions(-) delete mode 100644 js/lodash.core.min.js create mode 100644 js/lodash.min.js diff --git a/css/style.css b/css/style.css index 5c6b391..7c4deeb 100644 --- a/css/style.css +++ b/css/style.css @@ -75,6 +75,24 @@ bottom: 2px; } +.bookTable th.asc::after { + content: "\f0de"; + font-family: FontAwesome; + font-size: x-small; + position: relative; + left: 4px; + bottom: 2px; +} + +.bookTable th.desc::after { + content: "\f0dd"; + font-family: FontAwesome; + font-size: x-small; + position: relative; + left: 4px; + bottom: 2px; +} + .bookTable td, .bookTable th { padding: 5px; min-width: 50px; diff --git a/index.html b/index.html index 683c2f4..4d5e5f6 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ Library - + @@ -12,6 +12,10 @@