From: Stephen Cameron Date: Wed, 16 Jan 2019 10:03:16 +0000 (+0100) Subject: Done #2510 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=9887e71fb4866cb4f68bc7c7c71f34abc43c3b20;p=fluidbook-html5.git Done #2510 @0.5 --- diff --git a/js/libs/fluidbook/menu/fluidbook.index.js b/js/libs/fluidbook/menu/fluidbook.index.js index 473860d3..2768cbe1 100644 --- a/js/libs/fluidbook/menu/fluidbook.index.js +++ b/js/libs/fluidbook/menu/fluidbook.index.js @@ -24,7 +24,13 @@ FluidbookIndex.prototype = { getNormalView: function () { if (this.normalHTML == '') { - this.normalHTML += '
'; + this.normalHTML += '
'; + + if (this.fluidbook.datas.indexMessage !== '') { + this.normalHTML += '
' + this.fluidbook.datas.indexMessage + '
'; + } + + this.normalHTML += '
'; var j = 0; var ix1 = '', ix2 = '', ix = ''; var c = ''; diff --git a/style/fluidbook.less b/style/fluidbook.less index 3d8f1700..1eb28ed5 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -1750,6 +1750,11 @@ form input[type="text"], form input[type="email"] { } +#indexViewMessage { + padding: 2em 0; + text-align: center; +} + .doubleThumb { height: @thumb-height; @@ -2944,4 +2949,4 @@ body > input { #loadedcontents { display: none; -} \ No newline at end of file +}