Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
minor html
  • Loading branch information
dwight committed Jul 19, 2010
1 parent 452a187 commit b2897d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/dbwebserver.cpp
Expand Up @@ -216,14 +216,14 @@ namespace mongo {

ss << "\n<table border=1 cellpadding=2 cellspacing=0>";
ss << "<tr align='left'>"
<< "<th>Client</th>"
<< "<th>OpId</th>"
<< th( a("", "Connections to the database, both internal and external.", "Client") )
<< th( a("http://www.mongodb.org/display/DOCS/Viewing+and+Terminating+Current+Operation", "", "OpId") )
<< "<th>Active</th>"
<< "<th>LockType</th>"
<< "<th>Waiting</th>"
<< "<th>SecsRunning</th>"
<< "<th>Op</th>"
<< "<th>NameSpace</th>"
<< th( a("http://www.mongodb.org/display/DOCS/Developer+FAQ#DeveloperFAQ-What%27sa%22namespace%22%3F", "", "Namespace") )
<< "<th>Query</th>"
<< "<th>client</th>"
<< "<th>msg</th>"
Expand Down
3 changes: 3 additions & 0 deletions util/mongoutils/html.h
Expand Up @@ -51,6 +51,9 @@ namespace mongoutils {
inline string td(string x) {
return "<td>" + x + "</td>";
}
inline string th(string x) {
return "<th>" + x + "</th>";
}

inline string table(const char *headers[] = 0, bool border = true) {
stringstream ss;
Expand Down

0 comments on commit b2897d8

Please sign in to comment.