From abe07e478020936b1c63f0175e4e9b859cd0b063 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 21 Jan 2016 23:25:10 +0100 Subject: [PATCH] Style overhaul (WIP) Renamed .pageNavigation to .pagination Renamed .navigation/.navigationIcons to .pageNavigation/.pageNavigationIcons Removed obsolete some code/files --- .../templates/headIncludeJavaScript.tpl | 4 +- .../templates/pageNavbarBottom.tpl | 10 -- com.woltlab.wcf/templates/pageNavbarTop.tpl | 4 +- wcfsetup/install/files/acp/js/WCF.ACP.js | 6 +- .../install/files/acp/templates/header.tpl | 4 +- .../files/js/WoltLab/WCF/Ui/Page/JumpTo.js | 8 +- .../files/js/WoltLab/WCF/Ui/Pagination.js | 2 +- .../PagesFunctionTemplatePlugin.class.php | 2 +- ...SmallpagesFunctionTemplatePlugin.class.php | 2 +- .../install/files/style/layout/content.scss | 54 +++++++ .../files/style/layout/navigation.scss | 151 ------------------ .../files/style/layout/pageNavigation.scss | 50 ++++++ wcfsetup/install/files/style/ui/message.scss | 4 +- .../install/files/style/ui/pagination.scss | 39 +++++ wcfsetup/install/lang/de.xml | 2 +- wcfsetup/install/lang/en.xml | 2 +- 16 files changed, 163 insertions(+), 181 deletions(-) delete mode 100644 com.woltlab.wcf/templates/pageNavbarBottom.tpl delete mode 100644 wcfsetup/install/files/style/layout/navigation.scss create mode 100644 wcfsetup/install/files/style/layout/pageNavigation.scss create mode 100644 wcfsetup/install/files/style/ui/pagination.scss diff --git a/com.woltlab.wcf/templates/headIncludeJavaScript.tpl b/com.woltlab.wcf/templates/headIncludeJavaScript.tpl index f938b8d995..082ef72e7f 100644 --- a/com.woltlab.wcf/templates/headIncludeJavaScript.tpl +++ b/com.woltlab.wcf/templates/headIncludeJavaScript.tpl @@ -70,7 +70,7 @@ requirejs.config({ 'wcf.global.loading': '{lang}wcf.global.loading{/lang}', 'wcf.global.page.jumpTo': '{lang}wcf.global.page.jumpTo{/lang}', 'wcf.global.page.jumpTo.description': '{lang}wcf.global.page.jumpTo.description{/lang}', - 'wcf.global.page.pageNavigation': '{lang}wcf.global.page.pageNavigation{/lang}', + 'wcf.global.page.pagination': '{lang}wcf.global.page.pagination{/lang}', 'wcf.global.page.next': '{capture assign=pageNext}{lang}wcf.global.page.next{/lang}{/capture}{@$pageNext|encodeJS}', 'wcf.global.page.previous': '{capture assign=pagePrevious}{lang}wcf.global.page.previous{/lang}{/capture}{@$pagePrevious|encodeJS}', 'wcf.global.pageDirection': '{lang}wcf.global.pageDirection{/lang}', @@ -180,7 +180,7 @@ requirejs.config({ $(function() { new WCF.Effect.SmoothScroll(); - WCF.System.PageNavigation.init('.pageNavigation'); + WCF.System.PageNavigation.init('.pagination'); WCF.User.Profile.ActivityPointList.init(); {event name='javascriptInit'} diff --git a/com.woltlab.wcf/templates/pageNavbarBottom.tpl b/com.woltlab.wcf/templates/pageNavbarBottom.tpl deleted file mode 100644 index 880ffdcd42..0000000000 --- a/com.woltlab.wcf/templates/pageNavbarBottom.tpl +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/com.woltlab.wcf/templates/pageNavbarTop.tpl b/com.woltlab.wcf/templates/pageNavbarTop.tpl index 22cac09a91..7f9668f223 100644 --- a/com.woltlab.wcf/templates/pageNavbarTop.tpl +++ b/com.woltlab.wcf/templates/pageNavbarTop.tpl @@ -1,8 +1,8 @@ -