-
Notifications
You must be signed in to change notification settings - Fork 0
/
diagramValidation.vm
36 lines (36 loc) · 977 Bytes
/
diagramValidation.vm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<html>
<head>
<link href="../../css/bootstrap.css" rel="stylesheet" type="text/css"/>
<link href="../../css/style.css" rel="stylesheet" type="text/css"/>
<title>
$title
</title>
</head>
<body>
<div class="row">
<div class="span8 offset2">
<h2>Errors & Warnings</h2>
<table class="table table-bordered">
<thead>
<tr>
<td>Message</td>
<td>Diagram</td>
</tr>
</thead>
<tbody>
#foreach( $entry in $entries )
#if ($entry.getType().toString() == "WARNING")
<tr class="warning">
#{else}
<tr class="error">
#end
<td>$entry.getMessage()</td>
<td>$entry.getDiagram().getName()</td>
</tr>
#end
</tbody>
</table>
</div>
</div>
</body>
</html>