estim sprint
This commit is contained in:
@ -139,14 +139,23 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="color:var(--colorftbodydark);zoom:75%;" class="mt-5">
|
||||
<table style="width:100%">
|
||||
{% for jalon in tbestim %}
|
||||
<div style="" class="mt-5">
|
||||
{% for jalon in tbestim %}
|
||||
<table style="color:var(--colorftbodydark);zoom:75%; width:100%; border:1px solid var(--colorbgbodylight)">
|
||||
<tr>
|
||||
<td>{{jalon.nmjal}}</td>
|
||||
<td><span id="total{{jalon.gijal}}" class="totalweight">{{jalon.nbjrs}}</span></td>
|
||||
{% endfor %}
|
||||
</table>
|
||||
<td style="width:30px;text-align:right;"><span id="totaljal{{jalon.gijal}}" class="totalweight">{{jalon.nbjrs}}</span></td>
|
||||
</tr>
|
||||
{% for sprint in jalon.sprints %}
|
||||
{% if not loop.first or sprint.idspr!=-100 %}
|
||||
<tr>
|
||||
<td>{{sprint.nmspr}}</td>
|
||||
<td style="width:30px;text-align:right;"><span id="totalspr{{jalon.gijal}}-{{sprint.idspr}}" class="totalweight">{{sprint.nbjrs}}</span></td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -561,8 +570,12 @@
|
||||
$(".totalweight").html("0");
|
||||
|
||||
Object.entries(data.weights).forEach(entry => {
|
||||
const [key, value] = entry;
|
||||
$("#total"+key).html(value);
|
||||
const [keyj, jalon] = entry;
|
||||
$("#totaljal"+jalon.id).html(jalon.weight.toFixed(1).replace(/\.0$/, ''));
|
||||
Object.entries(jalon.sprints).forEach(entry => {
|
||||
const [keys, sprint] = entry;
|
||||
$("#totalspr"+sprint.id).html(sprint.weight.toFixed(1).replace(/\.0$/, ''));
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
@ -957,7 +970,7 @@
|
||||
}
|
||||
}
|
||||
});
|
||||
}, 60000);
|
||||
}, 300000);
|
||||
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user