]> _ Git - fluidbook-html5.git/commitdiff
Done #2510 @0.5
authorStephen Cameron <stephen@cubedesigners.com>
Wed, 16 Jan 2019 10:03:16 +0000 (11:03 +0100)
committerStephen Cameron <stephen@cubedesigners.com>
Wed, 16 Jan 2019 10:03:16 +0000 (11:03 +0100)
js/libs/fluidbook/menu/fluidbook.index.js
style/fluidbook.less

index 473860d32ce30e163c634dff85a555e2215da8a6..2768cbe146ef35ffb87637cec3c9f6d710886640 100644 (file)
@@ -24,7 +24,13 @@ FluidbookIndex.prototype = {
 
     getNormalView: function () {
         if (this.normalHTML == '') {
-            this.normalHTML += '<div class="content"><div id="indexView"><div id="indexViewHolder">';
+            this.normalHTML += '<div class="content"><div id="indexView">';
+
+            if (this.fluidbook.datas.indexMessage !== '') {
+                this.normalHTML += '<div id="indexViewMessage">' + this.fluidbook.datas.indexMessage + '</div>';
+            }
+
+            this.normalHTML += '<div id="indexViewHolder">';
             var j = 0;
             var ix1 = '', ix2 = '', ix = '';
             var c = '';
index 3d8f17000e7991364a6a1d79dd0a09ce06c99638..1eb28ed5f9e5fa645d7f3f85f67e8995f69fc2c5 100644 (file)
@@ -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
+}