docs improvements: buttons for User Manual, Data Mines and Reviews

This commit is contained in:
Luis Fernando Molina committed 2021-05-19 17:29:11 +02:00
1 parent 098843221f
commit e7e39bb5bd
4 files changed
+21 -1

No files matched your search

@@ -0,0 +1,14 @@
{
"type": "Reviews",
"definition": {
"text": "This book is a cataloge of all types of reviews at the Docs.",
"updated": 1621437863554
},
"paragraphs": [
{
"style": "Chapter",
"text": "I->Superalgos->Review->Superalgos Project Review->These are reviews of the project submited by users.",
"updated": 1621437834465
}
]
}
@@ -1,7 +1,7 @@
{
"review": "Superalgos Project Review",
"pageNumber": 2,
"type": "Superalgos Review - A GREAT PROJECT WITH AN EVEN GREATER POTENTIAL",
"type": "Superalgos Review - A great project with an even greater potential",
"definition": {
"text": "Hello, I'm 0xperez and this is my Superalgos review!",
"updated": 1614626208522
@@ -38,6 +38,12 @@ function newSuperalgosDocsFooter() {
if (UI.projects.superalgos.spaces.docsSpace.currentBookBeingRendered !== undefined) {
HTML = HTML + '<span style="float: right; display: inline-block;" onClick="UI.projects.superalgos.spaces.docsSpace.navigateTo(\'' + UI.projects.superalgos.spaces.docsSpace.currentBookBeingRendered.project + '\', \'' + UI.projects.superalgos.spaces.docsSpace.currentBookBeingRendered.category + '\', \'' + UI.projects.superalgos.spaces.docsSpace.currentBookBeingRendered.type + '\')"><button>TO BOOK</button></span>'
}
HTML = HTML + '<span style="float: right; display: inline-block;" onClick="UI.projects.superalgos.spaces.docsSpace.navigateTo(\'' + 'Superalgos' + '\', \'' + 'Book' + '\', \'' + 'Reviews' + '\')"><button>REVIEWS</button></span>'
HTML = HTML + '<span style="float: right; display: inline-block;" onClick="UI.projects.superalgos.spaces.docsSpace.navigateTo(\'' + 'Superalgos' + '\', \'' + 'Book' + '\', \'' + 'Community Data Mines' + '\')"><button>DATA MINES</button></span>'
HTML = HTML + '<span style="float: right; display: inline-block;" onClick="UI.projects.superalgos.spaces.docsSpace.navigateTo(\'' + 'Superalgos' + '\', \'' + 'Book' + '\', \'' + 'First Steps Tutorials' + '\')"><button>TUTORIALS</button></span>'
HTML = HTML + '<span style="float: right; display: inline-block;" onClick="UI.projects.superalgos.spaces.docsSpace.navigateTo(\'' + 'Superalgos' + '\', \'' + 'Book' + '\', \'' + 'User Manual' + '\')"><button>USER MANUAL</button></span>'
HTML = HTML + '</div>'
HTML = HTML + '</div>'