| 48 | | "<div id=\"navigation-outer\">Navigation</div>\n" |
| 49 | | "<div id=\"navigation-inner\">\n" |
| 50 | | "<ul id=\"navigation\">\n", title); |
| 51 | | for (i = 0; modules[i].name != NULL; i++) { |
| 52 | | printf("<li class=\"navigation %s\"><a href=\"%s?module=%s\">%s</a></li>\n", |
| 53 | | modules[i].style, |
| 54 | | getenv("SCRIPT_NAME"), |
| 55 | | modules[i].name, |
| 56 | | modules[i].description); |
| | 48 | "<table class=\"main\">\n" |
| | 49 | "<tr>\n" |
| | 50 | "<td class=\"logo\"><h1>OpenMCT</h1></td>\n" |
| | 51 | "<td class=\"description\"><h2>Administration Interface</h2></td>\n" |
| | 52 | "<td class=\"domain\" align=\"right\">domainname</td>\n" |
| | 53 | "</tr>\n" |
| | 54 | "<tr>\n" |
| | 55 | "<td class=\"navigation\">\n" |
| | 56 | "<table>\n", |
| | 57 | title); |
| | 58 | for (i = 0; modules[i].description != NULL; i++) { |
| | 59 | printf("<tr><td>\n"); |
| | 60 | if (modules[i].main) { |
| | 61 | printf("<a href=\"%s?module=%s\">%s</a>\n", |
| | 62 | getenv("SCRIPT_NAME"), |
| | 63 | modules[i].name, |
| | 64 | modules[i].description); |
| | 65 | } else { |
| | 66 | printf("%s", modules[i].description); |
| | 67 | } |
| | 68 | printf("</td></tr>\n"); |
| 58 | | printf("</ul>\n" |
| 59 | | "</div>\n" |
| 60 | | /*"<div id=\"toolbar\">\n" |
| 61 | | "<a href=\"user.cgi?command=new\">Neu</a>\n" |
| 62 | | "<a href=\"user.cgi?command=csv\">CSV</a>\n" |
| 63 | | "</div>\n"*/ |
| 64 | | "<div id=\"taskbar\">\n" |
| 65 | | "<a class=\"button-internet\" target=\"_blank\" href=\"http://www.openmct.org\">OpenMCT Homepage</a>\n" |
| 66 | | "<a class=\"button-community\" target=\"_blank\" href=\"http://forum.openmct.org\">OpenMCT Forum</a>\n" |
| 67 | | "<a class=\"button-contact\" href=\"mailto:dev@openmct.org\">OpenMCT Kontakt</a>\n" |
| 68 | | "</div>\n" |
| 69 | | "<div id=\"content\">\n"); |
| | 70 | printf("</table>\n" |
| | 71 | "</td>\n" |
| | 72 | "<td class=\"content\">\n"); |