| | |
| | | return '#911005'; |
| | | case 9: |
| | | return '#4682B4'; |
| | | default: |
| | | return '#CDAF95'; |
| | | } |
| | | } |
| | | function getRectColor2(state) { |
| | | switch (state) { |
| | | case 2: |
| | | case 2: |
| | | return 'lightblue'; |
| | | case 8: |
| | | return '#911005'; |
| | | case 9: |
| | | return '#4682B4'; |
| | | default: |
| | | return '#CDAF95'; |
| | | } |
| | | } |
| | | function getRectColora(state) { |
| | |
| | | case 1: |
| | | return '#95d475'; |
| | | case -1: |
| | | return '#CDAF95'; |
| | | return '#99BBFF'; |
| | | case 8: |
| | | return '#911005'; |
| | | case 9: |
| | | return '#4682B4'; |
| | | default: |
| | | return '#CDAF95'; |
| | | } |
| | | } |
| | | function getRectColorb(state) { |
| | |
| | | return '#911005'; |
| | | case 9: |
| | | return '#4682B4'; |
| | | default: |
| | | return '#CDAF95'; |
| | | } |
| | | } |
| | | function showDialog1(rect) { |