Subversion Repositories Applications.referentiel

Rev

Rev 33 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 jpm 1
<!-- REF - DEBUT TRAITEMENT -->
2
<h1>
3
	Résultats du traitement
4
	<?php if (isset($traitement)) : ?>
5
		«&nbsp;<?=$traitement['nom'];?> <span class="discretion">(id:<?=$traitement['id_traitement']?>)</span>&nbsp;»
6
	<?php endif; ?>
7
</h1>
8
 
9
<?php if (isset($messages)) : ?>
10
<h2>Messages</h2>
11
<?php foreach ($messages as $message) : ?>
12
<p class="information"><?=$message;?></p>
13
<?php endforeach; ?>
14
<?php endif; ?>
15
 
58 jpm 16
<?php if (isset($urls_zip)) : ?>
17
	<h2>Téléchargements</h2>
18
	<ul>
19
		<?php foreach ($urls_zip as $nom => $url) : ?>
20
		<li><a href="<?=$url?>"><?=$nom?></a></li>
21
		<?php endforeach; ?>
22
	</ul>
23
<?php endif; ?>
24
 
33 jpm 25
<h2>Résultats</h2>
26
<?php if (isset($resultats)) : ?>
58 jpm 27
	<?php if ($traitement['script'] == 'tests') : ?>
28
		<table id="resultats">
29
			<caption>Résultats</caption>
30
			<thead>
31
				<tr>
32
					<th>Numero</th>
33
					<th>Nom</th>
34
					<th>Résultat</th>
35
					<th>Description</th>
36
				</tr>
37
			</thead>
38
			<tbody>
39
			<?php $i=1; ?>
40
			<?php foreach ($resultats as $resultat) : ?>
41
				<tr>
42
					<td class="numero <?=$resultat['resultat'] ? 'ok' : 'ko';?>" title="Id:<?=$resultat['id_resultat']?>"><?=$i++?></td>
43
					<td class="nom <?=$resultat['resultat'] ? 'ok' : 'ko';?>"><a href="<?=$resultat['url']?>"><?=$resultat['nom']?></a></td>
44
					<td class="<?=$resultat['resultat'] ? 'ok' : 'ko';?>"><span class="resultat"><?=$resultat['resultat'] ? 'ok' : 'ko';?></span></td>
45
					<td class="description"><?=$resultat['description']?></td>
46
				</tr>
47
			<?php endforeach; ?>
48
			</tbody>
49
		</table>
50
	<?php endif; ?>
51
	<?php if ($traitement['script'] == 'versionnage') : ?>
52
		<?php $i=1; ?>
53
		<?php foreach ($resultats as $resultat) : ?>
54
			<h3><?=$resultat['nom']?> (Id:<?=$resultat['id_resultat']?>)</h3>
55
			<p><?=$resultat['message']?></p>
56
		<?php endforeach; ?>
57
	<?php endif; ?>
33 jpm 58
<?php else : ?>
58 jpm 59
	<p class="information">Aucun resultat pour ce traitement.</p>
33 jpm 60
<?php endif; ?>
61
<!-- REF - FIN TRAITEMENT -->