Mercurial > epgrec.yaz
comparison templates/index.html @ 128:d6a932ac8d8e
mod: 動作の見た目を少し修正
author | Sushi-k <epgrec@park.mda.or.jp> |
---|---|
date | Wed, 17 Mar 2010 20:35:31 +0900 |
parents | ef3df87f3c7d |
children | 1e93ea03ebd9 |
comparison
equal
deleted
inserted
replaced
127:134fced37df5 | 128:d6a932ac8d8e |
---|---|
140 if( old_skip != n_skip ) { | 140 if( old_skip != n_skip ) { |
141 if( v_skip ) { | 141 if( v_skip ) { |
142 (INISet.num_ch)--; | 142 (INISet.num_ch)--; |
143 $('#ch_title_'+v_hash ).addClass('ch_title_skip'); | 143 $('#ch_title_'+v_hash ).addClass('ch_title_skip'); |
144 $('#tv_chs_'+v_hash ).addClass('ch_set_skip'); | 144 $('#tv_chs_'+v_hash ).addClass('ch_set_skip'); |
145 $('#ch_title_str_'+v_hash ).addClass('ch_skip_color'); | |
145 $('#ch_title_'+v_hash+' .ch_skip').html('1'); | 146 $('#ch_title_'+v_hash+' .ch_skip').html('1'); |
146 } | 147 } |
147 else { | 148 else { |
148 (INISet.num_ch)++; | 149 (INISet.num_ch)++; |
149 $('#ch_title_'+v_hash ).removeClass('ch_title_skip'); | 150 $('#ch_title_'+v_hash ).removeClass('ch_title_skip'); |
150 $('#tv_chs_'+v_hash ).removeClass('ch_set_skip'); | 151 $('#tv_chs_'+v_hash ).removeClass('ch_set_skip'); |
152 $('#ch_title_str_'+v_hash ).removeClass('ch_skip_color'); | |
151 $('#ch_title_'+v_hash+' .ch_skip').html('0'); | 153 $('#ch_title_'+v_hash+' .ch_skip').html('0'); |
152 } | 154 } |
153 if( PRG.F_Skip == 1 ) PRG.chSkipHide(); | 155 if( PRG.F_Skip == 1 ) { |
156 PRG.chSkipHide(); | |
157 } | |
158 else { | |
159 $('#ch_title_bar div.ch_title_skip').show(); | |
160 $('#tv_chs div.ch_set_skip').show(); | |
161 } | |
154 } | 162 } |
155 } | 163 } |
156 $('#channelDialog').dialog('close'); | 164 $('#channelDialog').dialog('close'); |
157 }); | 165 }); |
158 }, | 166 }, |
454 .ch_set_skip { display: none; } | 462 .ch_set_skip { display: none; } |
455 | 463 |
456 | 464 |
457 #tvtable div.ch_title, #tvtable div.prg {margin-right:2px;} | 465 #tvtable div.ch_title, #tvtable div.prg {margin-right:2px;} |
458 #tvtable div.ch_title {padding:8px 0px;background-color:#333;color:#DDD;font-weight:bold;text-align:center} | 466 #tvtable div.ch_title {padding:8px 0px;background-color:#333;color:#DDD;font-weight:bold;text-align:center} |
459 .ch_title_skip {display: none;} | 467 .ch_title_skip { display: none;} |
468 .ch_skip_color { color: red;} | |
460 | 469 |
461 .ch_disc {display :none;} | 470 .ch_disc {display :none;} |
462 .ch_skip {display :none;} | 471 .ch_skip {display :none;} |
463 .ch_sid {display :none;} | 472 .ch_sid {display :none;} |
464 .ch_name {display :none;} | 473 .ch_name {display :none;} |
622 <div class="ch_hash">{$program.ch_hash}</div> | 631 <div class="ch_hash">{$program.ch_hash}</div> |
623 <div class="ch_disc">{$program.channel_disc}</div> | 632 <div class="ch_disc">{$program.channel_disc}</div> |
624 <div class="ch_skip">{$program.skip}</div> | 633 <div class="ch_skip">{$program.skip}</div> |
625 <div class="ch_sid">{$program.sid}</div> | 634 <div class="ch_sid">{$program.sid}</div> |
626 <div class="ch_name">{$program.station_name}</div> | 635 <div class="ch_name">{$program.station_name}</div> |
627 <div style="cursor: pointer" onClick="javascript:PRG.chdialog('{$program.ch_hash}')" >{$program.station_name}</div> | 636 <div id="ch_title_str_{$program.ch_hash}" {if $program.skip == 1 }class="ch_skip_color" {/if} style"="cursor: pointer;" onClick="javascript:PRG.chdialog('{$program.ch_hash}')" >{$program.station_name}</div> |
628 </div> | 637 </div> |
629 {/foreach} | 638 {/foreach} |
630 </div> | 639 </div> |
631 | 640 |
632 <br style="clear:left;" /> | 641 <br style="clear:left;" /> |