ken_nogi/Pleasanter/Extended/wwwroot/myScripts/flowTable.html
Kenichiro NOGI ce58cb4be4 初回コミット: dev配下(NodeSrv/Pleasanter等)をGitea管理下に統合
GitHub(nextgroup2706/ken_nogi)は今後使わず自社Gitea運用に切替え。
NodeSrvは旧リポジトリの履歴を破棄しファイルのみ統合(Dokploy用サービスアカウントは
別途mygit-admin/NodeSrv.gitに履歴あり)。notepmエクスポート(12GB)とPleasanter
インストーラzip(208MB)はサイズが大きいため.gitignoreで除外。

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-04 15:37:06 +09:00

143 lines
2.3 KiB
HTML

<!DOCTYPE html>
<html lang="jp">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, user-scalable=yes">
<title>{{flow_title}}</title>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
<script language="javascript">
window.addEventListener('load', function () {
$(".td1").each(function (index, value) {
//console.log(value.innerHTML);
if (value.innerHTML == "★★★") {
$(this).css("color", "blue");
}
})
});
</script>
<style>
body {
font-size: 75%;
}
pre {
margin: 0px;
padding: 0px;
font-size: 1em;
font-family: initial;
}
.pre_wrap {
white-space: pre-wrap;
text-overflow: ellipsis;
break-inside: avoid;
}
table {
width: 100%;
border-collapse: collapse;
border: none;
border-spacing: 0px;
margin: 0px;
}
th,
td {
padding: 5px 15px;
border: 1px solid #555;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
break-inside: avoid;
}
th {
background-color: aquamarine
}
.td1,
.td2,
.td3,
.td4,
.td5 {
text-align: center;
}
.td6 {
white-space: normal;
}
.td1 {
font-size: 1.5em;
color: red;
font-weight: bold;
background-color: ivory;
}
h1,
h2,
h3,
h4 {
margin: 3px 10px;
}
</style>
</head>
<body>
<h1>{{keiyaku_cd}}&nbsp;{{kouji_mei}} 様</h1>
<h2>{{flow_title}}</h2>
<h3 style="color:red">設計契約:{{sekkei_keiyaku}}</h3>
<h3>担当営業:{{eigyo_tanto}}</h3>
<table>
<thead>
<tr>
<th>
承認状況
</th>
<th>
ステータス
</th>
<th>
担当者
</th>
<th>
処理者
</th>
<th>
処理日
</th>
<th>
コメント
</th>
</tr>
</thead>
<tbody>
{{#flowArray}}
<tr>
<td class="td1">{{flow}}</td>
<td class="td2">
{{status}}
</td>
<td class="td3">
<pre>{{tanto_user}}</pre>
</td>
<td class="td4">
<pre>{{{shonin_user}}}</pre>
</td>
<td class="td5">
{{shonin_date}}<br>
{{shonin_time}}
</td>
<td class="td6">
<pre class="pre_wrap">{{{comments}}}</pre>
</td>
</tr>
{{/flowArray}}
</tbody>
</table>
</body>
</html>