dashboard: add graph on side
This commit is contained in:
parent
5849648c70
commit
e017e11f68
|
@ -773,6 +773,7 @@ angular.module("FICApp")
|
|||
"exercice_follow": "Dernier exercice des événements",
|
||||
"exercice": "Exercice",
|
||||
"rank": "Classement",
|
||||
"graph": "Graphique",
|
||||
"message": "Message",
|
||||
"panel": "Boîte",
|
||||
};
|
||||
|
|
|
@ -431,6 +431,15 @@
|
|||
<div class="card-body" ng-if="s.params.html" ng-bind-html="s.params.html"></div>
|
||||
</div>
|
||||
|
||||
<div class="card niceborder bg-dark" ng-if="s.type == 'graph' && !s.params.hide">
|
||||
<div class="card-header bg-{{ s.params.color }} text-white" ng-if="s.params.title">
|
||||
<h3 style="margin:0" ng-bind="s.params.title" class="text-dark" ng-if="s.params.color == 'light'"></h3>
|
||||
<h3 style="margin:0" ng-bind="s.params.title" ng-if="s.params.color != 'light'"></h3>
|
||||
</div>
|
||||
<div class="card-body bg-dark" id="rank_graph" ng-controller="RankGraphController">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card niceborder bg-dark" ng-if="s.type == 'rank' && !s.params.hide">
|
||||
<table class="table table-bordered table-striped table-sm table-dark" ng-if="s.params.which == 'general'">
|
||||
<thead class="thead-dark">
|
||||
|
|
Loading…
Reference in New Issue