-
Notifications
You must be signed in to change notification settings - Fork 1
/
crossRefSara.html
executable file
·100 lines (93 loc) · 4.56 KB
/
crossRefSara.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>CrossRef Rewrite</title>
<!-- Stylesheet Imports -->
<link rel="stylesheet" href="lib/css/bootstrap.min.css" />
<!-- Javascript Imports -->
<script src="lib/js/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="lib/js/jquery-ui-1.10.4.js" type="text/javascript"></script>
<script src="lib/js/bootstrap.min.js" type="text/javascript"></script>
<script src="lib/js/mustache.js" type="text/javascript"></script>
<script src="lib/js/angular.min.js" type="text/javascript"></script>
<script src="crossRef.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/Users/sarazhang/crossref/crossRef.css">
</head>
<body ng-app="crossRef" ng-controller="crossRefCtrl">
search {{selected}}
<input auto-complete ui-items="labels" ng-model="selected">
<br><br>
<b>Idea Sources:</b><br>
1 - Occurrences<br>
2 - Hyponyms<br>
3 - User Evaluations<br>
4 - Related Terms<br>
5 - First-order Relations
<br>
<br>
<b>Thinker Sources:</b><br>
1 - Occurrences<br>
1 - Related Thinkers
<br><br>Cross Reference for <!--{{sep_dir}} and--> <span style="font-weight: bold">{{entity.label}}</span>
<br><div style="width:600px;float:left;">
<table class="table table-striped table-bordered table-hover table-condensed">
<thead>
<tr>
<td style="width: 30px;" ng-show="showIdeaCol(1);">1</td>
<td style="width: 30px;" ng-show="showIdeaCol(2);">2</td>
<td style="width: 30px;" ng-show="showIdeaCol(3);">3</td>
<td style="width: 30px;" ng-show="showIdeaCol(4);">4</td>
<td style="width: 30px;" ng-show="showIdeaCol(5);">5</td>
<td style="width: 100%;"></td>
</tr>
</thead>
<tbody>
<tr ng-repeat="idea in ideas">
<td style="width: 30px;" ng-show="showIdeaCol(1);">{{idea.col0}}</td>
<td style="width: 30px;" ng-show="showIdeaCol(2);">{{idea.col1}}</td>
<td style="width: 30px;" ng-show="showIdeaCol(3);">{{idea.col2}}</td>
<td style="width: 30px;" ng-show="showIdeaCol(4);">{{idea.col3}}</td>
<td style="width: 30px;" ng-show="showIdeaCol(5);">{{idea.col4}}</td>
<td style="width: 100%;">
<a ng-click="getThisEntity(idea.sep_dir)">{{idea.label}}</a><br>
<img ng-src="/Users/sarazhang/crossref/lib/img/check.gif"><a ng-href="https://inpho.cogs.indiana.edu/idea/{{idea.ID}}" />InPho Entry</a><br>
<img ng-src="/Users/sarazhang/crossref/lib/img/sepmanicon.png">
<a ng-href="http://plato.stanford.edu/entries/{{idea.sep_dir}}" />Stanford Entry</a>
</td>
</tr>
</tbody>
</table>
</div>
<div style="width:600px;float:right;">
<table class="table table-striped table-bordered table-hover table-condensed">
<thead>
<tr>
<td style="width: 30px;" ng-show="showThinkerCol(1);">1</td>
<td style="width: 30px;" ng-show="showThinkerCol(2);">2</td>
<td style="width: 30px;" ng-show="showThinkerCol(3);">3</td>
<td style="width: 30px;" ng-show="showThinkerCol(4);">4</td>
<td style="width: 100%;"></td>
</tr>
</thead>
<tbody>
<tr ng-repeat="thinker in thinkers">
<td style="width: 30px;" ng-show="showThinkerCol(1);">{{thinker.col0}}<br>
</td>
<td style="width: 30px;" ng-show="showThinkerCol(2);">{{thinker.col1}}
</td>
<td style="width: 30px;" ng-show="showThinkerCol(3);">{{thinker.col2}}
</td>
<td style="width: 30px;" ng-show="showThinkerCol(4);">{{thinker.col3}}
</td>
<td style="width: 100%;">
<a ng-click="getThisEntity(thinker.sep_dir)">{{thinker.label}}</a><br>
<img ng-src="/Users/sarazhang/crossref/lib/img/check.gif"><a ng-href="https://inpho.cogs.indiana.edu/thinker/{{thinker.ID}}" />InPho Entry</a><br>
<img ng-src="/Users/sarazhang/crossref/lib/img/sepmanicon.png">
<a ng-href="http://plato.stanford.edu/entries/{{thinker.sep_dir}}" />Stanford Entry</a>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>