To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit f0ff4713 authored by Reto Da Forno's avatar Reto Da Forno

minor adjustments

parent ecf8f973
......@@ -408,7 +408,7 @@ function store_image($image) {
function validate_test($test_config_file, &$errors) {
global $CONFIG;
$validate_test_errors = array();
$cmd = "python ".$CONFIG['tests']['testmanagementfolder']."/testconfig_validator.py -x " . $test_config_file . " -s xml/flocklab.xsd -u " . $_SESSION['serv_users_key'];
$cmd = "python ".$CONFIG['tests']['testmanagementfolder']."/testconfig_validator.py -x " . $test_config_file . " -s ".$CONFIG['xml']['schemapath']." -u " . $_SESSION['serv_users_key'];
exec($cmd , $output, $ret);
foreach ($output as $error) {
array_push($validate_test_errors, $error);
......
......@@ -169,19 +169,19 @@ echo '<h1>Manage Tests for '.$_SESSION['firstname'] . ' ' . $_SESSION['lastname'
<table id="test_overview" class="tablesorter" style="display:none">
<thead>
<tr>
<th width="40px">ID</th>
<th width="50px">ID</th>
<th width="113px">Title</th>
<th width="135px">Description</th>
<th width="20px" class='qtip_show' title='State'>State</th>
<th width="200px">Start</th>
<th width="200px">End</th>
<th width="60px" class='qtip_show' title='Actions'>Actions</th>
<th width="190px">Start</th>
<th width="190px">End</th>
<th width="70px" class='qtip_show' title='Actions'>Actions</th>
</tr>
</thead>
<tbody>
<?php
$i = 0;
$max_len = 16; // maximum length of text before being cut
$max_len = 50; // maximum length of text before being cut
$js = '';$all = array();
$now = new DateTime();
$now = $now->format('U');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment