Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
fun to_html(db: OpportunityDB): Streamable do
var t = new Template
t.add """
+<div class="container">
<div class="page-header">
<center><h1>{{{name}}}</h1></center>
"""
<td><center><span id="add_{{{id}}}" onclick="add_part(this)" style="color:green;" class="action"><button class="btn btn-xs btn-success" type="button">Done</button></span></center></td>"""
t.add "</tr>"
t.add "</table>"
+ t.add "</div>"
return t
end
end
<div class="page-header">
<center><h1>Congratulations !</h1></center>
</div>
+ <div class="container">
<p class="text-center">
<h2> Your meetup was successfully created. </h2>
<p>
See you soon for more Opportunities !
</p>
</p>
+ </div>
"""
end