comparison templates/logTable.html @ 142:481e789605e3

mod: EPGの更新と同時に予約情報を更新するように変更、ログビューアの追加
author epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
date Sun, 21 Mar 2010 16:42:58 +0900
parents
children 5b192e94f49d
comparison
equal deleted inserted replaced
136:6754b6aa50cf 142:481e789605e3
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 <style type="text/css">
12 <!--
13 body {padding:4px;margin:0;font-size:10pt;}
14 a {text-decoration:none;}
15
16 table#log_table {
17 width: 800px;
18 border: 1px #BBB solid;
19 border-collapse: collapse;
20 border-spacing: 0;
21 }
22
23 table#log_table th {
24 padding: 5px;
25 border: #E3E3E3 solid;
26 border-width: 0 0 1px 1px;
27 background: #BBB;
28 font-weight: bold;
29 line-height: 120%;
30 text-align: center;
31 }
32 table#log_table td {
33 padding: 5px;
34 border: 1px #BBB solid;
35 border-width: 0 0 1px 1px;
36 text-align: center;
37 }
38
39 table#log_table td.errorlevel0 {background-color: #FFFFFF;}
40 table#log_table td.errorlevel1 {background-color: red;}
41
42
43 -->
44 </style>
45 {/literal}
46
47 </head>
48
49 <body>
50
51 <h2>{$sitetitle}</h2>
52
53 <div><a href="index.php">腟茵祉</a></div>
54
55 <table id="log_table">
56 <tr>
57 <th></th>
58 <th>ユ</th>
59 <th>絎</th>
60 </tr>
61
62 {foreach from=$logs item=log}
63 <tr>
64 <td class="errorlevel{$log->level}">
65 {if $log->level == 0}
66 {elseif $log->level == 1}
67 {/if}
68 </td>
69 <td>{$log->logtime}</td>
70 <td>{$log->message|escape}</td>
71 </tr>
72 {/foreach}
73 </body>
74 </html>