Ejemplo n.º 1
0
}
?>
	<?php 
if ($task_type->contributors) {
    foreach (getcsv($task_type->contributors) as $c) {
        ?>
	<oml:contributor><?php 
        echo $c;
        ?>
</oml:contributor>
	<?php 
    }
}
?>
   	<oml:date><?php 
echo dateNeat($task_type->date);
?>
</oml:date>
	<?php 
foreach ($io as $item) {
    if ($item->template_api != null) {
        ?>
		<oml:<?php 
        echo $item->io;
        ?>
 name="<?php 
        echo $item->name;
        ?>
"><?php 
        echo $item->template_api;
        ?>
Ejemplo n.º 2
0
        ?>
<i class="fa fa-cc"></i>
         <?php 
        if (!array_key_exists($this->data['licence'], $this->licences)) {
            echo $this->data['licence'];
        } else {
            $l = $this->licences[$this->data['licence']];
            echo '<a href="' . $l['url'] . '">' . $l['name'] . '</a>';
        }
    }
    ?>
       <i class="fa fa-eye-slash"></i> Visibility: <?php 
    echo strtolower($this->data['visibility']);
    ?>
       <i class="fa fa-cloud-upload"></i> Uploaded <?php 
    echo dateNeat($this->data['date']);
    ?>
 by <a href="u/<?php 
    echo $this->data['uploader_id'];
    ?>
"><?php 
    echo $this->data['uploader'];
    ?>
</a>
       <?php 
    if ($this->is_owner) {
        echo '<i class="fa fa-pencil-square-o"></i> <a href="d/' . $this->id . '/update">Edit</a>';
    }
    ?>
    </div>
Ejemplo n.º 3
0
?>
">Task <?php 
echo $this->run['run_task']['task_id'];
?>
 (<?php 
echo $this->run['run_task']['tasktype']['name'];
?>
)</a> <i class="fa fa-database"></i> <a href="d/<?php 
echo $this->run['run_task']['source_data']['data_id'];
?>
"><?php 
echo $this->run['run_task']['source_data']['name'];
?>
</a>
     <i class="fa fa-cloud-upload"></i> Uploaded <?php 
echo dateNeat($this->run['date']);
?>
 by <a href="u/<?php 
echo $this->run['uploader'];
?>
"><?php 
echo $this->run['uploader'];
?>
</a>
</div>

<?php 
//$this->elasticsearch->index('task',$this->run['run_task']['task_id']);
//$this->elasticsearch->index('run',0);
?>
Ejemplo n.º 4
0
</h1>

<div class="datainfo">
   <?php 
if ($this->flow['licence']) {
    ?>
<i class="fa fa-cc"></i> <?php 
    $l = $this->licences[$this->flow['licence']];
    echo '<a href="' . $l['url'] . '">' . $l['name'] . '</a>';
}
?>
   <i class="fa fa-eye-slash"></i> Visibility: <?php 
echo strtolower($this->flow['visibility']);
?>
   <i class="fa fa-cloud-upload"></i> Uploaded <?php 
echo dateNeat($this->flow['date']);
?>
 by <a href="u/<?php 
echo $this->flow['uploader'];
?>
"><?php 
echo $this->flow['uploader'];
?>
</a>
   <?php 
if ($this->flow['dependencies']) {
    ?>
<i class="fa fa-sitemap"></i> <?php 
    echo $this->flow['dependencies'];
}
?>