annotate popoto/ismi.html @ 13:394bd5cfc508

new commentaries_authors.html visualisation.
author casties
date Mon, 05 Oct 2015 18:56:19 +0200
parents fa1b4fa5b4f8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
1 <!DOCTYPE html>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
2 <html>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
3
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
4 <head>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
5 <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
6 <title>Popoto Search</title>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
7 <link rel="stylesheet" href="css/popoto.min.css">
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
8 </head>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
9 <body class="ppt-body">
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
10
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
11 <header class="ppt-header">
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
12 <span class="ppt-header-span">POPOTO JS alpha version</span>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
13 </header>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
14
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
15 <section class="ppt-section-main">
5
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
16 <div class="ppt-section-header" style="height: auto; line-height: 35px;">
1
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
17 <span class="ppt-header-span">Graph</span> search
4
72dc19d750ad ADDED: Basic text box implementation for predefined constraints, to be added to in the coming week. nodeProvider, linkProvider additions.
alistair
parents: 1
diff changeset
18 <form>
5
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
19 <table width="100%">
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
20 <tr>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
21 <th>Person Constraints</th>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
22 <th>Codex Constraints</th>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
23 <th>Witness Constraints</th>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
24 </tr>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
25 <tr>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
26 <td>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
27 <label>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
28 <input id="person-constraint" type="text" style="width: 90%;" value='$identifier.label IN [""]'>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
29 </label>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
30 </td>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
31 <td>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
32 <label>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
33 <input id="codex-constraint" type="text" style="width: 90%;" value='$identifier.label IN [""]'>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
34 </label>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
35 </td>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
36 <td>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
37 <label>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
38 <input id="witness-constraint" type="text" style="width: 90%;" value='$identifier.label IN [""]'>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
39 </label>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
40 </td>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
41 </tr>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
42 <tr>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
43 <td>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
44 <label>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
45 <input id="person-constraint2" type="text" style="width: 90%;" value='$identifier.label IN [""]'>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
46 </label>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
47 </td>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
48 <td>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
49 <label>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
50 <input id="codex-constraint2" type="text" style="width: 90%;" value='$identifier.label IN [""]'>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
51 </label>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
52 </td>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
53 <td>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
54 <label>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
55 <input id="witness-constraint2" type="text" style="width: 90%;" value='$identifier.label IN [""]'>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
56 </label>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
57 </td>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
58 </tr>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
59 </table>
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
60 <!-- fill labels conditionally and have a single filter button with one id-->
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
61 <input id="filter-button" type="button" value="Use these filters">
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
62 <input id="clear-button" type="button" value="Reset">
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
63 <!--
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
64 use:
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
65 clickedNode.data = popoto.graph.node.parseResultData(data);
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
66 to get data to use in drop down boxes
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
67 where:
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
68 popoto.graph.node.nodeClick = function () {
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
69 has var:
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
70 var clickedNode = d3.select(this).data()[0]; // Clicked node data
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
71
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
72 note: could just do that for all [i] if not null
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
73 should test to see whether the .data returns the attribute type or the actual attribute
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
74 just console.log results array in popoto.graph.node.parseResultData
fa1b4fa5b4f8 ADDED: Table for person/codex/witness constraint boxes, reset button (currently leaves previous constraints in the text box)
alistair
parents: 4
diff changeset
75 -->
4
72dc19d750ad ADDED: Basic text box implementation for predefined constraints, to be added to in the coming week. nodeProvider, linkProvider additions.
alistair
parents: 1
diff changeset
76 </form>
1
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
77 </div>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
78
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
79 <div class="ppt-container-graph">
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
80 <nav id="popoto-taxonomy" class="ppt-taxo-nav">
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
81 <!-- Label/taxonomy filter will be generated here -->
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
82 </nav>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
83 <div id="popoto-graph" class="ppt-div-graph">
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
84 <!-- Graph will be generated here-->
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
85 </div>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
86 </div>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
87
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
88 <div id="popoto-query" class="ppt-container-query">
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
89 <!-- Query viewer will be generated here -->
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
90 </div>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
91
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
92 <!-- Cypher query viewer has been partially disabled for this alpha release and only display the query as text if enabled -->
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
93 <!--<div id="popoto-cypher" class="ppt-container-cypher">-->
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
94 <!--</div>-->
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
95
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
96 <div class="ppt-section-header">
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
97 <!-- The total results count is updated with a listener defined in app-template.js -->
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
98 RESULTS <span id="result-total-count" class="ppt-count"></span>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
99 </div>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
100
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
101 <div id="popoto-results" class="ppt-container-results">
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
102 <!-- Results will be generated here -->
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
103 </div>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
104
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
105 </section>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
106
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
107 <!---------------------->
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
108 <!-- Required scripts -->
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
109
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
110 <!-- Jquery is only used in popoto.js to send ajax POST request on Neo4j REST API -->
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
111 <!-- This dependency will probably be removed in future releases -->
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
112 <script src="js/jquery-2.1.0.min.js" charset="utf-8"></script>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
113
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
114 <script src="js/d3.v3.min.js" charset="utf-8"></script>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
115 <!-- <script src="js/popoto.min.js" charset="utf-8"></script> -->
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
116 <script src="src/js/popoto.js" charset="utf-8"></script>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
117
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
118 <!-- You can modify the parameters defined in this script to customize this application template -->
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
119 <script src="js/app-ismi.js" charset="utf-8"></script>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
120 </body>
db013b2f3e10 added displayAttribute to show on individual nodes.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
121 </html>