Mercurial > epgrec.yaz
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/logTable.html Sun Mar 21 16:42:58 2010 +0900 @@ -0,0 +1,74 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/html4/loose.dtd"> + +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>{$sitetitle}</title> +<meta http-equiv="Content-Style-Type" content="text/css"> + +{literal} +<style type="text/css"> +<!-- +body {padding:4px;margin:0;font-size:10pt;} +a {text-decoration:none;} + +table#log_table { + width: 800px; + border: 1px #BBB solid; + border-collapse: collapse; + border-spacing: 0; +} + +table#log_table th { + padding: 5px; + border: #E3E3E3 solid; + border-width: 0 0 1px 1px; + background: #BBB; + font-weight: bold; + line-height: 120%; + text-align: center; +} +table#log_table td { + padding: 5px; + border: 1px #BBB solid; + border-width: 0 0 1px 1px; + text-align: center; +} + +table#log_table td.errorlevel0 {background-color: #FFFFFF;} +table#log_table td.errorlevel1 {background-color: red;} + + +--> +</style> +{/literal} + +</head> + +<body> + +<h2>{$sitetitle}</h2> + +<div><a href="index.php">腟茵祉</a></div> + +<table id="log_table"> + <tr> + <th></th> + <th>ユ</th> + <th>絎</th> + </tr> + +{foreach from=$logs item=log} + <tr> + <td class="errorlevel{$log->level}"> + {if $log->level == 0} + {elseif $log->level == 1} + {/if} + </td> + <td>{$log->logtime}</td> + <td>{$log->message|escape}</td> + </tr> +{/foreach} +</body> +</html>