+$wcfAcpMenuWidth: 150px;
+
.layoutBoundary {
margin: 0;
max-width: none;
align-items: center;
background-color: rgb(52, 73, 94);
display: flex;
- flex: 0 0 120px;
+ flex: 0 0 $wcfAcpMenuWidth;
height: 50px;
justify-content: center;
margin: 0;
.acpPageMenu {
background-color: rgb(44, 62, 80);
- flex: 0 0 120px;
+ flex: 0 0 $wcfAcpMenuWidth;
text-align: center;
overflow: hidden;
'wcf.global.page.previous': '{capture assign=pagePrevious}{lang}wcf.global.page.previous{/lang}{/capture}{@$pagePrevious|encodeJS}',
'wcf.global.pageDirection': '{lang}wcf.global.pageDirection{/lang}',
'wcf.global.reason': '{lang}wcf.global.reason{/lang}',
+ 'wcf.global.scrollUp': '{lang}wcf.global.scrollUp{/lang}',
'wcf.global.success': '{lang}wcf.global.success{/lang}',
'wcf.global.success.add': '{lang}wcf.global.success.add{/lang}',
'wcf.global.success.edit': '{lang}wcf.global.success.edit{/lang}',
'favico', 'enquire', 'perfect-scrollbar', 'WoltLab/WCF/Date/Time/Relative',
'Ui/SimpleDropdown', 'WoltLab/WCF/Ui/Mobile', 'WoltLab/WCF/Ui/TabMenu', 'WoltLab/WCF/Ui/FlexibleMenu',
'Ui/Dialog', 'WoltLab/WCF/Ui/Tooltip', 'WoltLab/WCF/Language', 'WoltLab/WCF/Environment',
- 'WoltLab/WCF/Date/Picker', 'EventHandler', 'Core'
+ 'WoltLab/WCF/Date/Picker', 'EventHandler', 'Core', 'WoltLab/WCF/Ui/Page/JumpToTop'
],
function(
favico, enquire, perfectScrollbar, DateTimeRelative,
UiSimpleDropdown, UiMobile, UiTabMenu, UiFlexibleMenu,
UiDialog, UiTooltip, Language, Environment,
- DatePicker, EventHandler, Core
+ DatePicker, EventHandler, Core, UiPageJumpToTop
)
{
"use strict";
UiDialog.setup();
UiTooltip.setup();
+ new UiPageJumpToTop();
+
// convert method=get into method=post
var forms = elBySelAll('form[method=get]');
for (var i = 0, length = forms.length; i < length; i++) {
*/
define(
[
- 'Ajax', 'WoltLab/WCF/Bootstrap', 'WoltLab/WCF/Controller/Sitemap', 'WoltLab/WCF/Controller/Style/Changer',
- 'WoltLab/WCF/Controller/Popover', 'WoltLab/WCF/Ui/Page/JumpToTop', 'WoltLab/WCF/Ui/User/Ignore'
+ 'Ajax', 'WoltLab/WCF/Bootstrap', 'WoltLab/WCF/Controller/Sitemap', 'WoltLab/WCF/Controller/Style/Changer',
+ 'WoltLab/WCF/Controller/Popover', 'WoltLab/WCF/Ui/User/Ignore'
],
function(
- Ajax, Bootstrap, ControllerSitemap, ControllerStyleChanger,
- ControllerPopover, UiPageJumpToTop, UiUserIgnore
+ Ajax, Bootstrap, ControllerSitemap, ControllerStyleChanger,
+ ControllerPopover, UiUserIgnore
)
{
"use strict";
this._initUserPopover();
this._invokeBackgroundQueue(options.backgroundQueue.url, options.backgroundQueue.force);
- new UiPageJumpToTop();
-
UiUserIgnore.init();
},