-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsingle-03-a.html
129 lines (110 loc) · 4.27 KB
/
single-03-a.html
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<title>Summarization Viewer</title>
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<link rel="stylesheet" type="text/css" href="css/theme/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="css/theme/jquery.ui.slider.css" />
<link rel="stylesheet" type="text/css" href="css/layout.css" />
<link rel="stylesheet" type="text/css" href="css/sprites-16.css" />
<link rel="stylesheet" type="text/css" href="css/summary-03.css" />
<link rel="stylesheet" type="text/css" href="css/summary-03-fixed-controls.css" />
</head>
<body>
<div class='article-pane'>
<article id='article'></article>
</div>
<div class='control-pane ui-corner-bl'>
<div title='toggle controls'
class='toggle-controls su-icon su-icon-wrench'></div>
<div class='controls ui-layout-north'>
<div class='show'>
<label for="show" class='primary'>View</label>
<input name="view" id="view-all" type="radio" value="all" />
<label for="view-all">all</label>
<input name="view" id="view-starred" type="radio" value="starred" />
<label for="view-starred">starred</label>
<input name="view" id="view-normal" type="radio" value="normal"
checked="true" />
<label for="view-normal">normal</label>
</div>
<div class='threshold'>
<label for="threshold" class='primary'>Threshold</label>
<div class='buttons'>
<button name='threshold-down'
title='expand'><div
class='expand su-icon su-icon-expand' /></button>
<button name='threshold-up'
title='collapse'><div
class='collapse su-icon su-icon-collapse' /></button>
</div>
<label class='values'></label>
</div>
<div class='coverage'>
<label for='coverage' class='primary'>Visible Document</label>
<div class='indicator'></div>
</div>
</div>
</div>
</body>
<!-- Templates { -->
<!-- 'keywords' is an array of XML nodes -->
<script id='tmpl-header-keywords' type='text/x-jquery-tmpl'>
<div class='keywords'>
{{each keywords}}
<div class='keyword'
name='${$($value).attr('name')}'
rank='${$($value).attr('rank')}'>${$($value).text()}</div>
{{/each}}
</div>
</script>
<!-- 'node' is a jQuery object encapsulating an XML node -->
<script id='tmpl-sentence-text' type='text/x-jquery-tmpl'>
<span class='text'>${node.text()}</span>
</script>
<!-- 'node' is a jQuery object encapsulating an XML node -->
<script id='tmpl-sentence-keyword' type='text/x-jquery-tmpl'>
<span class='keyword'
name='${node.attr('name')}'>${node.text()}</span>
</script>
<script id='tmpl-sentence-rank' type='text/x-jquery-tmpl'>
<div class='rank'>${rank}</div>
</script>
<script id='tmpl-sentence-controls' type='text/x-jquery-tmpl'>
<div class='controls'><div
class='expand su-icon su-icon-expand' title='expand' /><div
class='star su-icon su-icon-star' title='star' /><div
class='hide su-icon su-icon-cancel' title='hide' /></div>
</script>
<script id='tmpl-selection-controls' type='text/x-jquery-tmpl'>
<div class='selection-controls ui-corner-top'><div
class='tag su-icon su-state-reverse su-icon-tag'
title='tag' /></div>
</script>
<script id='tmpl-selection-remove-controls' type='text/x-jquery-tmpl'>
<div class='selection-controls ui-corner-top'><div
class='remove su-icon su-icon-cancel-blue ui-state-default'
title='remove tag' /></div>
</script>
<!-- Templates } -->
<script src='js/jquery.js'></script>
<script src='js/jquery.tmpl.min.js'></script>
<script src='js/jquery.delegateHoverIntent.js'></script>
<script src='js/jquery-ui.js'></script>
<script src='js/jquery.ui.mouse.js'></script>
<script src='js/jquery.ui.slider.js'></script>
<script src='js/rangy.min.js'></script>
<script src='js/rangy/serializer.min.js'></script>
<script src='js/rangy/cssclassapplier.js'></script>
<script src='js/jquery.summary-03.js'></script>
<script>
(function($) {
$('#article').summary({
src: 'http://www.wired.com/wiredscience/2011/07/the-selfishness-of-trust/',
metadata: 'samples/0001.xml'
});
}(jQuery));
</script>
</html>