view templates/logTable.html @ 149:5b192e94f49d

fix: 予約済み定数を使ってしまったミスを修正。エラーレベルに警告を追加
author epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
date Sat, 27 Mar 2010 16:04:54 +0900
parents 481e789605e3
children
line wrap: on
line source

<!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: yellow;}
table#log_table td.errorlevel2 {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}茘
    {elseif $log->level == 2}
    {/if}
  </td>
  <td>{$log->logtime}</td>
  <td>{$log->message|escape}</td>
 </tr>
{/foreach}
</body>
</html>