Commit 0a941966 authored by RemyD's avatar RemyD

3.0.2.3

parent 6aa47fa9
......@@ -25,8 +25,8 @@ $liste["item"][] = array( 'field' => "task_status",
'prefix' => "%",
'suffix' => "%",
'width' => "",
'value' => array("success" => '<img src="hosted/medias/ok.png" Alt="OK">',
"error" => '<img src="hosted/medias/Failed.png" Alt="Failed" ">' ));
'value' => array("success" => 'ok',
"error" => 'Failed' ));
$liste["item"][] = array( 'field' => "task_description",
'datatype' => "VARCHAR",
'formtype' => "TEXT",
......
......@@ -26,11 +26,7 @@ $liste["item"][] = array( 'field' => "status_pwr",
'prefix' => "",
'suffix' => "",
'width' => "",
'value' => array(
'1' => '<img src="hosted/medias/ok.png" Alt="OK" >' ,
'0' => '<img src="hosted/medias/Failed.png" Alt="Failed" > '
)
);
'value' => array('1' => "ok", '0' => "Failed"));
$liste["item"][] = array( 'field' => "status_vmw",
'datatype' => "INTEGER",
'formtype' => "SELECT",
......@@ -38,8 +34,7 @@ $liste["item"][] = array( 'field' => "status_vmw",
'prefix' => "",
'suffix' => "",
'width' => "",
'value' => array('3' => '<img src="hosted/medias/ok.png" Alt="OK" >' ,
'1' => '<img src="hosted/medias/Failed.png" Alt="Failed" >' ));
'value' => array('3' => "ok", '1' => "Failed"));
/* DB Others Fileds */
$liste["item"][] = array( 'field' => "client_id",
'datatype' => "INTEGER",
......
......@@ -32,7 +32,7 @@
<tmpl_loop name="records">
<tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
<td class="tbl_col_vmname">{tmpl_var name="vmname"}</a></td>
<td class="tbl_col_task_status">{tmpl_var name="task_status"}</a></td>
<td class="tbl_col_task_status"><img src="hosted/medias/{tmpl_var name="task_status"}.png" ></a></td>
<td class="tbl_col_task_description">{tmpl_var name="task_description"}</a></td>
<td class="tbl_col_start_time">{tmpl_var name="start_time"}</a></td>
<td class="tbl_col_end_date">{tmpl_var name="end_date"}</a></td>
......
......@@ -23,8 +23,8 @@
<tmpl_loop name="records">
<tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
<td class="tbl_col_vmname"><a href="#" data-load-content="hosted/vps_details.php?id={tmpl_var name='id'}">{tmpl_var name="vmname"}</a></td>
<td class="tbl_col_status_pwr"><a href="#" data-load-content="hosted/vps_details.php?id={tmpl_var name='id'}">{tmpl_var name="status_pwr"}</a></td>
<td class="tbl_col_status_vmw"><a href="#" data-load-content="hosted/vps_details.php?id={tmpl_var name='id'}">{tmpl_var name="status_vmw"}</a></td>
<td class="tbl_col_status_pwr"><a href="#" data-load-content="hosted/vps_details.php?id={tmpl_var name='id'}"><img src="hosted/medias/{tmpl_var name="status_pwr"}.png"</a></td>
<td class="tbl_col_status_vmw"><a href="#" data-load-content="hosted/vps_details.php?id={tmpl_var name='id'}"><img src="hosted/medias/{tmpl_var name="status_vmw"}.png"</a></td>
<td class="tbl_col_buttons">
<a href="#" data-load-content="hosted/events_list.php?vmid={tmpl_var name='vmid'}"><img src="hosted/medias/Question.png" alt="Events"></a>
</td>
......
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