gonito/templates/view-variant.hamlet

24 lines
793 B
Plaintext
Raw Normal View History

2019-11-30 08:36:21 +01:00
<div class="media">
<div class="media-left">
<p class="media-object">
<span class="glyphicon glyphicon-asterisk" aria-hidden="hidden">
<div class="media-body">
2020-09-05 23:26:53 +02:00
^{submissionHeader fullSubmissionInfo}
2020-09-05 23:26:53 +02:00
$case tableEntryParams <$> entry
$of OneThing []
$of TwoThings [] []
$of _
2020-09-05 23:26:53 +02:00
^{Table.buildBootstrap paramsTable (mergeEntryParams $ map entityVal <$> (tableEntryParams <$> entry))}
2019-11-30 08:36:21 +01:00
$forall output <- outputs
^{viewOutputWithNonDefaultTestSelected entry tests testSelectedEnt output}
<h3>Compare with other submission
<p>
<form method=post action=@{CompareFormR (current variantId) testId}#form enctype=#{formEnctype}>
^{formWidget}
<button .btn .btn-primary type="submit">
_{MsgCompare} <span class="glyphicon glyphicon-upload"></span>