2018-05-30 09:44:09 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<%c++ std::string title=@@.get<std::string>("title");
|
|
|
|
auto para=@@.get<std::map<std::string,std::string>>("parameters");
|
|
|
|
%>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title><%c++ $$<<title;%> </title>
|
2018-05-30 10:00:02 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
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>
|
|
|
|
<td><%c++ $$<<iter.first;%></td>
|
|
|
|
<td><%c++ $$<<iter.second;%></td>
|
|
|
|
</tr>
|
|
|
|
<%c++}%>
|
|
|
|
</table>
|
|
|
|
<%c++ }else{%>
|
|
|
|
<H1>no parameter</H1>
|
|
|
|
<%c++}%>
|
|
|
|
</body>
|
|
|
|
</html>
|