Mercurial > epgrec.yaz
changeset 128:d6a932ac8d8e
mod: 動作の見た目を少し修正
author | Sushi-k <epgrec@park.mda.or.jp> |
---|---|
date | Wed, 17 Mar 2010 20:35:31 +0900 |
parents | 134fced37df5 |
children | 1e93ea03ebd9 |
files | templates/index.html |
diffstat | 1 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/index.html Wed Mar 17 18:14:19 2010 +0900 +++ b/templates/index.html Wed Mar 17 20:35:31 2010 +0900 @@ -142,15 +142,23 @@ (INISet.num_ch)--; $('#ch_title_'+v_hash ).addClass('ch_title_skip'); $('#tv_chs_'+v_hash ).addClass('ch_set_skip'); + $('#ch_title_str_'+v_hash ).addClass('ch_skip_color'); $('#ch_title_'+v_hash+' .ch_skip').html('1'); } else { (INISet.num_ch)++; $('#ch_title_'+v_hash ).removeClass('ch_title_skip'); $('#tv_chs_'+v_hash ).removeClass('ch_set_skip'); + $('#ch_title_str_'+v_hash ).removeClass('ch_skip_color'); $('#ch_title_'+v_hash+' .ch_skip').html('0'); } - if( PRG.F_Skip == 1 ) PRG.chSkipHide(); + if( PRG.F_Skip == 1 ) { + PRG.chSkipHide(); + } + else { + $('#ch_title_bar div.ch_title_skip').show(); + $('#tv_chs div.ch_set_skip').show(); + } } } $('#channelDialog').dialog('close'); @@ -456,7 +464,8 @@ #tvtable div.ch_title, #tvtable div.prg {margin-right:2px;} #tvtable div.ch_title {padding:8px 0px;background-color:#333;color:#DDD;font-weight:bold;text-align:center} -.ch_title_skip {display: none;} +.ch_title_skip { display: none;} +.ch_skip_color { color: red;} .ch_disc {display :none;} .ch_skip {display :none;} @@ -624,7 +633,7 @@ <div class="ch_skip">{$program.skip}</div> <div class="ch_sid">{$program.sid}</div> <div class="ch_name">{$program.station_name}</div> - <div style="cursor: pointer" onClick="javascript:PRG.chdialog('{$program.ch_hash}')" >{$program.station_name}</div> + <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> </div> {/foreach} </div>