Commit 597045c2 authored by Tibor Katelbach's avatar Tibor Katelbach
Browse files

filters

parent 69b76dd1
......@@ -13,9 +13,12 @@
<div class="col-xs-12 text-center margin-bottom-10">
<a href="javascript:;" class='btn btn-primary filterAnswers' data-filter="answerLi"><i class="fa fa-money"></i> Tout </a>
<a href="javascript:;" class='btn btn-primary filterAnswers' data-filter="budget"><i class="fa fa-money"></i> Budget </a>
<a href="javascript:;" class='btn btn-primary filterAnswers' data-filter="financing"><i class="fa fa-money"></i> Financing </a>
<a href="javascript:;" class='btn btn-primary filterAnswers' data-filter="inprogress"><i class="fa fa-cogs"></i> In Progree</a>
<a href="javascript:;" class='btn btn-primary filterAnswers' data-filter="finished"><i class="fa fa-check-circle-o"></i> Finished </a>
<a href="javascript:;" class='btn btn-primary filterAnswers' data-filter="financing"><i class="fa fa-money"></i> Financement </a>
<a href="javascript:;" class='btn btn-primary filterAnswers' data-filter="inprogress"><i class="fa fa-cogs"></i> En cours</a>
<a href="javascript:;" class='btn btn-success filterAnswers' data-filter="finished"><i class="fa fa-check-circle-o"></i> Cloturé </a>
<a href="javascript:;" class='btn btn-danger filterAnswers' data-filter="admin"><i class="fa fa-gavel"></i> Gérer </a>
<a href="javascript:;" class='btn btn-warning filterAnswers' data-filter="operator"><i class="fa fa-black-tie"></i> Appel Opérateur </a>
</div>
<ul id="allAnswersList">
<?php
......@@ -40,7 +43,7 @@
$lblstate = "Pas d'opérateur";
$step = "ouvert";
$icon = "folder-open-o";
$filterClass = "noOperator";
$filterClass = "operator";
$stateColor = "";
$localLinks = [];
$uids = [];
......@@ -108,6 +111,7 @@
if($type == "operators"){
$lblstate = "Opérateur à valider";
$filterClass = "admin";
$statecol = "warning";
foreach ($ls as $oid => $ov) {
if($ov != "0"){
......
Supports Markdown
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