feature #1664: Fix VM log tab and add error css

This commit is contained in:
Daniel Molina committed 2013-03-12 16:39:30 +01:00
1 parent 20de0b3d94
commit d029e08d40
4 files changed
+12 -3

No files matched your search

+5
View File
@@ -6769,3 +6769,8 @@ a.footer.button {
.dashboard-panel {
height: 517px;
}
/* line 769, ../sass/app.scss */
.vm_log_error {
color: #c0392b;
}
+1 -1
View File
@@ -811,7 +811,7 @@ function updateHostInfo(request,host){
var info_tab = {
title : tr("Information"),
content :
'<div class="row">\
'<div class="">\
<div class="six columns">\
<table id="info_host_table" class="twelve datatable extended_table">\
<thead>\
+2 -2
View File
@@ -374,10 +374,10 @@ var vm_actions = {
if (line.match(/\[E\]/)){
line = '<span class="vm_log_error">'+line+'</span>';
}
colored_log += line + "\n";
colored_log += line + "<br>";
}
$('#vm_log_tab').html('<pre>'+colored_log+'</pre>')
$('#vm_log_tabTab').html('<div class=""><div class="twelve columns">'+colored_log+'</div></div>')
},
error: function(request,error_json){
$("#vm_log pre").html('');
+4
View File
@@ -765,3 +765,7 @@ a.footer.button {
.dashboard-panel {
height: 517px;
}
.vm_log_error {
color: $alertColor;
}