Resurect the standalone url in lists and metrics views
- Le list views as well as the metrics have a standalone URL.
- With the commit dd6e98f8, it should work again for the list. This is true in the
dev
environment but not on the servermarprod
. - For the metrics, the URL is not working since the JavaScript librairy
Ext JS
is missing. - A possible way out is to add a new parameter in the selector, e.g
standalone
with the default valuefalse
. - The standalone parameter is set to
true
when using the standalone URL. - The controller
list/index
is the almost the same. the only change is the selection of the view which depends on thestandalone
value:either
lists/index.htmlor
lists/standalone.html`. - The html page
standalone
contains the header and the body. In the header contains theExt JS
and theMathJax
libraries. The body include theindex.html
view. - The default value can be set in existing list and metric by adding
baseParams={'standalone': False}
when building the lists/metrics node in the main viewport.
TODO:
-
modify the controller lists/index.html
-
add the view views/lists/standalone.html
-
modify the node lists
inviewport
-
propagate changes to metrics
and even tographs