Changeset 13850
- Timestamp:
- 05/23/12 21:32:16 (12 years ago)
- Location:
- trunk/FACT++
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/smartfact.cc
r13849 r13850 475 475 return; 476 476 477 const string str = fControlMessageHist.size()>0 ? fControlMessageHist.back() : " <pre> : : </pre>";478 const string time = "<pre>"+d.GetTimeAsStr("%H:%M:%S")+"</pre> ";477 const string str = fControlMessageHist.size()>0 ? fControlMessageHist.back() : " "; 478 const string time = d.GetTimeAsStr("%H:%M:%S "); 479 479 480 480 ostringstream tst; … … 482 482 483 483 string msg; 484 msg += str.substr(0, time.length())==time ? " <pre> </pre>" : time;485 msg += d.Ptr<char>();484 msg += str.substr(0, time.length())==time ? "--:--:-- " : time; 485 msg += "<->"+string(d.Ptr<char>())+"</->"; 486 486 487 487 fControlMessageHist.push_back(msg); -
trunk/FACT++/www/smartfact/index.js
r13849 r13850 1011 1011 form = form.replace(/<([\+-])>/g, "<font size='$11'>"); 1012 1012 form = form.replace(/<\/([#\+-])>/g, "</font>"); 1013 form = form.replace(/([0-9][0-9]):([0-9][0-9]):([0-9][0-9])/g, 1014 "<pre>$1</pre>:<pre>$2</pre>:<pre>$3</pre>"); 1015 form = form.replace(/--:--:--/g, "<pre> </pre> <pre> </pre> <pre> </pre>"); 1013 1016 1014 1017 var newe = document.createElement("div");
Note:
See TracChangeset
for help on using the changeset viewer.