-
Notifications
You must be signed in to change notification settings - Fork 0
/
details.generic.html.ftl
69 lines (63 loc) · 2.68 KB
/
details.generic.html.ftl
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- <link rel="stylesheet" href="https://www.ala.org.au/commonui-bs3/css/ala-styles.css"> -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/diff2html/2.0.1/diff2html.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
</head>
<body>
<#-- <#include "navbar.html.ftl"> -->
<#include "details.header.html.ftl">
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">
<div class="panel panel-default">
<div class="panel-body">
<div id="htmldiff">
</div>
</div>
</div>
</div>
<div class="col-sm-12">
<h3>Old result</h3>
<pre>
${oldResult?html}
</pre>
</div>
<div class="col-sm-12">
<h3>New result</h3>
<pre>
${newResult?html}
</pre>
</div>
</div>
<hr>
</div> <!-- /container -->
<#-- <#include "footer.html.ftl"> -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>
window.jQuery || document.write('<script src="js/vendor/jquery-1.11.2.min.js"><\/script>')
</script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/diff2html/2.0.1/diff2html.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/diff2html/2.0.1/diff2html-ui.js"></script>
<script type="text/javascript">
"use strict";
var diffString = "${jsDiff}";
var diff2htmlUi = new Diff2HtmlUI({diff: diffString});
diff2htmlUi.draw('#htmldiff', {
inputFormat: 'json',
outputFormat: 'side-by-side',
showFiles: false,
synchronisedScroll: true,
matching: 'lines'});
</script>
</body>
</html>