Mercurial > epgrec.yaz
annotate templates/keywordTable.html @ 120:cb04c9ca1cb0
add: チャンネルスキップの追加途中(改造中)
author | yoneda <epgrec@park.mda.or.jp> |
---|---|
date | Sun, 14 Mar 2010 23:49:11 +0900 |
parents | 57676bb30f64 |
children |
rev | line source |
---|---|
1 | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
2 "http://www.w3.org/TR/html4/loose.dtd"> | |
3 | |
4 <html> | |
5 <head> | |
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
7 <title>{$sitetitle}</title> | |
8 <meta http-equiv="Content-Style-Type" content="text/css"> | |
9 | |
10 {literal} | |
11 <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> | |
12 <script type="text/javascript"> | |
13 var PRG = { | |
14 delkey:function(id){ | |
15 $.get(INISet.prgDelKeyURL, { keyword_id: id } ,function(data){ | |
16 if(data.match(/^error/i)){ | |
17 alert(data); | |
18 }else{ | |
19 $('#keyid_' + id).hide(); | |
20 } | |
21 }); | |
22 } | |
23 } | |
24 </script> | |
25 <style type="text/css"> | |
26 <!-- | |
27 body {padding:4px;margin:0;font-size:10pt;} | |
28 a {text-decoration:none;} | |
29 | |
30 table#reservation_table { | |
31 width: 800px; | |
32 border: 1px #BBB solid; | |
33 border-collapse: collapse; | |
34 border-spacing: 0; | |
35 } | |
36 | |
37 table#reservation_table th { | |
38 padding: 5px; | |
39 border: #E3E3E3 solid; | |
40 border-width: 0 0 1px 1px; | |
41 background: #BBB; | |
42 font-weight: bold; | |
43 line-height: 120%; | |
44 text-align: center; | |
45 } | |
46 table#reservation_table td { | |
47 padding: 5px; | |
48 border: 1px #BBB solid; | |
49 border-width: 0 0 1px 1px; | |
50 text-align: center; | |
51 } | |
52 | |
53 table#reservation_table tr.ctg_news, #category_select a.ctg_news {background-color: #FFFFD8;} | |
54 table#reservation_table tr.ctg_etc, #category_select a.ctg_etc {background-color: #FFFFFF;} | |
55 table#reservation_table tr.ctg_information, #category_select a.ctg_information {background-color: #F2D8FF;} | |
56 table#reservation_table tr.ctg_sports, #category_select a.ctg_sports {background-color: #D8FFFF;} | |
57 table#reservation_table tr.ctg_cinema, #category_select a.ctg_cinema {background-color: #FFD8D8;} | |
58 table#reservation_table tr.ctg_music, #category_select a.ctg_music {background-color: #D8D8FF;} | |
59 table#reservation_table tr.ctg_drama, #category_select a.ctg_drama {background-color: #D8FFD8;} | |
60 table#reservation_table tr.ctg_anime, #category_select a.ctg_anime {background-color: #FFE4C8;} | |
61 table#reservation_table tr.ctg_variety, #category_select a.ctg_variety {background-color: #FFD2EB;} | |
62 table#reservation_table tr.ctg_10, #category_select a.ctg_10 {background-color: #E4F4F4;} | |
63 table#reservation_table tr.prg_rec {background-color: #F55;color:#FEE} | |
64 | |
65 | |
66 --> | |
67 </style> | |
68 {/literal} | |
69 | |
70 </head> | |
71 | |
72 <body> | |
73 | |
74 <h2>{$sitetitle}</h2> | |
75 | |
76 | |
77 <div><a href="programTable.php">腟罎膣≪</a>/<a href="reservationTable.php">篋膣筝荀с</a></div> | |
78 | |
79 | |
80 {if count($keywords)} | |
81 <table id="reservation_table"> | |
82 <tr> | |
83 <th>id</th> | |
84 <th>罎膣∵</th> | |
85 <th>罩h頫</th> | |
86 <th>腮</th> | |
87 <th>絮</th> | |
88 <th>眼</th> | |
77 | 89 <th></th> |
106 | 90 <th>紮</ht> |
77 | 91 <th>牙祉≪若</th> |
1 | 92 <th></th> |
93 </tr> | |
94 | |
95 {foreach from=$keywords item=keyword} | |
96 <tr id="keyid_{$keyword.id}"> | |
62
71efa3d98b28
modified: templates/keywordTable.html
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
61
diff
changeset
|
97 <td><a href="recordedTable.php?key={$keyword.id}">{$keyword.id}</a></td> |
61
87ded65fa485
add: keyword link
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents:
1
diff
changeset
|
98 <td><a href="recordedTable.php?key={$keyword.id}">{$keyword.keyword|escape}</a></td> |
1 | 99 <td>{if $keyword.use_regexp}篏帥{else}篏帥{/if}</td> |
100 <td>{$keyword.type}</td> | |
101 <td>{$keyword.channel}</td> | |
102 <td>{$keyword.category}</td> | |
77 | 103 <td>{$keyword.weekofday}</td> |
106 | 104 <td>{$keyword.prgtime}</td> |
77 | 105 <td>{$keyword.autorec_mode}</td> |
1 | 106 <td><input type="button" value="" onClick="javascript:PRG.delkey('{$keyword.id}')" /></td> |
107 </tr> | |
108 {/foreach} | |
109 </table> | |
110 {else} | |
111 若若障 | |
112 {/if} | |
113 | |
114 | |
115 {literal} | |
116 <script type="text/javascript"> | |
117 var INISet = { | |
118 prgDelKeyURL : 'deleteKeyword.php' // 若若 | |
119 } | |
120 </script> | |
121 {/literal} | |
122 </body> | |
123 </html> |