1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
|
<form action={{ path('validateGTDossier') }} method="post" >
<table>
<tr>
{% for proc in procedures %}
<input type="hidden" value="{{ checkthatsID }}" name="checkthatsID"/>
<table class="tests">
<tr>
<th colspan=2><h2>PROCEDURE</h2>
<h3>Procedure name : {{proc.name}}</h3>
</th>
</tr>
<tr>
{% for tb in proc.testBlocks %}
<td valign="top" width="30%">
<table class="action" border="0" width="100%">
<tr>
<td>
<h3>ACTIONS</h3><br/>
</td>
</tr>
<tr>
<td align="left" width="100%">
<table border="0">
<ul>
{% for act in tb.actions %}
<tr>
<td align="left"><li> {{ act.action }}</li><br/></td>
</tr>
{% endfor %}
</ul>
</table>
</td>
</tr>
</table>
</td>
<td width="50%" valign="top">
<h3>CHECKTHATS</h3><br/>
<ul>
{% for ct in tb.checkThats %}
<table align="center" border="0" width="100%">
<tr>
<td width="80%" align="left"><li>{{ ct.expectedResult }}<br/>
<input type="hidden" value="{{ct.id}}" name="ctid_{{ct.id}}"/></li>
</td>
<td rowspan="2" align="right">
<table border="0">
<tr>
<td align="center">
Comments <br/>
</td>
</tr>
<tr>
<td>
<textarea name="obtainedResult_{{ct.id}}"></textarea><br/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table align="left" width="40%" border="1">
<tr>
<td>OK <input type=radio name="status_{{ct.id}}" style="width:1.5em;height:1.5em;" value="3"></td>
<td>NOK <input type=radio name="status_{{ct.id}}" style="width:1.5em;height:1.5em;" value="4"></td>
<td>NE <input type=radio name="status_{{ct.id}}" style="width:1.5em;height:1.5em;" value="5"></td>
</tr>
</table>
</td>
</tr>
</table>
<br/><br/>
{% endfor %}
</ul>
</td>
</tr>
{% endfor %}
</table>
<br/><br/><br/>
{% endfor %}
</tr>
</table>
<input type="submit" class="confirm" value="Validate Test dossier"/>
</form> |
Partager