2018-05-30 09:44:09 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2018-10-05 11:17:12 +00:00
|
|
|
<%c++
|
2019-09-16 02:10:23 +00:00
|
|
|
auto para=@@.get<std::unordered_map<std::string,std::string>>("parameters");
|
2018-05-30 09:44:09 +00:00
|
|
|
%>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2019-04-25 06:36:42 +00:00
|
|
|
<title>[[ title ]]</title>
|
2018-05-30 10:00:02 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2018-10-17 05:48:28 +00:00
|
|
|
<%view header %>
|
2018-05-30 09:44:09 +00:00
|
|
|
<%c++ if(para.size()>0){%>
|
|
|
|
<H1>Parameters</H1>
|
|
|
|
<table border="1">
|
|
|
|
<tr>
|
|
|
|
<th>name</th>
|
|
|
|
<th>value</th>
|
|
|
|
</tr>
|
|
|
|
<%c++ for(auto iter:para){%>
|
|
|
|
<tr>
|
2018-12-07 11:40:47 +00:00
|
|
|
<td>{%iter.first%}</td>
|
2018-05-30 09:44:09 +00:00
|
|
|
<td><%c++ $$<<iter.second;%></td>
|
|
|
|
</tr>
|
|
|
|
<%c++}%>
|
|
|
|
</table>
|
|
|
|
<%c++ }else{%>
|
|
|
|
<H1>no parameter</H1>
|
|
|
|
<%c++}%>
|
|
|
|
</body>
|
|
|
|
</html>
|