Changeset 17708


Ignore:
Timestamp:
04/28/14 11:48:49 (11 years ago)
Author:
tbretz
Message:
Fixed table layout.
Location:
trunk/FACT++/www/schedule
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/schedule/index.html

    r17701 r17708  
    6868         <table width="100%" id="TableHolder" >
    6969            <tr>
    70                <td style="border:1px solid white; color:palegreen; font-size:14px; font-weight:bold;" align="center"><div id="time"></div></td>
    71                <td style="border:1px solid white; color:palegreen; font-size:14px;" align="center">Measurement</td>
    72                <td style="border:1px solid white; color:palegreen; font-size:14px;" align="center">Source</td>
    73                <td style="border:1px solid white; color:palegreen; font-size:14px;" align="center">Value</td>
     70               <td style="border:1px solid white; color:palegreen; font-size:14px; text-align:center; width:1%; font-weight:bold;" align="center"><div id="time"></div></td>
     71               <td style="border:1px solid white; color:palegreen; font-size:14px; text-align:center; width:1%;">Measurement</td>
     72               <td style="border:1px solid white; color:palegreen; font-size:14px; text-align:center; width:1%;">Source</td>
     73               <td style="border:1px solid white; color:palegreen; font-size:14px; text-align:center; ">Value</td>
    7474            </tr>
    7575         </table>
  • trunk/FACT++/www/schedule/index.js

    r17706 r17708  
    117117
    118118    var td1 = document.createElement("td");
    119     td1.setAttribute("style","white-space:nowrap");
     119    td1.setAttribute("style","white-space:nowrap;padding-left:4px;padding-right:2px;");
    120120    td1.setAttribute("align","center");
    121121    td1.appendChild(input1t);
     
    215215
    216216    var td2 = document.createElement("td");
    217     td1.setAttribute("style","white-space:nowrap");
     217    td2.setAttribute("style","white-space:nowrap;padding-left:2px;padding-right:2px;");
    218218    td2.setAttribute("align","center");
    219219    td2.appendChild(select2);
     
    292292
    293293    var td3 = document.createElement("td");
    294     td3.setAttribute("style","white-space:nowrap");
     294    td3.setAttribute("style","white-space:nowrap;padding-left:2px;padding-right:2px;");
    295295    td3.setAttribute("align","center");
    296296    td3.appendChild(select3);
     
    302302    var input4 = document.createElement("input");
    303303    input4.setAttribute("type","text");
    304     input4.setAttribute("class","selected");
    305     input4.setAttribute("size","63%");
     304    input4.setAttribute("style","width:100%");
    306305    input4.setAttribute("placeholder","JSON object");
    307306    if (row.fData)
     
    311310
    312311    var td4 = document.createElement("td");
    313     //td4.setAttribute("width","50%");
     312    td4.setAttribute("style", "padding-left:2px;padding-right:4px;");
    314313    td4.setAttribute("align","center");
    315314    td4.appendChild(input4);
Note: See TracChangeset for help on using the changeset viewer.