-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsingle-05-a.html
174 lines (155 loc) · 5.85 KB
/
single-05-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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!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/layout.css" />
<link rel="stylesheet" type="text/css" href="css/sprites-16.css" />
<link rel="stylesheet" type="text/css" href="css/summary-05.css" />
<link rel="stylesheet" type="text/css" href="css/summary-05-fixed-controls.css" />
</head>
<body>
<div class='margin-left'><!-- margin-left { -->
</div><!-- margin-left } -->
<div class='content-pane'><!-- content-pane { -->
<article id='article' class='loading'></article>
</div><!-- content-pane } -->
<div class='margin-right'><!-- margin-right { -->
<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-normal" type="radio" value="normal"
checked="true" />
<label for="view-normal">normal</label>
<input name="view" id="view-tagged" type="radio" value="tagged" />
<label for="view-tagged">tagged</label>
<input name="view" id="view-starred" type="radio" value="starred" />
<label for="view-starred">starred</label>
</div>
<div class='threshold'>
<label for="threshold" class='primary'>Threshold</label>
<div class='buttons'>
<button name='threshold-all'
title='full document'><div
class='all su-icon su-icon-all' /></button>
<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>
<button name='threshold-reset'
title='reset to original threshold'><div
class='reset su-icon su-icon-reset' /></button>
</div>
<label class='values'></label>
</div>
</div>
</div>
<div class='notes-pane'>
</div>
</div><!-- margin-right } -->
</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>
<script id='tmpl-sentence' type='text/x-jquery-tmpl'>
<div class='sentence' rank='${rank}'>
<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='rank'>${rank}</div>
</div>
<div class='content'></div>
</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-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>
<!-- The BODY of a note (without the outter <div class='note' /> ) -->
<script id='tmpl-note' type='text/x-jquery-tmpl'>
<img class='avatar' src='${note.getAuthor().getAvatarUrl()}' />
<div class='author'>${note.getAuthor().getFullName()}</div>
<div class='created'>${ $.prettyDate(note.getCreated()) }</div>
<div class='comment'>${note.getText()}</div>
<div class='edit'>
<textarea class='edit-comment'></textarea>
<div class='buttons'>
<button name='save'>save</button>
<button name='cancel'>cancel</button>
</div>
</div>
<div class='buttons'>
<button name='edit'>edit</button>
<button name='delete'>delete</button>
</div>
</script>
<!-- The BODY of a notes container
(without the outter <div class='notes' /> ) -->
<script id='tmpl-notes' type='text/x-jquery-tmpl'>
<div class='arrow-outer'></div>
<div class='arrow-inner'></div>
<div class='notes-body'>
<!-- note entries will be placed here -->
</div>
<div class='notes-input-pane'>
<textarea class='notes-reply' title="Reply to this comment..."></textarea>
<div class='buttons'>
<button name='reply'>reply</button>
<button name='cancel'>cancel</button>
</div>
</div>
</script>
<!-- Templates } -->
<script src='js/jquery.min.js'></script>
<script src='js/jquery.utils.js'></script>
<script src='js/jquery.tmpl.min.js'></script>
<script src='js/jquery.json.min.js'></script>
<script src='js/jstorage.min.js'></script>
<script src='js/jquery.delegateHoverIntent.js'></script>
<script src='js/jquery-ui.js'></script>
<script src='js/rangy.js'></script>
<script src='js/rangy/serializer.js'></script>
<script src='js/rangy/cssclassapplier.js'></script>
<script src='js/jquery.user.js'></script>
<script src='js/jquery.notes.js'></script>
<script src='js/ui.notes.js'></script>
<script src='js/jquery.summary-05.js'></script>
<script>
(function($) {
$('#article').summary({
metadata: 'samples/0001.xml'
});
}(jQuery));
</script>
</html>