Changeset 1776 for XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/xios_report.html
- Timestamp:
- 11/26/19 13:55:31 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/xios_report.html
r1775 r1776 5 5 <link rel="stylesheet" href="xios-style.css"/> 6 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> -->7 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> 8 8 <!-- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/> --> 9 9 <!-- <script> … … 25 25 } 26 26 27 function level1_unfold( ) {28 var ans = document.getElement sByClassName('level2')27 function level1_unfold(my_revision) { 28 var ans = document.getElementById('xiostable_'+my_revision).getElementsByClassName('level2') 29 29 for (var i = 0; i < ans.length; i++) { 30 30 var cell = ans[i] 31 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') 32 document.getElementById(my_revision+"_icon_level1_1").style.display='none'; 33 document.getElementById(my_revision+"_icon_level1_2").style.display='inline'; 34 } 35 } 36 37 38 39 // function level1_unfold() { 40 // var ans = document.getElementsByClassName('level2') 41 // for (var i = 0; i < ans.length; i++) { 42 // var cell = ans[i] 43 // cell.style.display = 'table-row'; 44 // document.getElementById("icon_level1_1").style.display='none'; 45 // document.getElementById("icon_level1_2").style.display='inline'; 46 // } 47 // } 48 49 function level1_fold(my_revision) { 50 var ans = document.getElementById('xiostable_'+my_revision).getElementsByClassName('level2') 39 51 for (var i = 0; i < ans.length; i++) { 40 52 var cell = ans[i] 41 53 cell.style.display = 'none'; 42 document.getElementById( "icon_level1_2").style.display='none';43 document.getElementById( "icon_level1_1").style.display='inline';54 document.getElementById(my_revision+"_icon_level1_2").style.display='none'; 55 document.getElementById(my_revision+"_icon_level1_1").style.display='inline'; 44 56 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) 57 level2_fold(my_revision, algoType) 58 } 59 } 60 61 // function level1_fold() { 62 // var ans = document.getElementsByClassName('level2') 63 // for (var i = 0; i < ans.length; i++) { 64 // var cell = ans[i] 65 // cell.style.display = 'none'; 66 // document.getElementById("icon_level1_2").style.display='none'; 67 // document.getElementById("icon_level1_1").style.display='inline'; 68 // algoType = cell.getAttribute("data-algo-type"); 69 // level2_fold(algoType) 70 // } 71 // } 72 73 function level2_unfold(my_revision, algo_name) { 74 var ans = document.getElementById('xiostable_'+my_revision).getElementsByClassName('level3_'+algo_name) 53 75 for (var i = 0; i < ans.length; i++) { 54 76 var cell = ans[i] 55 77 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.getElement sByClassName('level3_'+algo_name)78 document.getElementById(my_revision+"_icon_level2_"+algo_name+"_1").style.display='none'; 79 document.getElementById(my_revision+"_icon_level2_"+algo_name+"_2").style.display='inline'; 80 } 81 82 } 83 84 function level2_fold(my_revision, algo_name) { 85 var ans = document.getElementById('xiostable_'+my_revision).getElementsByClassName('level3_'+algo_name) 64 86 for (var i = 0; i < ans.length; i++) { 65 87 var cell = ans[i] 66 88 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';89 document.getElementById(my_revision+"_icon_level2_"+algo_name+"_2").style.display='none'; 90 document.getElementById(my_revision+"_icon_level2_"+algo_name+"_1").style.display='inline'; 69 91 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) 92 level3_fold(my_revision, algoconfigType) 93 } 94 95 } 96 97 98 // function level2_unfold(algo_name) { 99 // var ans = document.getElementsByClassName('level3_'+algo_name) 100 // for (var i = 0; i < ans.length; i++) { 101 // var cell = ans[i] 102 // cell.style.display = 'table-row'; 103 // document.getElementById("icon_level2_"+algo_name+"_1").style.display='none'; 104 // document.getElementById("icon_level2_"+algo_name+"_2").style.display='inline'; 105 // } 106 107 // } 108 109 // function level2_fold(algo_name) { 110 // var ans = document.getElementsByClassName('level3_'+algo_name) 111 // for (var i = 0; i < ans.length; i++) { 112 // var cell = ans[i] 113 // cell.style.display = 'none'; 114 // document.getElementById("icon_level2_"+algo_name+"_2").style.display='none'; 115 // document.getElementById("icon_level2_"+algo_name+"_1").style.display='inline'; 116 // algoconfigType = cell.getAttribute("data-algoconfig-type"); 117 // level3_fold(algoconfigType) 118 // } 119 120 // } 121 122 123 function level3_unfold(my_revision, algo_config_name) { 124 var ans = document.getElementById('xiostable_'+my_revision).getElementsByClassName('level4_'+algo_config_name) 79 125 for (var i = 0; i < ans.length; i++) { 80 126 var cell = ans[i] 81 127 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.getElement sByClassName('level4_'+algo_config_name)128 document.getElementById(my_revision+"_icon_level3_"+algo_config_name+"_1").style.display='none'; 129 document.getElementById(my_revision+"_icon_level3_"+algo_config_name+"_2").style.display='inline'; 130 } 131 } 132 133 function level3_fold(my_revision, algo_config_name) { 134 var ans = document.getElementById('xiostable_'+my_revision).getElementsByClassName('level4_'+algo_config_name) 89 135 for (var i = 0; i < ans.length; i++) { 90 136 var cell = ans[i] 91 137 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 } 138 document.getElementById(my_revision+"_icon_level3_"+algo_config_name+"_2").style.display='none'; 139 document.getElementById(my_revision+"_icon_level3_"+algo_config_name+"_1").style.display='inline'; 140 } 141 } 142 143 144 145 // function level3_unfold(algo_config_name) { 146 // var ans = document.getElementsByClassName('level4_'+algo_config_name) 147 // for (var i = 0; i < ans.length; i++) { 148 // var cell = ans[i] 149 // cell.style.display = 'table-row'; 150 // document.getElementById("icon_level3_"+algo_config_name+"_1").style.display='none'; 151 // document.getElementById("icon_level3_"+algo_config_name+"_2").style.display='inline'; 152 // } 153 // } 154 155 // function level3_fold(algo_config_name) { 156 // var ans = document.getElementsByClassName('level4_'+algo_config_name) 157 // for (var i = 0; i < ans.length; i++) { 158 // var cell = ans[i] 159 // cell.style.display = 'none'; 160 // document.getElementById("icon_level3_"+algo_config_name+"_2").style.display='none'; 161 // document.getElementById("icon_level3_"+algo_config_name+"_1").style.display='inline'; 162 // } 163 // } 164 165 96 166 </script> 97 167 … … 109 179 <li><a href="https://forge.ipsl.jussieu.fr/ioserver/wiki" target="_blank">XIOS wiki page</a></li> 110 180 <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>181 <!-- <li><a href="plein_report.txt" target="_blank">Plein Text Report</a>(0:initialized 1:passed -1:failed)</li> --> 112 182 </ul> 113 183 </div> 114 184 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> 185 140 186 </nav> 141 187 <section> … … 149 195 <h2>Results of unit tests</h2> 150 196 151 <!-- <div>152 <input type="checkbox" id="toggle" class="unfolder"/>153 <label for="toggle" class="toggle-label"><span class="unfold-icon">▶</span><span class="fold-icon">▼</span> Title</label>154 155 <div class="fold">156 Content157 </div>158 </div> -->159 197 160 198 199 161 200 <!-- <div id="content"></div> --> 162 <script src="xios_table.js"></script> 201 <form method="post" style="margin-left: 25px;"> 202 <p><label for="revision">Revision : </label> 203 <select name="revision" id="revision"> 204 <option value="0" selected>All revisions ...</option> 205 <script src="xios_src_2.js"></script> 206 <!-- <option value="1775">1775</option> 207 <option value="1774">1774</option> 208 <option value="1773">1773</option> --> 209 </select> 210 </p> 211 </form> 212 213 <ul><li>❌ : Failed</li><li>❎ : Initialized</li><li>✅ : Passed</li></ul> 214 215 <script src="xios_src_1.js"></script> 216 <!-- <script src="xios_table_1775.js"></script> 217 <script src="xios_table_1774.js"></script> 218 <script src="xios_table_1773.js"></script> --> 163 219 164 220 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 221 344 222 … … 353 231 354 232 <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"); 233 function show_param_test_axis_algo(my_revision) 234 { 235 var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_axis_algo/user_params.def", "", "width=400,height=400,left=1500,top=400"); 236 } 237 function show_param_test_domain_algo(my_revision) 238 { 239 var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_domain_algo/user_params.def", "", "width=400,height=400,left=1500,top=400"); 240 } 241 function show_param_test_grid_algo(my_revision) 242 { 243 var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_grid_algo/user_params.def", "", "width=400,height=400,left=1500,top=400"); 244 } 245 function show_param_test_scalar_algo(my_revision) 246 { 247 var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_scalar_algo/user_params.def", "", "width=400,height=400,left=1500,top=400"); 248 } 249 function show_param_test_function(my_revision) 250 { 251 var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_function/user_params.def", "", "width=400,height=400,left=1500,top=400"); 252 } 253 254 255 256 257 258 function show_param_test_axis_algo_config(my_revision, config_name) 259 { 260 var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_axis_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400"); 261 } 262 function show_param_test_domain_algo_config(my_revision, config_name) 263 { 264 var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_domain_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400"); 265 } 266 function show_param_test_grid_algo_config(my_revision, config_name) 267 { 268 var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_grid_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400"); 269 } 270 function show_param_test_scalar_algo_config(my_revision, config_name) 271 { 272 var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_scalar_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400"); 273 } 274 function show_param_test_function_config(my_revision, config_name) 275 { 276 var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_function/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400"); 277 } 278 279 280 281 function show_user_param_test_axis_algo_config(my_revision, config_name) 282 { 283 var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_axis_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400"); 284 } 285 function show_user_param_test_domain_algo_config(my_revision, config_name) 286 { 287 var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_domain_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400"); 288 } 289 function show_user_param_test_grid_algo_config(my_revision, config_name) 290 { 291 292 var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_grid_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400"); 293 } 294 function show_user_param_test_scalar_algo_config(my_revision, config_name) 295 { 296 var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_scalar_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400"); 297 } 298 function show_user_param_test_function_config(my_revision, config_name) 299 { 300 var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_function/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400"); 301 } 302 303 function show_xios_info(my_revision) 304 { 305 ans = document.getElementById('navborder_'+my_revision) 306 if(ans.classList.contains('hide')) 307 { 308 ans.classList.remove('hide') 309 ans.classList.add('show') 310 } 311 else if(ans.classList.contains('show')) 312 { 313 ans.classList.remove('show') 314 ans.classList.add('hide') 315 } 316 else 317 { 318 ans.classList.add('show') 319 } 320 } 321 322 function show_plein_report(my_revision) 323 { 324 var myWindow = window.open("plein_report_"+my_revision+".txt", "_blank"); 423 325 } 424 326 </script> 327 328 329 <script> 330 $("#revision").change(function() { 331 332 if(this.value == 0) 333 { 334 var ans = document.getElementsByClassName('class_xiostable') 335 for (var i = 0; i < ans.length; i++) 336 { 337 cell = ans[i] 338 cell.classList.remove('hide') 339 cell.classList.add('show') 340 } 341 342 // var ans = document.getElementsByClassName('class_navborder') 343 // for (var i = 0; i < ans.length; i++) 344 // { 345 // cell = ans[i] 346 // cell.classList.remove('show') 347 // cell.classList.add('hide') 348 // } 349 } 350 351 else 352 { 353 var ans = document.getElementsByClassName('class_xiostable') 354 for (var i = 0; i < ans.length; i++) 355 { 356 cell = ans[i] 357 cell.classList.remove('show') 358 cell.classList.add('hide') 359 } 360 361 // var ans = document.getElementsByClassName('class_navborder') 362 // for (var i = 0; i < ans.length; i++) 363 // { 364 // cell = ans[i] 365 // cell.classList.remove('show') 366 // cell.classList.add('hide') 367 // } 368 369 var ans = document.getElementById('xiostable_'+this.value) 370 ans.classList.remove('hide') 371 ans.classList.add('show') 372 373 // ans = document.getElementById('navborder_'+this.value) 374 // ans.classList.remove('hide') 375 // ans.classList.add('show') 376 } 377 }); 378 379 </script>
Note: See TracChangeset
for help on using the changeset viewer.