phpBMS

Changeset 198 for trunk/phpbms/common

Show
Ignore:
Timestamp:
03/08/07 15:02:42 (5 years ago)
Author:
brieb
Message:

Minor bug fixes, basic gui reformatting, further progress on scheduler.

Location:
trunk/phpbms/common
Files:
1 added
20 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/common/javascript/common.js

    r193 r198  
    285285                        case "12 Hour": 
    286286                                timeadd=0; 
    287                                 if(sTime.indexOf(" PM")) 
     287                                if(sTime.indexOf(" PM")!=-1) 
    288288                                        timeadd=12; 
    289289                                sTime=sTime.replace(/ AM/,""); 
     
    320320                        case "12 Hour": 
    321321                                var ampm=" AM"; 
     322                                if(hours>11) 
     323                                        ampm=" PM"; 
    322324                                if(hours>12) 
    323325                                        hours=hours-12; 
    324                                 if(hours>11) 
    325                                         ampm=" PM"; 
    326                                 if (hours=0) hours=12; 
     326                                if (hours==0) hours=12; 
    327327                                if(minutes<10) minutes="0"+minutes;                              
    328                                 sTime=hours+sep+minutes+ampm; 
     328                                sTime=""+hours+sep+minutes+ampm; 
    329329                        break; 
    330330                } 
  • trunk/phpbms/common/javascript/login.js

    r145 r198  
     1// Break out of frames if they exist 
    12if(top!=self)top.location=self.location; 
    23 
    3 function setMainFocus(){ 
    4         var focusField=getObjectFromID("username"); 
    5         focusField.focus();              
     4function init(){ 
     5        var username=getObjectFromID("username"); 
     6        var password=getObjectFromID("password"); 
     7        var loginButton=getObjectFromID("loginButton");  
     8         
     9        username.disabled=false; 
     10        password.disabled=false; 
     11        loginButton.disabled=false; 
     12         
     13        username.focus();                
    614} 
  • trunk/phpbms/common/javascript/timepicker.js

    r191 r198  
    9595         
    9696        var thetime=stringToTime(timeField.value); 
     97        if (thetime=="") 
     98                thetime=new Date(); 
    9799        thetime.setHours(hour); 
    98100        timeField.value=timeToString(thetime); 
     
    105107         
    106108        var thetime=stringToTime(timeField.value); 
     109        if (thetime=="") 
     110                thetime=new Date(); 
    107111        thetime.setMinutes(minutes); 
    108112        timeField.value=timeToString(thetime); 
  • trunk/phpbms/common/stylesheet/mozilla/boxes.css

    r191 r198  
    22/* $LastChangedDate$ */ 
    33 
    4 FIELDSET,.bodyline,.box{  
     4fieldset,.bodyline,.box{  
    55        -moz-border-radius:8px; 
    66        border: 1px #E4ECEC outset;  
     
    2020} 
    2121 
    22 FIELDSET,.box{ 
     22fieldset,.box{ 
    2323        border-color:#ACB7C4; 
    2424        border-width:1px; 
     
    2727        padding:5px;             
    2828} 
    29 FIELDSET{padding-top:0px} 
     29fieldset{padding:8px;overflow:hidden;} 
    3030.box{ 
    3131        background-color:#EFF9F9; 
  • trunk/phpbms/common/stylesheet/mozilla/forms.css

    r197 r198  
    110110#dontSubmit{position:absolute;display:none;} 
    111111 
    112 #createmodifiedby{clear:both} 
    113 #savecancel2{float:right;padding:17px 17px 0 0;} 
    114 .fieldCreateModify{width:135px;margin-bottom:2px;} 
    115 #createdbydiv{float:left;padding:0px 2px 0 0;} 
     112#createmodifiedby{clear:both;padding-top:10px;} 
     113#createmodifiedby table{border-collapse:collapse;} 
     114#createmodifiedby table td{background-color:#C1D4D4; font-size:11px; padding:2px 9px 2px 5px;margin:0 1px 1px 0; color:#666666;border-right:3px solid #D5D9DD;} 
     115#createmodifiedby td.cmTitles{background:none; padding-right:5px; padding-left:2px; color:black;} 
     116#cmFirstRow td{border-bottom:3px solid #D5D9DD} 
     117 
     118#savecancel2{float:right;padding-top:12px;} 
  • trunk/phpbms/common/stylesheet/mozilla/pages/client.css

    r176 r198  
    33 
    44#topButtons{float:right;width:200px;} 
    5 #h1Title{margin-right:208px;} 
     5#h1Title{margin-right:230px;} 
    66 
    77#rightSideDiv{clear:both;float:right;width:200px;} 
    8 #leftSideDiv{padding-top:1px;margin-right:208px;} 
     8#leftSideDiv{padding-top:1px;margin-right:230px;} 
    99 
    1010#id, #becameclient, #ds-salesmanagerid, #ccnumber, #ds-taxareaid, #comments{width:98%} 
    1111#type, #category, #leadsource,#paymentmethodid,#shippingmethodid,#discountid,#taxareaid{width:99%} 
    1212 
     13#backtoorderP{padding-top:9px;} 
     14#gotoinvoice{width:100%} 
    1315 
    1416#firstnameP{float:left;} 
  • trunk/phpbms/common/stylesheet/mozilla/pages/clientemail.css

    r165 r198  
    1818#beginprocessing,#done{width:150px;} 
    1919#processP{float:right;width:180px; text-align:right} 
    20 #processTableDiv{margin-right:208px;} 
     20#processTableDiv{margin-right:230px;} 
    2121#clearDiv{clear:both;} 
    2222.noselects{cursor:auto} 
  • trunk/phpbms/common/stylesheet/mozilla/pages/clientemailprojects.css

    r163 r198  
    77#fsID{clear:both;float:right;width:180px;} 
    88#id{width:98%} 
    9 #leftSideDiv{padding-top:1px;margin-right:208px;} 
     9#leftSideDiv{padding-top:1px;margin-right:230px;} 
    1010#fsUser{clear:both;} 
    1111#subject,#body{width:99%} 
  • trunk/phpbms/common/stylesheet/mozilla/pages/files.css

    r165 r198  
    33 
    44#topButtons{float:right;width:200px;} 
    5 #topTitle{margin-right:208px;} 
     5#topTitle{margin-right:230px;} 
    66 
    77#fsAttributes{clear:both;float:right;width:200px;} 
    8 #leftSideDiv{padding-top:1px;margin-right:218px;} 
     8#leftSideDiv{padding-top:1px;margin-right:230px;} 
    99 
    1010#id,#content{width:98%} 
  • trunk/phpbms/common/stylesheet/mozilla/pages/invoice.css

    r193 r198  
    1717#printButton input{width:75px;} 
    1818 
     19#address1,#address2,#country,#leadsource{width:364px;} 
     20 
    1921#fsAttributes{clear:both;float:right;width:260px;} 
    2022#attributesRight{float:right;padding-top:0px;} 
    2123#type{width:90px} 
    22 #leadsource,#statusid{width:98%} 
     24#statusid{width:98%} 
    2325#ds-assignedtoid{width:99%} 
    2426 
     
    2931#countryP{clear:left;} 
    3032 
    31 #divLineItems{clear:both;padding:8px;} 
     33#lineItemsFS{clear:both;} 
    3234 
    3335#LITable{} 
  • trunk/phpbms/common/stylesheet/mozilla/pages/invoicestatuses.css

    r184 r198  
    44#topButtons{float:right;width:160px;} 
    55#h1Title{margin-right:160px;} 
    6 #fsAttributes{clear:both;float:right;width:150px;margin:0;padding:0;} 
     6#fsAttributes{clear:both;float:right;width:150px;} 
    77#id{width:90%} 
    8 #nameDiv{margin-right:165px;} 
     8#nameDiv{margin-right:185px;} 
  • trunk/phpbms/common/stylesheet/mozilla/pages/menus.css

    r145 r198  
    88#id{width:98%} 
    99 
    10 #leftSideDiv{margin-right:208px;} 
     10#leftSideDiv{margin-right:230px;} 
    1111#details{clear:both;} 
    1212.typeP{float:left;padding-right:20px} 
  • trunk/phpbms/common/stylesheet/mozilla/pages/notes.css

    r145 r198  
    2828.repeatWeekChecks{margin-right:10px;} 
    2929#rpmobdt{margin-bottom:5px;} 
     30#content{width:99%} 
    3031 
  • trunk/phpbms/common/stylesheet/mozilla/pages/paymentmethods.css

    r176 r198  
    44#topButtons{float:right;width:160px;} 
    55#h1Title{margin-right:160px;} 
    6 #fsAttributes{clear:both;float:right;width:150px;margin:0;padding:0;} 
     6#fsAttributes{clear:both;float:right;width:150px;} 
    77#id{width:90%} 
    8 #nameDiv{margin-right:165px;} 
     8#nameDiv{margin-right:185px;} 
  • trunk/phpbms/common/stylesheet/mozilla/pages/productcategories.css

    r145 r198  
    22/* $LastChangedDate$ */ 
    33 
    4 #topButtons{float:right;width:160px;} 
    5 #h1Title{margin-right:160px;} 
    6 #fsAttributes{clear:both;float:right;width:150px;margin:0;padding:0;} 
     4#topButtons{float:right;width:180px;} 
     5#h1Title{margin-right:190px;} 
     6#fsAttributes{clear:both;float:right;width:180px;} 
    77#id{width:90%} 
    8 #nameDiv{margin-right:165px;} 
    9 #fsDescription{clear:both;} 
     8#leftDiv{margin-right:210px;} 
     9#description{width:99%} 
  • trunk/phpbms/common/stylesheet/mozilla/pages/products.css

    r145 r198  
    99#memo{width:98%;height:255px;} 
    1010 
    11 #leftsideDiv{margin-right:208px;padding-top:1px;} 
     11#leftsideDiv{margin-right:230px;padding-top:1px;} 
    1212#description{width:99%} 
    1313.costsP{float:left;padding-top:3px;} 
  • trunk/phpbms/common/stylesheet/mozilla/pages/roles.css

    r176 r198  
    88#id{width:98%} 
    99 
    10 #leftSideDiv{margin-right:208px;padding-top:1px;} 
     10#leftSideDiv{margin-right:230px;padding-top:1px;} 
    1111#description{width:98%} 
    1212 
  • trunk/phpbms/common/stylesheet/mozilla/pages/snapshot.css

    r146 r198  
    11/* $Rev$ | $LastChangedBy$ */ 
    22/* $LastChangedDate$ */ 
    3  
    4 /* The following lines is put in  until the site is reformatted*/ 
    5 LABEL{display:inline;margin:0;padding:0} 
    6 DIV{padding:0;margin:0;} 
    7 P,.fauxP{margin:0;padding:0 5px 10px;} 
    8 .alt{display:none;} 
    9 .bodyline{display:block;} 
    10 /* The following lines is put in  until the site is reformatted*/ 
     3#systemMessageContainer{padding:10px;} 
     4#systemMessageContainer h2{margin:0 0 5px 0;padding:0 0 0px 0;} 
     5.systemMessageLinks{font-size:12px; border-bottom:1px solid #DDDDDD; cursor:pointer; margin:5px 5px 0px; padding:3px;} 
     6.systemMessageLinks:hover{background-color:#DDDDDD} 
     7.systemMessageLinks span{color:#666666; font-size:11px; padding:0 0 0 4px;} 
     8.systemMessages p{padding:8px;margin:0 5px 5px;background:white;} 
    119 
    1210 
    13 #systemMessageContainer h2{margin:0 0 5px 0;padding:0 0 0px 0;} 
    14 .systemMessageLinks{font-size:12px; border-bottom:1px dotted #CCCCCC; cursor:pointer; margin:5px 5px 0px; padding:3px;} 
    15 .systemMessageLinks:hover{background-color:#DDDDDD} 
    16 .systemMessageLinks span{color:#666666; font-size:11px; padding:0 0 0 4px;} 
    17 .systemMessages p{border:1px dotted #CCCCCC;border-top:0;padding:8px;margin:0 5px 5px;background:white;} 
    18  
    19  
    20 #eventsBox{vertical-align:top} 
     11#eventsBox{vertical-align:top;padding:10px;} 
    2112#eventsBox h2{margin:0; padding:0} 
    2213#todaysDate{float:right;padding:2px 0 0 0;margin:0;} 
    2314 
    24 #tasksBox{vertical-align:top} 
     15#tasksBox{vertical-align:top;padding:10px;} 
    2516#tasksBox h2{margin:0 0 5px; padding:0} 
    2617#tasksBox h3{ 
     
    4738.event{padding:4px;padding-bottom:6px;} 
    4839 
     40#bmsBox {padding:10px;} 
    4941#bmsBox button{display:block;float:right;margin:2px 2px 0 0;} 
    5042#bmsBox h2{margin:0 0 4px;} 
  • trunk/phpbms/common/stylesheet/mozilla/pages/usersearches.css

    r158 r198  
    1010 
    1111#sqlclause{width:99%} 
     12 
     13#savecancel2{text-align:right;float:none;} 
  • trunk/phpbms/common/stylesheet/mozilla/sizes.css

    r191 r198  
    3434        font-family: Arial, Helvitica, sans-serif; 
    3535} 
    36 LEGEND {margin-top:0px;} 
     36LEGEND {margin-top:0px; font-size:14px;} 
    3737H2{ 
    3838        border-bottom: 1px solid #ccc; 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.