{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE QuasiQuotes #-} module Yesod.Paginator.Widgets ( PaginationWidget , simple , ellipsed ) where import Yesod.Paginator.Prelude import qualified Data.Text as T import Network.URI.Encode (encodeText) import Yesod.Core import Yesod.Paginator.Pages type PaginationWidget site a = Pages a -> WidgetFor site () -- | Simple widget, limited to show the given number of total page elements -- -- Pseudo-HTML for @'simple' 5@, on page 1: -- -- @ -- \