www/js/global.js

changeset 209
dc30801e6961
parent 207
f87ff15be531
child 217
318aab371497
equal deleted inserted replaced
208:578c78abf058 209:dc30801e6961
344 344
345 345
346 // options for editors 346 // options for editors
347 347
348 var Spin1dec1 = { 348 var Spin1dec1 = {
349 inputMode: 'simple', 349 inputMode: 'simple', spinMode: 'simple', theme: theme, width: 110, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.1
350 spinMode: 'simple',
351 theme: theme,
352 width: 110,
353 height: 23,
354 min: 0,
355 decimalDigits: 1,
356 spinButtons: true,
357 spinButtonsStep: 0.1
358 }; 350 };
359 var Spin1dec5 = { 351 var Spin1dec5 = {
360 inputMode: 'simple', 352 inputMode: 'simple', spinMode: 'simple', theme: theme, width: 110, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5
361 spinMode: 'simple', 353 };
362 theme: theme, 354 var Spin2dec1 = {
363 width: 110, 355 inputMode: 'simple', spinMode: 'simple', theme: theme, width: 110, height: 23, min: 0, decimalDigits: 2, spinButtons: true, spinButtonsStep: 0.01
364 height: 23, 356 };
365 min: 0, 357 var Spin2dec5 = {
366 decimalDigits: 1, 358 inputMode: 'simple', spinMode: 'simple', theme: theme, width: 110, height: 23, min: 0, decimalDigits: 2, spinButtons: true, spinButtonsStep: 0.05
367 spinButtons: true,
368 spinButtonsStep: 0.5
369 }; 359 };
370 var SpinpH = { 360 var SpinpH = {
371 inputMode: 'simple', 361 inputMode: 'simple', spinMode: 'simple', theme: theme, width: 110, height: 23, min: 1, max: 14, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.1
372 spinMode: 'simple',
373 theme: theme,
374 width: 110,
375 height: 23,
376 min: 1,
377 max: 14,
378 decimalDigits: 1,
379 spinButtons: true,
380 spinButtonsStep: 0.1
381 }; 362 };
382 var Spin2pH = { 363 var Spin2pH = {
383 inputMode: 'simple', 364 inputMode: 'simple', spinMode: 'simple', theme: theme, width: 110, height: 23, min: 1, max: 14, decimalDigits: 2, spinButtons: true, spinButtonsStep: 0.05
384 spinMode: 'simple',
385 theme: theme,
386 width: 110,
387 height: 23,
388 min: 1,
389 max: 14,
390 decimalDigits: 2,
391 spinButtons: true,
392 spinButtonsStep: 0.05
393 }; 365 };
394 var YeastT = { 366 var YeastT = {
395 inputMode: 'simple', 367 inputMode: 'simple', spinMode: 'simple', theme: theme, width: 110, height: 23, min: 0, max: 40, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5
396 spinMode: 'simple',
397 theme: theme,
398 width: 110,
399 height: 23,
400 min: 0,
401 max: 40,
402 decimalDigits: 1,
403 spinButtons: true,
404 spinButtonsStep: 0.5
405 }; 368 };
406 var PosInt = { 369 var PosInt = {
407 inputMode: 'simple', 370 inputMode: 'simple', spinMode: 'simple', theme: theme, width: 110, height: 23, min: 0, decimalDigits: 0, spinButtons: true,
408 spinMode: 'simple',
409 theme: theme,
410 width: 110,
411 height: 23,
412 min: 0,
413 decimalDigits: 0,
414 spinButtons: true,
415 }; 371 };
416 var Perc1dec5 = { 372 var Perc1dec5 = {
417 inputMode: 'simple', 373 inputMode: 'simple', spinMode: 'simple', theme: theme, width: 110, height: 23, min: 0, max: 100, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5
418 spinMode: 'simple',
419 theme: theme,
420 width: 110,
421 height: 23,
422 min: 0,
423 max: 100,
424 decimalDigits: 1,
425 spinButtons: true,
426 spinButtonsStep: 0.5
427 }; 374 };
428 var Perc1dec1 = { 375 var Perc1dec1 = {
429 inputMode: 'simple', 376 inputMode: 'simple', spinMode: 'simple', theme: theme, width: 110, height: 23, min: 0, max: 100, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.1
430 spinMode: 'simple', 377 };
431 theme: theme, 378 var Perc0 = {
432 width: 110, 379 inputMode: 'simple', spinMode: 'simple', theme: theme, width: 110, height: 23, min: 0, max: 100, decimalDigits: 0, spinButtons: true
433 height: 23,
434 min: 0,
435 max: 100,
436 decimalDigits: 1,
437 spinButtons: true,
438 spinButtonsStep: 0.1
439 };
440 var Spin2dec1 = {
441 inputMode: 'simple',
442 spinMode: 'simple',
443 theme: theme,
444 width: 110,
445 height: 23,
446 min: 0,
447 decimalDigits: 2,
448 spinButtons: true,
449 spinButtonsStep: 0.01
450 }; 380 };
451 var Dateopts = { 381 var Dateopts = {
452 theme: theme, 382 theme: theme, width: 150, height: 23, allowNullDate: true, todayString: 'Vandaag', clearString: 'Wissen', showFooter: true,
453 width: 150, 383 formatString: 'yyyy-MM-dd', enableBrowserBoundsDetection: true
454 height: 23,
455 allowNullDate: true,
456 todayString: 'Vandaag',
457 clearString: 'Wissen',
458 showFooter: true,
459 formatString: 'yyyy-MM-dd',
460 enableBrowserBoundsDetection: true
461 }; 384 };
462 385
463 386
464 var sugardensity = 1.611; //kg/l in solution 387 var sugardensity = 1.611; //kg/l in solution
465 388

mercurial