source: XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/xios_report.html @ 1775

Last change on this file since 1775 was 1775, checked in by yushan, 5 years ago

dev_trunk_omp : solve browser compatibility issue.

File size: 19.2 KB
Line 
1<!DOCTYPE html>
2<html>
3    <head>
4        <metacharset="utf-8"/>
5        <link rel="stylesheet" href="xios-style.css"/>
6        <title>XIOS Unit Tests Report - Le Site Web</title>
7        <!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> -->
8        <!-- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/> -->
9        <!-- <script>
10            $(document).ready(function()
11            {
12                $('#content').load("xios_table.html");
13                $('#content2').load("xios_table2.html");
14                $('#txtcont').load("report.html");
15            });
16        </script> -->
17
18<script>
19    function mytoggle() {
20     if( document.getElementById("hidelevel_1").style.display=='none' ){
21       document.getElementById("hidelevel_1").style.display = 'table-row'; // set to table-row instead of an empty string
22     }else{
23       document.getElementById("hidelevel_1").style.display = 'none';
24     }
25    }
26
27    function level1_unfold() {
28        var ans = document.getElementsByClassName('level2')
29        for (var i = 0; i < ans.length; i++) {
30            var cell = ans[i]
31            cell.style.display = 'table-row';
32            document.getElementById("icon_level1_1").style.display='none';
33            document.getElementById("icon_level1_2").style.display='inline';
34        }
35    }
36
37    function level1_fold() {
38        var ans = document.getElementsByClassName('level2')
39        for (var i = 0; i < ans.length; i++) {
40            var cell = ans[i]
41            cell.style.display = 'none';
42            document.getElementById("icon_level1_2").style.display='none';
43            document.getElementById("icon_level1_1").style.display='inline';
44            algoType = cell.getAttribute("data-algo-type");
45            level2_fold(algoType)
46        }
47    }
48
49
50
51    function level2_unfold(algo_name) {
52        var ans = document.getElementsByClassName('level3_'+algo_name)
53        for (var i = 0; i < ans.length; i++) {
54            var cell = ans[i]
55            cell.style.display = 'table-row';
56            document.getElementById("icon_level2_"+algo_name+"_1").style.display='none';
57            document.getElementById("icon_level2_"+algo_name+"_2").style.display='inline';
58        }
59       
60    }
61
62    function level2_fold(algo_name) {
63        var ans = document.getElementsByClassName('level3_'+algo_name)
64        for (var i = 0; i < ans.length; i++) {
65            var cell = ans[i]
66            cell.style.display = 'none';
67            document.getElementById("icon_level2_"+algo_name+"_2").style.display='none';
68            document.getElementById("icon_level2_"+algo_name+"_1").style.display='inline';
69            algoconfigType = cell.getAttribute("data-algoconfig-type");
70            level3_fold(algoconfigType)
71        }
72       
73    }
74
75
76
77    function level3_unfold(algo_config_name) {
78        var ans = document.getElementsByClassName('level4_'+algo_config_name)
79        for (var i = 0; i < ans.length; i++) {
80            var cell = ans[i]
81            cell.style.display = 'table-row';
82            document.getElementById("icon_level3_"+algo_config_name+"_1").style.display='none';
83            document.getElementById("icon_level3_"+algo_config_name+"_2").style.display='inline';
84        }
85    }
86
87    function level3_fold(algo_config_name) {
88        var ans = document.getElementsByClassName('level4_'+algo_config_name)
89        for (var i = 0; i < ans.length; i++) {
90            var cell = ans[i]
91            cell.style.display = 'none';
92            document.getElementById("icon_level3_"+algo_config_name+"_2").style.display='none';
93            document.getElementById("icon_level3_"+algo_config_name+"_1").style.display='inline';
94        }
95    }
96</script>
97
98
99    </head>
100    <body>
101        <header>
102            <h1>XIOS Unit Tests Report Web Page</h1>
103            <h2>(still under construction ... ...)</h2>
104        </header>
105        <nav>
106            <div id="navborder">
107                <p id="xiosinfo">Some useful links:</p>
108                <ul>
109                    <li><a href="https://forge.ipsl.jussieu.fr/ioserver/wiki" target="_blank">XIOS wiki page</a></li>
110                    <li><a href="graph.html" target="_blank">Workflow Graph</a></li>
111                    <li><a href="plein_report.txt" target="_blank">Plein Text Report</a>(0:initialized 1:passed -1:failed)</li>
112                </ul> 
113            </div>
114       
115            <div id="navborder">
116                <p id="xiosinfo">Informatin of XIOS source:</p>
117                <table id="xiosinfotable">
118                    <tr>
119                        <td>Branch</td> 
120                        <td><em>trunk</em></td>
121                    </tr>
122                    <tr>
123                        <td>Revision</td>   
124                        <td><em>1740</em></td>
125                    </tr>
126                    <tr>
127                        <td>Machine</td>   
128                        <td><em>Juliot-Curie</em></td>
129                    </tr>
130                    <tr>
131                        <td>Architecture</td>     
132                        <td><em>X86_IRENE</em></td>
133                    </tr>
134                    <tr>
135                        <td>Compile mode</td>     
136                        <td><em>prod</em></td>
137                    </tr>
138                </table> 
139            </div>
140        </nav> 
141        <section>
142            <!-- <h3 style="margin-left:25px;">If your FireFox browser does not show the result table, try the following steps:</h3>
143            <ol>
144                <li>open <text style="font-weight: bold;">about:config</text> in the browser.</li>
145                <li>Search <text style="font-weight: bold;">security.fileuri.strict_origin_policy</text>.</li>
146                <li>Change the value to <text style="font-weight: bold;">false</text>.</li>
147            </ol> -->
148
149            <h2>Results of unit tests</h2>
150
151            <!-- <div>
152                <input type="checkbox" id="toggle" class="unfolder"/>
153                <label for="toggle" class="toggle-label"><span class="unfold-icon">&#9654;</span><span class="fold-icon">&#9660;</span> Title</label>
154                         
155                <div class="fold">
156                  Content
157                 </div>
158            </div> -->
159           
160
161            <!-- <div id="content"></div> -->
162            <script src="xios_table.js"></script>
163           
164             
165            <!-- <table id="xiostable">
166                <thead></thead>
167                <tfoot></tfoot>
168                <tbody>
169                <tr>
170                    <td>XIOS Unit tests</td>
171                    <td colspan="3"></td>
172                    <td class="testanswer">Failed</td>
173                    <td> </td>
174                </tr>
175                <tr>
176                    <td rowspan="6"></td>
177                    <td>Scalar algorithms</td>
178                    <td ></td>
179                    <td class="testanswer">Passed</td>
180                    <td> </td>
181                    <td> <form method="post" action=action1.php><input type="submit" value="Show param.def"/></form></td>
182                </tr>
183                <tr>
184                    <td rowspan="2"></td>
185                    <td>configuration 1</td>
186                    <td class="testanswer">Initialized</td>
187                    <td> </td>
188                    <td> <form method="post" action=action2.php><input type="submit" value="Show param.def"/></form></td>
189                </tr>
190               
191                <tr>
192                    <td>configuration 2</td>
193                    <td class="testanswer">Passed</td>
194                    <td> </td>
195                    <td> <form method="post" action=action2.php><input type="submit" value="Show param.def"/></form></td>
196                </tr>
197                <tr>
198                    <td>Axis algorithms</td>
199                    <td></td>
200                    <td class="testanswer">Failed</td>
201                    <td> </td>
202                    <td> <form method="post" action=action1.php><input type="submit" value="Show param.def"/></form></td>
203                </tr>
204                <tr>
205                    <td rowspan="2"></td>
206                    <td>configuration 1</td>
207                    <td class="testanswer">Passed</td>
208                    <td> </td>
209                    <td> <form method="post" action=action2.php><input type="submit" value="Show param.def"/></form></td>
210                </tr>
211                <tr>
212                    <td>configuration 2</td>
213                    <td class="testanswer">Failed</td>
214                    <td> </td>
215                    <td> <form method="post" action=action2.php><input type="submit" value="Show param.def"/></form></td>
216                </tr>
217                </tbody>
218            </table> -->
219
220            <!-- <form method="post" action="traitement.php">
221                <label for="pseudo">Votre pseudo : </label> 
222                <input type="text" name="pseudo" id="pseudo" placeholder="Ex: Zozor"/>
223                <br/>
224                <label for="pass">Votre mot de passe : </label>
225                <input type="password" name="pass" id="pass"/>
226                <br/>
227                <label for="ameliorer">Votre commentaire :</br></label>
228                <textarea name="ameliorer" id="ameliorer" rows="5">
229                    Améliorer ton site ?!       
230                    Mais enfin ! Il est tellement génialissime qu'il n'est pasnécessaire de l'améliorer !
231                </textarea>
232                </br>
233                <label for="number">Give a number : </label><input type="number" id="number" name="number" min="0" max="100" step="10"/>
234                </br>
235                <label for="email">Give an email : </label><input type="email" id="email" name="email"/>
236                </br>
237                <label for="url">Give an url : </label><input type="url" id="url" name="url"/>
238                </br>
239                <label for="range">Give another number : </label><input type="range" id="range" name="range" min="0" max="20" step="5"/>
240                </br>
241                <label for="color">Give a color : </label><input type="color" id="color" name="color"/>
242                </br>
243                <label for="date">Give a date : </label><input type="date" id="date" name="date"/>
244                </br>
245                <label for="time">Give a time : </label><input type="time" id="time" name="time"/>
246                </br>
247                <label for="week">Give a week : </label><input type="week" id="week" name="week"/>
248                </br>
249                <label for="month">Give a month : </label><input type="month" id="month" name="month"/>
250                </br>
251                <label for="datetime">Give a date and time : </label><input type="datetime" id="datetime" name="datetime"/>
252                </br>
253                <label for="datetime-local">Give a local date and time : </label><input type="datetime-local" id="datetime-local" name="datetime-local"/>
254                </br>
255                <label for="search">Give something to search : </label><input type="search" id="search" name="search"/>
256            </form> -->
257
258            <!-- <form method="post" action="action.php">
259                <p> Cochez les aliments que vous aimez manger :
260                    <br/>
261                    <input type="checkbox" name="frites" id="frites"/><label for="frites">Frites</label>
262                    <br/>
263                    <input type="checkbox" name="steak" id="steak"/><label for="steak">Steak haché</label>
264                    <br/>
265                    <input type="checkbox" name="epinards" id="epinards"/><label for="epinards">Epinards</label>
266                    <br/>
267                    <input type="checkbox" name="huitres" id="huitres" checked/><label for="huitres">Huitres</label>
268                </p>
269            </form> -->
270
271            <!-- <form method="post" action="action.php">
272                <p> Veuillez indiquer la tranche d'âge dans laquelle vous vous situez :
273                    <br/>
274                    <input type="radio" name="age" value="moins15" id="moins15"/><label for="moins15">Moins de 15 ans</label>
275                    <br/>
276                    <input type="radio" name="age" value="medium15-25" id="medium15-25"/><label for="medium15-25">15-25 ans</label>
277                    <br/>
278                    <input type="radio" name="age" value="medium25-40" id="medium25-40"/><label for="medium25-40">25-40 ans</label>
279                    <br/>
280                    <input type="radio" name="age" value="plus40" id="plus40"/><label for="plus40">Encore plus vieux que ça ?!</label>
281                </p>
282                <p> Sur quel continent habitez-vous ?
283                    <br/>
284                    <input type="radio" name="continent" value="europe" id="europe"/><label for="europe">Europe</label>
285                    <br/>
286                    <input type="radio" name="continent" value="afrique" id="afrique"/><label for="afrique">Afrique</label>
287                    <br/>
288                    <input type="radio" name="continent" value="asie" id="asie"/><label for="asie">Asie</label>
289                    <br/>
290                    <input type="radio" name="continent" value="amerique" id="amerique"/><label for="amerique">Amérique</label>
291                    <br/>
292                    <input type="radio" name="continent" value="australie" id="australie"/><label for="australie">Australie</label>
293                </p>
294            </form> -->
295
296            <!-- <form method="post" action="action.php">
297                <p><label for="pays">Dans quel pays habitez-vous ?</label>
298                    <br/>
299                    <select name="pays" id="pays">
300                        <optgroup label="Europe">
301                            <option value="espagne">Espagne</option>
302                            <option value="france" selected>France</option>
303                            <option value="italie">Italie</option>
304                            <option value="royaume-uni">Royaume-Uni</option>
305                        </optgroup>
306                        <optgroup label="Amérique">
307                            <option value="canada">Canada</option>
308                            <option value="etats-unis">États-Unis</option>
309                        </optgroup>
310                        <optgroup label="Asie">
311                            <option value="chine">Chine</option>
312                            <option value="japon">Japon</option>
313                        </optgroup>
314                    </select>
315                </p>
316            </form> -->
317
318            <!-- <form method="post" action="action.php">
319                <fieldset>
320                    <legend>Vos coordonnées</legend>
321                    <label for="nom">Quel est votre nom ?</label><input type="text" name="nom" id="nom" autofocus/>
322                    <label for="prenom">Quel est votre prénom ?</label><input type="text" name="prenom" id="prenom"/>
323                    <label for="email">Quel est votre e-mail ?</label><input type="email" name="email" id="email" required/>
324                </fieldset>
325                <fieldset>
326                    <legend>Votre souhait</legend>
327                    <p> Faites un souhait que vous voudriez voir exaucé :
328                        <input type="radio" name="souhait" value="riche" id="riche"/><label for="riche">Etre riche</label>
329                        <input type="radio" name="souhait" value="celebre" id="celebre"/><label for="celebre">Etre célÚbre</label>
330                        <input type="radio" name="souhait" value="intelligent" id="intelligent"/><label for="intelligent">Etre <strong>encore</strong> plus intelligent</label>
331                        <input type="radio" name="souhait" value="autre" id="autre"/><label for="autre">Autre...</label>
332                    </p>
333                    <p><label for="precisions">Si "Autre", veuillez préciser:</label>
334                        <textarea name="precisions" id="precisions" cols="40" rows="4"></textarea>
335                    </p>
336                </fieldset>
337                <fieldset>
338                    <input type="submit" value="Envoyer"/>
339                </fieldset>
340            </form> -->
341       
342            <!-- <div id="txtcont"></div> --> 
343
344       
345        </section>
346        <footer>
347            <p>Copyright XIOS - Tous droits réservés
348                <a href="mailto:xios-dev@forge.ipsl.jussieu.fr">Nous contacter !</a>
349            </p>
350        </footer>
351    </body>
352</html>
353 
354<script>
355    function show_param_test_axis_algo() 
356    {
357        var myWindow = window.open("test_axis_algo/user_params.def", "", "width=400,height=400,left=1500,top=400");
358    }
359    function show_param_test_domain_algo() 
360    {
361        var myWindow = window.open("test_domain_algo/user_params.def", "", "width=400,height=400,left=1500,top=400");
362    }
363    function show_param_test_grid_algo() 
364    {
365        var myWindow = window.open("test_grid_algo/user_params.def", "", "width=400,height=400,left=1500,top=400");
366    }
367    function show_param_test_scalar_algo() 
368    {
369        var myWindow = window.open("test_scalar_algo/user_params.def", "", "width=400,height=400,left=1500,top=400");
370    }
371    function show_param_test_function() 
372    {
373        var myWindow = window.open("test_function/user_params.def", "", "width=400,height=400,left=1500,top=400");
374    }
375
376
377
378
379
380    function show_param_test_axis_algo_config(config_name) 
381    {
382        var myWindow = window.open("test_axis_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400");
383    }
384    function show_param_test_domain_algo_config(config_name) 
385    {
386        var myWindow = window.open("test_domain_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400");
387    }
388    function show_param_test_grid_algo_config(config_name) 
389    {
390        var myWindow = window.open("test_grid_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400");
391    }
392    function show_param_test_scalar_algo_config(config_name) 
393    {
394        var myWindow = window.open("test_scalar_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400");
395    }
396    function show_param_test_function_config(config_name) 
397    {
398        var myWindow = window.open("test_function/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400");
399    }
400
401
402
403    function show_user_param_test_axis_algo_config(config_name) 
404    {
405        var myWindow = window.open("test_axis_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400");
406    }
407    function show_user_param_test_domain_algo_config(config_name) 
408    {
409        var myWindow = window.open("test_domain_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400");
410    }
411    function show_user_param_test_grid_algo_config(config_name) 
412    {
413
414        var myWindow = window.open("test_grid_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400");
415    }
416    function show_user_param_test_scalar_algo_config(config_name) 
417    {
418        var myWindow = window.open("test_scalar_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400");
419    }
420    function show_user_param_test_function_config(config_name) 
421    {
422        var myWindow = window.open("test_function/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400");
423    }
424</script>
Note: See TracBrowser for help on using the repository browser.