Skip to content
Snippets Groups Projects
Commit 203bf310 authored by hahn's avatar hahn
Browse files

- test progress

DO NOT DEPLOY ON LIVE
parent a2682ae6
Branches
No related tags found
No related merge requests found
......@@ -121,7 +121,8 @@ if (!array_key_exists("confirm", $aParams)) {
echo $sLine. "/" . $sProcesses;
if ($sOut){
echo '<div style="margin-left: 3em; border-left: 5px dotted #eee; padding-left: 1em;">'.$sOut.'</div>' . $sLine;
echo '<div style="margin-left: 3em; border-left: 5px dotted #eee; padding-left: 1em;">'
.$sOut.'</div><div style="clear: both;"></div>' . $sLine;
}
die();
}
......
......@@ -822,13 +822,16 @@ class project {
if (count($aActions)){
for($i=0; $i<count($aActions["actions"]); $i++){
$sActions.='<li';
if ($i==$aActions["iCurrent"]){
if ($i==$aActions["iActive"]){
$sActions.=' class="active"';
}
$sActions.='>'.$aActions["actions"][$i]['label'].'</li>';
}
if ($sActions) {
$sData='<div style="float: right"><ul>'.$sActions.'</ol></ol>'.$sData;
$sData='<div style="float: right"><ol class="actions">'
.$sActions
.'</ol></div>'
.$sData;
}
}
return file_put_contents($this->_sProcessTempOut, $sData);
......@@ -860,7 +863,7 @@ class project {
$sReturn = false;
$aActionList=array(
'iCurrent'=>0,
'iActive'=>0,
'actions'=>array(
array('label'=>'cleanup'),
array('label'=>'create workdir'),
......
......@@ -148,3 +148,6 @@ input, textarea {
padding: 1px 2px !important;
}
.btn{margin-bottom: 9px;}
.actions li{color:#aaa;}
.actions li.active{color:#000; font-weight: bold;}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment