Show
Ignore:
Timestamp:
10/03/07 16:43:01 (5 years ago)
Author:
andi
Message:

design updates

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/openmct/packages/system/owi/src/ftp.c

    r465 r468  
    7575   } else { 
    7676      /* Print error message */ 
    77       owi_headline(1, FTP_HEADLINE); 
     77      owi_headline(3, FTP_HEADLINE); 
    7878      owi_headline(2, FTP_FILE_FAILED); 
    7979   } 
     
    9898 
    9999   /* Print external table for design */ 
    100    printf("<table class=\"%s\">\n" 
    101           "<tr>\n" 
    102           "<td>\n" 
    103           "<h1>%s</h1>\n" 
    104           "<br />%s<br /><br />\n" 
     100   printf("<h3>%s</h3>\n" 
    105101          "<form action=\"%s\" method=\"post\">\n" 
    106102          "<input type=\"hidden\" name=\"module\" value=\"%s\" />\n" 
    107103          "<input type=\"hidden\" name=\"command\" value=\"update\" />\n" 
    108           "<table class=\"%s\" width=\"100%%\" cellspacing=\"0\" cellpading=\"0\">\n" 
     104          "<table class=\"detail\">\n" 
    109105          "<thead>\n" 
    110106          "<tr>\n" 
    111           "<th colspan=\"2\">FTP Konfiguration</th>\n" 
     107          "<th colspan=\"2\">%s</th>\n" 
    112108          "</tr>\n" 
    113109          "</thead>\n", 
    114           CONTENT_TABLE_CLASS, 
    115110          FTP_HEADLINE, 
    116           FTP_DETAIL, 
    117111          getenv("SCRIPT_NAME"), 
    118112          variable_get("module"), 
    119           CONTENT_TABLE_BOX_CLASS); 
     113          FTP_HEADLINE_BOX); 
    120114 
    121115   /* Loop through config file */ 
     
    135129   for (i = 0; ftp_ini[i].variable != NULL; i++) { 
    136130      printf("<tr>\n" 
    137              "<td width=\"250\">%s</td>\n" 
    138              "<td>", ftp_ini[i].description); 
     131             "<td class=\"description\">%s</td>\n" 
     132             "<td class=\"value\">", ftp_ini[i].description); 
    139133      /* valid set? */ 
    140134      if (ftp_ini[i].valid) {