-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprofile.html
204 lines (161 loc) · 10.1 KB
/
profile.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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE HTML>
<html ng-app="profile">
<head>
<meta charset="utf-8" />
<title>Demo HAL</title>
<link rel="icon" type="image/x-icon" href="data/images/favicon.ico"/>
<link rel="shortcut icon" type="image/x-icon" href="data/images/favicon.ico"/>
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css"/>
<link rel="stylesheet" href="bower_components/components-font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="css/anhalytics.css"/>
<script type="text/javascript" src="bower_components/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="bower_components/angular/angular.min.js"></script>
<script type="text/javascript" src="bower_components/elasticsearch/elasticsearch.angular.js"></script>
<script type="text/javascript" src="js/extension.js"></script>
<script src="js/resource/config.js"></script>
<script type="text/javascript" src="js/profile/profile.js"></script>
</head>
<body ng-controller="ProfileController">
<header>
<div class="header-container">
<div class="col-md-2 col-sm-3 col-xs-3 no-padding"><a href=""><img src="data/images/LogoAnhalitycs.png" style="padding-left:5px;padding-top:20px;width:1000px;"></a></div>
<div class="col-md-2 col-sm-3 col-xs-3 no-padding"><a href="https://www.inria.fr" target="_blank"><img src="data/images/logo_INRIA_fr.png" style="padding-left:40px;padding-top:10px;width:200px;"></a></div>
<div class="col-md-2 col-sm-3 col-xs-3 no-padding"><a href="https://hal.archives-ouvertes.fr/" target="_blank"><img src="data/images/hal.logo.png" style="padding-left:40px;padding-top:10px;width:140px;"></a></div>
<div class="col-lg-4 col-md-5 col-sm-5 col-xs-4 no-padding"></div>
</div>
</header>
<div class="container ">
<div class="profile-content">
<div class="row ">
<div class="my-col-8">
<i class="glyphicon glyphicon-user" style="font-size: 5.2em; color:#333;"></i>
<a href="profile/{{profile['_id']}}" style="font-size: 28px;font-weight: 600;margin: 0 0 10px;">{{profile['_source'].names[0]['fullname']}}</a>
<a type="button" class="btn btn-info" href="individual_dashboard.html?authID={{profile['_id']}}" target="_blank" ><span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span> Dashboard</a>
</div>
<div class="my-col-4">
</div>
</div>
<div class="row ">
<div class="my-col-4 sidebar">
<div class="profile-unit">
<div>
<div>
<i style="width: 20px;" class="fa fa-institution">
</i>
<a href="institution.html?orgID={{profile['_source']['affiliations'][profile['_source']['affiliations'].length -1]['organisationId']}}" title="{{profile['_source']['affiliations'][profile['_source']['affiliations'].length -1]['names'][0].name}}" target="_blank">
{{profile['_source']['affiliations'][profile['_source']['affiliations'].length -1]['names'][0].name}}
<span ng-if="profile['_source']['affiliations'][0]['address']">
- {{profile['_source']['affiliations'][0]['address']['settlement']}} - {{profile['_source']['affiliations'][0]['address']['country']}}
</span></a>
</div>
</div>
<div ng-if="profile['_source']['phone']">
<i style="width: 20px;" class="fa fa-phone"></i>
<span>{{profile['_source']['phone']}}</span>
</div>
<div>
<i style="width: 20px;" class="fa fa-envelope">
</i><!--span.txt-color-darken {{ profile.contact.email }}-->
<span >{{profile['_source']['email']}} </span>
</div>
<div ng-if="profile['_source']['identifers']">
<div ng-repeat="identifier in profile['_source']['identifers']">
<span ng-if="identifier.type!=='halAuthorId'"><strong>{{identifier.type}}</strong> : {{identifier.id}}</span></div>
</div>
<div ng-if="profile['_source']['url']">
<i style="width: 20px;" class="fa fa-globe">
</i>
<a href="{{profile['_source']['url']}}" >{{profile['_source']['url']}}</a>
</div>
</div>
</div>
<div class="my-col-4 mainbar">
<div class="profile-research-interests">
<h4>Wikipedia Categories
</h4>
<ul>
<li ng-repeat="interest in interests track by $index">
<div >
<a href="https://en.wikipedia.org/wiki/{{interest}}" target="_blank"> {{interest}}
</a>
</div>
</li>
</ul>
</div>
</div>
<div class="my-col-4 mainbar">
<div class="profile-keywords">
<h4>Keywords
</h4>
<ul >
<li ng-repeat="keyword in keywords track by $index">
<div >
{{keyword}}
</div>
</li>
</ul>
</div>
</div>
</div>
<div class="row ">
<div class="my-col-4 sidebar">
<h2> Co-authors
<!-- <a href="">View all</a> -->
</h2>
<div>
<ul>
<li class="co-author" ng-repeat="coauthor in coauthors">
<div >
<a href="profile.html?authorID={{coauthor['personId']}}">
</a>
<a href="profile.html?authorID={{coauthor['personId']}}">{{coauthor.names[0]['fullname']}}</a>
</div>
</li>
</ul>
</div>
</div>
<div class="my-col-8 mainbar">
<div class="profile-publications">
<h2>Publications
({{profile['_source']['publications'].length}})
<!-- <a href="">View all</a> -->
</h2>
<ul class="pub-list">
<li ng-repeat="pub in publications">
<a class="pdf-icon pull-right" href="http://hal.archives-ouvertes.fr/{{ pub['_source']['uri']}}/document" target="_blank"> </a>
<p class="pub-title">
<span >{{pub['_source']['publication']['type']}}:</span>
<a href="publication.html?pubID={{pub['_id']}}">
<span>{{pub['_source']['publication']['doc_title']}}
</span> </a>
</p>
<p >
<a href="profile.html?authorID={{author['personId']}}" ng-repeat="author in pub['_source']['authors']">{{author.names[0]['fullname']}}, </a>
</p>
<p >{{pub['_source']['publication']['monograph']['title']}}</p>
</li>
</ul>
<ul class="pagination">
<li ng-class="{disabled: currentPage == 0}">
<a href ng-click="prevPage()">« Prev</a>
</li>
<li ng-repeat="n in range(pagedItems.length)"
ng-class="{active: n == currentPage}"
ng-click="setPage()">
<a href ng-bind="n + 1">1</a>
</li>
<li ng-class="{disabled: currentPage == pagedItems.length - 1}">
<a href ng-click="nextPage()">Next »</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<footer>
<p class="small text-muted">© The contributors - 2016 </p>
</footer>
</body>
</html>