From a5c591fa595c09a3273843f65a88af3bd8771bfb Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Sat, 14 Apr 2018 22:34:22 +0200 Subject: [PATCH] added ajax functionality for pagination --- templates/table/colonnade.lucius | 9 ++++- templates/table/layout.cassius | 14 -------- templates/table/layout.hamlet | 11 +++---- templates/table/layout.julius | 56 +++++++++++++++----------------- templates/table/layout.lucius | 38 ++++++++++++++++++++++ 5 files changed, 76 insertions(+), 52 deletions(-) delete mode 100644 templates/table/layout.cassius create mode 100644 templates/table/layout.lucius diff --git a/templates/table/colonnade.lucius b/templates/table/colonnade.lucius index eddc61f79..dc7abd2b1 100644 --- a/templates/table/colonnade.lucius +++ b/templates/table/colonnade.lucius @@ -1,7 +1,14 @@ table th { - cursor: pointer; position: relative; padding-right: 20px; + + &.sortable { + cursor: pointer; + } + + a { + font-weight: 800; + } } table th.sorted-asc, diff --git a/templates/table/layout.cassius b/templates/table/layout.cassius deleted file mode 100644 index ffce3f52a..000000000 --- a/templates/table/layout.cassius +++ /dev/null @@ -1,14 +0,0 @@ -ul.paginationLinks - list-style: none outside none - margin: 0 - padding: 0 - text-align: center - li - margin: 0 - margin-right: .25em - padding: 0 - display: inline-block - .current - text-decoration: underline - li:last-child - margin-right: 0 \ No newline at end of file diff --git a/templates/table/layout.hamlet b/templates/table/layout.hamlet index a5707d2a9..a6578422c 100644 --- a/templates/table/layout.hamlet +++ b/templates/table/layout.hamlet @@ -3,11 +3,8 @@ $newline never
^{table} $if pageCount > 1 -