Changeset 485 for trunk/phpbms/common
- Timestamp:
- 04/07/09 11:44:18 (3 years ago)
- Location:
- trunk/phpbms/common
- Files:
-
- 1 removed
- 5 modified
- 2 copied
-
javascript/fields.js (modified) (8 diffs)
-
stylesheet/mozilla/menu.css (modified) (1 diff)
-
stylesheet/mozilla/pages/base/snapshot.css (copied) (copied from branches/nathan/common/stylesheet/mozilla/pages/base/snapshot.css)
-
stylesheet/mozilla/pages/bms/incoming_cashflow.css (copied) (copied from branches/nathan/common/stylesheet/mozilla/pages/bms/incoming_cashflow.css)
-
stylesheet/mozilla/pages/info.css (modified) (1 diff)
-
stylesheet/mozilla/pages/login.css (modified) (1 diff)
-
stylesheet/mozilla/pages/requirements.css (modified) (1 diff)
-
stylesheet/mozilla/pages/snapshot.css (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/common/javascript/fields.js
r285 r485 41 41 var thereturn=true; 42 42 var errorMessage=""; 43 43 44 44 //skip validation if cancel 45 45 if (theform["cancelclick"]){ … … 56 56 break; 57 57 } 58 } 59 58 } 59 60 60 //validate required fields first 61 61 for(i=0;i<requiredArray.length;i++){ … … 101 101 } 102 102 } 103 103 104 104 //next phone numbers 105 105 for(i=0;i<phoneArray.length;i++){ … … 133 133 } 134 134 return thereturn; 135 135 136 136 } 137 137 … … 209 209 function validateCurrency(theitem){ 210 210 theitem.value=numberToCurrency(currencyToNumber(theitem.value)); 211 211 212 212 //in case the field has an additional onchange code to be run 213 213 if (theitem.thechange) theitem.thechange(); … … 227 227 if (thenumber.charAt(i)!="%" && thenumber.charAt(i)!="+" && thenumber.charAt(i)!=",") markupnumber+=thenumber.charAt(i); 228 228 } 229 229 230 230 //get rid of trailing zeros and possibly "." 231 231 while(markupnumber.charAt(markupnumber.length-1)=="0" && markupnumber.indexOf(".")!=-1) markupnumber=markupnumber.substring(0,markupnumber.length-1); … … 238 238 239 239 function checkUnique(tabledefid,column,checkvalue,excludeid){ 240 240 241 241 var theurl=APP_PATH+"checkunique.php?tdid="+parseInt(tabledefid); 242 242 theurl=theurl+"&c="+encodeURIComponent(column); … … 246 246 247 247 loadXMLDoc(theurl,null,false); 248 248 249 249 response = req.responseXML.documentElement; 250 250 thevalue = response.getElementsByTagName('isunique')[0].firstChild.data; 251 251 252 252 if(thevalue==1) return true; else return false; 253 253 } -
trunk/phpbms/common/stylesheet/mozilla/menu.css
r442 r485 124 124 125 125 /* ------ Help Page ---- */ 126 #helpBox{height:420px; overflow:auto; background:white} 127 #helpBox h1{margin-top:20px;} 128 #helpClose{width:70px} 126 #helpBox{background:white} 127 #helpClose{ 128 padding-left: 15px; 129 padding-right: 15px; 130 } -
trunk/phpbms/common/stylesheet/mozilla/pages/info.css
r204 r485 1 1 /* $Rev$ | $LastChangedBy$ */ 2 2 /* $LastChangedDate$ */ 3 #container{width:740px; margin:10px auto} 3 #container{ 4 width:740px; margin:10px auto 5 } 6 4 7 #phpBMSLogo{ 5 float:right; 6 background:white url(../../../image/logo-large.png) 10px 10px no-repeat; 7 padding:77px 10px 10px 10px; 8 margin-right:20px; 9 width:250px; 10 text-align:right; 8 float: right; 9 background: white url("../../../image/logo-large.png") 10px 10px no-repeat; 10 padding: 77px 10px 10px 10px; 11 width: 250px; 12 text-align: right; 11 13 } 12 #companyInfo{margin-right:190px;} 13 #loginButton{width:100px;} 14 15 #companyInfo{ 16 margin-right:260px; 17 } 18 19 #loginButton{ 20 padding-right: 15px; 21 padding-left: 15px; 22 } -
trunk/phpbms/common/stylesheet/mozilla/pages/login.css
r285 r485 2 2 /* $LastChangedDate$ */ 3 3 4 .bodyline{display:block;padding:5px;width:300px; margin: 0 auto;} 4 .bodyline{ 5 display: block; 6 padding: 5px; 7 width: 22em; 8 margin: 0 auto; 9 } 10 11 label{ 12 line-height: 1.5em; 13 } 14 5 15 #loginbox{ 6 16 margin:100px auto 50px; 7 17 } 8 18 9 #loginbox h1{font-size:21px;font-weight:bold;background-position:6px 6px;padding-left:28px;color:#455372;} 19 #loginbox h1{ 20 font-size: 21px; 21 font-weight: bold; 22 background-position: 6px 6px; 23 padding-left: 28px; 24 color:#455372; 25 } 10 26 11 #moreinfoButtonP{text-align:left;padding-bottom:5px;} 27 #loginbox .box{ 28 margin:10px 8px 10px; 29 border-style: none; 30 background-color: white; 31 text-align: center; 32 } 12 33 13 #moreinfo{padding:0;} 14 #moreingo p{padding:2px;} 15 #moreinfo h2{margin:0;padding:5px;background:none;height:22px;} 16 #moreinfo h2 a{display:block;width:85px;height:22px;background:url(../../../image/logo.png);} 17 #moreinfo h3{text-align:left;padding:2px 5px 10px;margin:0;border:0;font-weight:normal;font-size:9px; border:0;} 34 #loginbox form{ 35 padding:10px 5px 0; 36 margin:0; 37 } 18 38 19 #buttonP{padding-right:18px;text-align:right;} 20 #buttonP button{padding-left:15px;padding-right:15px;} 21 22 #loginbox .box{ 23 margin:10px 8px 10px; 24 border-style:none; 25 background-color:white; 26 text-align:center; 39 #moreinfoButtonP{ 40 float: left; 41 text-align:left; 42 padding-top: 6px; 27 43 } 28 44 29 #loginbox form{padding:10px 5px 0;margin:0;} 45 #moreinfo{ 46 padding:0; 47 } 30 48 31 #username,#password{width:98%;} 32 #command{width:75px;} 49 #moreinfo p{ 50 padding:2px; 51 } 33 52 34 #failed{text-align:center;margin-top:5px;} 53 #moreinfo h2{ 54 margin: 0; 55 padding: 5px; 56 background: none; 57 height: 22px; 58 } 59 60 #moreinfo h2 a{ 61 display: block; 62 width: 85px; 63 height: 22px; 64 background: url("../../../image/logo.png"); 65 } 66 67 #moreinfo h3{ 68 text-align: left; 69 padding: 2px 5px 10px; 70 margin: 0; 71 border: 0; 72 font-weight: normal; 73 font-size: 9px; 74 border: 0; 75 } 76 77 #buttonP{ 78 text-align:right; 79 } 80 81 #buttonP button{ 82 padding-left: 15px; 83 padding-right: 15px; 84 font-size: 13px; 85 } 35 86 36 87 37 88 38 #demobox{ margin:0 auto;} 39 #demobox h2{margin-top:0;} 40 #demobox dt{font-weight:bold; padding:2px 10px;} 41 #demobox dd{padding-bottom:10px;} 89 #username, #password{ 90 width:99%; 91 font-size: 15px; 92 } 93 94 #command{ 95 width:75px; 96 } 97 98 #failed{ 99 text-align: center; 100 margin-top: 5px; 101 } 102 103 104 #demobox{ 105 margin: 0 auto; 106 } 107 108 #demobox h2{ 109 margin-top:0; 110 } 111 112 #demobox dt{ 113 font-weight:bold; 114 padding:2px 10px; 115 } 116 117 #demobox dd{ 118 padding-bottom: 10px; 119 } -
trunk/phpbms/common/stylesheet/mozilla/pages/requirements.css
r204 r485 1 1 /* $Rev$ | $LastChangedBy$ */ 2 2 /* $LastChangedDate$ */ 3 #container{width:740px; margin:10px auto;} 4 #cba{margin-top:45px;} 5 #logo{ 6 float:right;background:white url(../../../image/logo-large.png) 8px 12px no-repeat; 7 width:260px;height:67px; 3 #container{ 4 width:740px; 5 margin:10px auto; 8 6 } 9 #logo span{display:none;} 10 #browserTable{margin:20px;} 11 #loginButton{width:100px;} 7 8 #browserTable{ 9 width: 100% 10 } 11 12 #loginButton{ 13 padding-left: 10px; 14 padding-right: 10px; 15 }