-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·156 lines (145 loc) · 6.02 KB
/
Copy pathindex.html
File metadata and controls
executable file
·156 lines (145 loc) · 6.02 KB
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
<!doctype html>
<head>
<title>Neo4j Importer Prototype</title>
<meta charset="UTF-8">
<meta name="description" content="Neo4j importer">
<meta name="author" content="Oskar Bšrjesson">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="css/jquery-ui-1.8.16.custom.css" />
<script src='lib/jquery-1.7.1.min.js'></script>
<script src='lib/ember-0.9.7.1.min.js'></script>
<script src="lib/bootstrap.min.js"></script>
<script src="lib/underscore-min.js"></script>
<script src="lib/jquery-ui1.9m7.min.js"></script>
<script src="jqueryUImixin.js"></script>
<style>
.attribute {
width: 80px;
margin-top:3px;
margin-bottom:3px;
}
</style>
<script data-template-name='node-template' type="text/x-handlebars">
<div class="node span3">
<table class="table-bordered table-condensed">
<thead>
<tr>{{#view App.NodeView.HeaderView}}Node {{parentView.content.id}}{{/view}}
<th>{{view App.DeleteNodeView contentBinding="this"}}</th></tr>
<tr><th>Key</th><th>Value</th><th> </th></thead>
{{#each content.attributes}}
{{view App.AttributeView contentBinding="this"}}
{{/each}}
<tr>
<td colspan="2">
{{#view App.AddAttribute contentBinding="this"}}
<i class="icon-plus"></i><strong>Add Attribute</strong> {{/view}}
</td><td> </td>
</tr>
</table>
</div>
</script>
<script data-template-name='relation-template' type="text/x-handlebars">
<div class="relation span3">
<table class="table-bordered table-condensed">
<thead>
<tr><th colspan="2"> Relation</th>
<th>{{view App.DeleteRelationView contentBinding="this"}}</th></tr>
<tr><th>Type:</th><th>
{{view App.Text valueBinding="content.type"}}</th>
<th> </th></tr>
<tr><th>From</th><th>To</th><th> </th></tr>
<tr><td>{{#view App.Droppable}}{{view App.Text valueBinding="parentView.content.from"}}{{/view}}</td>
<td>{{view App.Text valueBinding="content.to"}}</td>
<td> </td></tr>
<tr><th>Key</th><th>Value</th><th> </th></tr></thead>
{{#each content.attributes}}
{{view App.AttributeView contentBinding="this"}}
{{/each}}
<tr>
<td colspan="2">
{{#view App.AddAttribute contentBinding="this"}}
<i class="icon-plus"></i><strong>Add Attribute</strong> {{/view}}
</td><td> </td>
</tr>
</table>
</div>
</script>
<script data-template-name='attribute-template' type="text/x-handlebars">
<tr>
<td>{{#view App.Text valueBinding="content.key"}}{{/view}}</td>
<td>{{#view App.Text valueBinding="content.value"}}{{/view}}</td>
<td>{{view App.DeleteAttributeView contentBinding="this"}}</td>
</tr>
</script>
<body>
<script type="text/x-handlebars">
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="#">Neo4j Importer</a>
<div class="nav-collapse">
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
{{#view App.AddNode}}<a href="#">Add Node</a>{{/view}}
{{#view App.AddRelation}}<a href="#">Add Relation </a>{{/view}}
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li class="nav-header">Nav header</li>
<li><a href="#">Separated link</a></li>
<li><a href="#">One more separated link</a></li>
</ul>
</li>
</ul>
<form class="navbar-search pull-left" action="">
<input type="text" class="search-query span2" placeholder="Search">
</form>
<ul class="nav pull-right">
<li><a href="#">Link</a></li>
<li class="divider-vertical"></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</li>
</ul>
</div><!-- /.nav-collapse -->
</div>
</div><!-- /navbar-inner -->
</div>
<div class="container">
<div class="row">
<div class="row">
{{#each App.nodeController}}
{{view App.NodeView contentBinding="this"}}
{{/each}}
</div>
<p></p>
<div class="row">
{{#each App.relationController}}
{{view App.RelationView contentBinding="this"}}
{{/each}}
</div>
<div class="row">
{{#view App.Draggable}}Test{{/view}}
{{#view App.Dialog}}Upload your csv-file here{{/view}}
</div>
</div>
</div>
</script>
<!--script src="lib/vendor.js"></script--->
<script src="app.js"></script>
</body>
</html>