Commit 54cc73b1 authored by delanoe's avatar delanoe

[FIX] removing unstable features from analytics (keep it simple and working)....

[FIX] removing unstable features from analytics (keep it simple and working). Todo: get back all the usefull functions.
parent 7800bbaa
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div class="container"> <div class="container">
<h3> <h3>
<span class="glyphicon glyphicon-hand-right" aria-hidden="true"></span> <span class="glyphicon glyphicon-hand-right" aria-hidden="true"></span>
Small tutorial here and links toward documentation. Filter your documents with terms and watch histories (you can compare all your corpora).
</h3> </h3>
</div> </div>
<!-- All the templates used by the Javascript framework --> <!-- All the templates used by the Javascript framework -->
...@@ -52,6 +52,9 @@ ...@@ -52,6 +52,9 @@
<div ng-app="Gargantext" ng-controller="GraphController" class="controller"> <div ng-app="Gargantext" ng-controller="GraphController" class="controller">
<!-- add a new dataset -->
<button ng-click="addDataset()">Add a dataset</button>
<ul class="datasets"> <ul class="datasets">
<li class="dataset" ng-controller="DatasetController" ng-repeat="dataset in datasets" style="background-color:{{ getColor($index, datasets.length) }}"> <li class="dataset" ng-controller="DatasetController" ng-repeat="dataset in datasets" style="background-color:{{ getColor($index, datasets.length) }}">
<!-- main part --> <!-- main part -->
...@@ -62,7 +65,9 @@ ...@@ -62,7 +65,9 @@
<!-- description of Y values --> <!-- description of Y values -->
Evolution of the Evolution of the
<select ng-model="query_y.value" ng-options="value as key for (key, value) in {'documents count': 'documents_count', 'expressions count': 'ngrams_count'}" ng-change="updateDataset()"></select> <select ng-model="query_y.value" ng-options="value as key for (key, value) in {'documents count': 'documents_count', 'expressions count': 'ngrams_count'}" ng-change="updateDataset()"></select>
<select ng-model="query_y.is_relative" ng-options="value as key for (key, value) in {'in absolute terms': false, 'relative to the': true}" ng-change="updateDataset()"></select> <select ng-model="query_y.is_relative" ng-options="value as key for (key, value) in {'in absolute terms': false}" ng-change="updateDataset()"></select>
<!-- <select ng-model="query_y.is_relative" ng-options="value as key for (key, value) in {'in absolute terms': false, 'relative to the': true}" ng-change="updateDataset()"></select>
-->
<span ng-if="query_y.is_relative"> <span ng-if="query_y.is_relative">
<select ng-model="query_y.divided_by" ng-options="value as key for (key, value) in {'total expressions count': 'total_ngrams_count', 'total documents count': 'total_documents_count'}" ng-change="updateDataset()"></select> <select ng-model="query_y.divided_by" ng-options="value as key for (key, value) in {'total expressions count': 'total_ngrams_count', 'total documents count': 'total_documents_count'}" ng-change="updateDataset()"></select>
</span> </span>
...@@ -91,11 +96,11 @@ ...@@ -91,11 +96,11 @@
<auto-complete source="getNgrams($query)"></auto-complete> <auto-complete source="getNgrams($query)"></auto-complete>
</tags-input ng-model="tags"> </tags-input ng-model="tags">
</li> </li>
<!-- filter hyperdata --> <!-- filter hyperdata
<li> <li>
<ul> <ul>
<li ng-repeat="hyperdata in hyperdataList"> <li ng-repeat="hyperdata in hyperdataList">
...where ...with
<span ng-if="!hyperdata.operator &amp;&amp; (!hyperdata.values || !hyperdata.value)">"{{ hyperdata.name }}"</span> <span ng-if="!hyperdata.operator &amp;&amp; (!hyperdata.values || !hyperdata.value)">"{{ hyperdata.name }}"</span>
<strong ng-if="hyperdata.operator || (hyperdata.values &amp;&amp; hyperdata.value)">{{ hyperdata.name }}</strong> <strong ng-if="hyperdata.operator || (hyperdata.values &amp;&amp; hyperdata.value)">{{ hyperdata.name }}</strong>
...@@ -111,13 +116,10 @@ ...@@ -111,13 +116,10 @@
</li> </li>
</ul> </ul>
</li> </li>
-->
</ul> </ul>
</li> </li>
</ul> </ul>
<!-- add a new dataset -->
<button ng-click="addDataset()">Add a dataset</button>
<!-- X-axis (time) resolution --> <!-- X-axis (time) resolution -->
<p> <p>
(group results by (group results by
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment